get
https://public-api.birdeye.so/defi/v3/txs/latest-block
Retrieve the latest block number of trades on a chain
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Latest trade-observed block number for a chain.
- Use this endpoint to anchor polling, freshness checks, or lag detection for trade-indexed data.
- Response is just the latest block number Birdeye has indexed for trade data on that chain.
- Standard
- Lite
- Starter
- Premium
- Business
- Enterprise
Solana
Compute Unit ⚙️
- This endpoint consumes
1 CUper request.
Use Cases 💡
- Detect whether downstream trade consumers are caught up to current chain activity.
- Build health checks for ingestion lag or polling drift.
- Use as a reference point before paginating recent trade ranges.
How to Use 🛠️
- Set the chain header for the supported network.
- Compare the returned block number with your last processed or stored checkpoint.
Best Practices ✅
- Poll this lightly as a liveness indicator instead of using heavier trade endpoints for simple freshness checks.
- Store the returned block number alongside recent trade sync jobs.
Limitations ⚠️
- Solana only.
