Retrieve Base blockchain block data by number via x402 micropayment
What it does
This endpoint returns block information for the Base blockchain (eip155:8453) given a block number. It is served by Erudite Intelligence LLC through their EruditePay x402 Bridge, which acts as a payment facilitator supporting 20 blockchains. The endpoint accepts POST requests with a JSON body specifying the chain, and returns block data in JSON format.
Payment is required per-call via the x402 protocol (HTTP 402 challenge). The endpoint accepts two payment options: USDC on Base (eip155:8453) at 10,000 base units ($0.01 given USDC's 6 decimals), or USDT on Tron (tron:728126428) at 10,000 base units ($0.01). Payment is facilitated through the Coinbase CDP x402 facilitator for the Base option. The provider is a FinCEN-registered MSB (BSA ID 31000324258137) operating in a non-custodial manner with direct settlement routing.
The endpoint description in the x402 challenge is "Crypto data intelligence," and the schema indicates the request body should include a "chain" field (string) specifying the blockchain network. The response format wraps results in a `{"success": true, "data": {}}` envelope. Documentation at docs.eruditepay.com is referenced on the landing page but the /docs path on the bridge itself returns a 404, so detailed field-level documentation for the block-by-number endpoint is not available from the crawled material.
Capabilities
Use cases
- —Fetching specific block details on the Base blockchain by block number
- —Building blockchain explorers or analytics dashboards that need per-block data
- —Agents that need on-demand Base chain block information with pay-per-call pricing
- —Monitoring Base chain activity programmatically
Fit
Best for
- —AI agents needing on-demand Base blockchain block data without subscriptions
- —Developers who want pay-per-call blockchain data at $0.01 per request
- —Applications requiring x402-native crypto data endpoints
Not for
- —High-volume block scanning where per-call costs would accumulate (consider a dedicated RPC node)
- —Querying non-Base blockchains (this endpoint is chain-specific to Base)
- —Users who need free or API-key-based blockchain data access
Quick start
curl -X POST https://bridge.eruditepay.com/v1/base/block/by-number \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_header>" \
-d '{"chain": "base", "blockNumber": 12345678}'Example
Request
{
"chain": "base",
"blockNumber": 12345678
}Response
{
"data": {},
"success": true
}Endpoint
Quality
The endpoint is live (402 challenge captured) with clear pricing and a bazaar schema, but documentation is very sparse—no field-level docs for the block-by-number endpoint, the example response is an empty stub, and the docs URL returns 404. The request body schema only documents the 'chain' field; 'blockNumber' is inferred from the endpoint path name but not confirmed in the schema.
Warnings
- —No detailed documentation available for this specific endpoint; docs.eruditepay.com is referenced but not crawlable, and /docs on the bridge returns 404
- —The example response in the bazaar schema is a stub with an empty data object—actual response structure is unknown
- —The request body field 'blockNumber' is inferred from the endpoint path '/block/by-number' but is not present in the provided schema
- —The bazaar schema only specifies 'chain' as a body property; additional required fields are undocumented
Citations
- —Endpoint returns 402 with x402 v2 challenge accepting USDC on Base and USDT on Tron at 10,000 base units eachhttps://bridge.eruditepay.com/v1/base/block/by-number
- —USDC on Base uses 6 decimals, so 10,000 base units = $0.01https://bridge.eruditepay.com
- —Provider is Erudite Intelligence LLC, FinCEN MSB registered with BSA ID 31000324258137https://bridge.eruditepay.com
- —EruditePay Bridge supports 20 blockchains and operates non-custodiallyhttps://bridge.eruditepay.com
- —Payment facilitated via Coinbase CDP x402 facilitator for Base chain optionhttps://bridge.eruditepay.com/v1/base/block/by-number