BL
Utilities · x402 · early usage
Paid AI-agent access to Blockchain.com Explorer API
Paid AI-agent access to Blockchain.com Explorer API
by api.blockchain.info · discovered, not yet claimed by its owner · updated 2026-10-08
30d calls3
30d payers3
MethodPOST
Outputjson
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Paid AI-agent access to Blockchain.com Explorer API
Tags: ai-agent · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-08
Input example from Bazaar metadata
{
"limit": 10,
"network": "ETH"
}Output example
{
"example": {
"blocks": [
{
"blockId": 0,
"blockReward": "string",
"difficulty": "string",
"extraData": "string",
"gasLimit": 0,
"gasUsed": 0,
"hash": "string",
"internalTransactionCount": 0,
"logsBloom": "string",
"miner": "string",
"nonce": "string",
"parentHash": "string",
"sha3Uncles": "string",
"size": 0,
"stateRoot": "string",
"staticReward": "string",
"timestamp": 0,
"totalDifficulty": "string",
"totalFees": "string",
"totalUncleReward": "string",
"transactionCount": 0,
"transactionsRoot": "string"
}
],
"currentBlockId": 0
},
"format": null,
"type": null
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/33432.jsonfor the price and payment options. - Pay. Call
GET https://api.blockchain.info/explorer-gateway-kt/x402/eth/blocks. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 3 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0x995ffeF6c39234F0bBc95cf0E84FE1B6e6e2d8e0 | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x995ffeF6c39234F0bBc95cf0E84FE1B6e6e2d8e0",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"blocks": {
"items": {
"properties": {
"blockId": {
"format": "int64",
"type": "integer"
},
"blockReward": {
"type": [
"string",
"null"
]
},
"difficulty": {
"type": [
"string",
"null"
]
},
"extraData": {
"type": [
"string",
"null"
]
},
"gasLimit": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"gasUsed": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"hash": {
"type": [
"string",
"null"
]
},
"internalTransactionCount": {
"type": [
"integer",
"null"
]
},
"logsBloom": {
"type": [
"string",
"null"
]
},
"miner": {
"type": [
"string",
"null"
]
},
"nonce": {
"type": [
"string",
"null"
]
},
"parentHash": {
"type": [
"string",
"null"
]
},
"sha3Uncles": {
"type": [
"string",
"null"
]
},
"size": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"stateRoot": {
"type": [
"string",
"null"
]
},
"staticReward": {
"type": [
"string",
"null"
]
},
"timestamp": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"totalDifficulty": {
"type": [
"string",
"null"
]
},
"totalFees": {
"type": [
"string",
"null"
]
},
"totalUncleReward": {
"type": [
"string",
"null"
]
},
"transactionCount": {
"type": [
"integer",
"null"
]
},
"transactionsRoot": {
"type": [
"string",
"null"
]
}
},
"required": [
"blockId"
],
"type": "object"
},
"type": "array"
},
"currentBlockId": {
"format": "int64",
"type": "integer"
}
},
"required": [
"currentBlockId",
"blocks"
],
"type": "object"
},
"format": {
"const": "application/json"
},
"type": {
"const": "json"
}
},
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"blocks": [
{
"blockId": 0,
"blockReward": "string",
"difficulty": "string",
"extraData": "string",
"gasLimit": 0,
"gasUsed": 0,
"hash": "string",
"internalTransactionCount": 0,
"logsBloom": "string",
"miner": "string",
"nonce": "string",
"parentHash": "string",
"sha3Uncles": "string",
"size": 0,
"stateRoot": "string",
"staticReward": "string",
"timestamp": 0,
"totalDifficulty": "string",
"totalFees": "string",
"totalUncleReward": "string",
"transactionCount": 0,
"transactionsRoot": "string"
}
],
"currentBlockId": 0
},
"format": null,
"type": null
}Examples
curl
curl "https://api.blockchain.info/explorer-gateway-kt/x402/eth/blocks"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidJavaScript
const res = await fetch("https://api.blockchain.info/explorer-gateway-kt/x402/eth/blocks");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.blockchain.info/explorer-gateway-kt/x402/eth/blocks")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.blockchain.info
- Endpoint
- https://api.blockchain.info/explorer-gateway-kt/x402/eth/blocks
- Machine-readable
/resources/33432.json