BL
Agent Service · 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
{
"hash": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"
}Output example
{
"example": {
"aggregates": {},
"bits": 0,
"coinbaseTx": {},
"fees": 0,
"hash": "string",
"height": 0,
"mainchain": true,
"merkle": "string",
"nonce": 0,
"outputs": 0,
"previous": "string",
"size": 0,
"subsidy": 0,
"time": 0,
"txCount": 0,
"txs": [
"value"
],
"version": 0,
"weight": 0,
"work": "string"
},
"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/33423.jsonfor the price and payment options. - Pay. Call
GET https://api.blockchain.info/explorer-gateway-kt/x402/btc/block. 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.003 / 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.003 | 0x995ffeF6c39234F0bBc95cf0E84FE1B6e6e2d8e0 | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x995ffeF6c39234F0bBc95cf0E84FE1B6e6e2d8e0",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913",
"amount": "3000",
"amountUsd": 0.003,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"aggregates": {
"type": "object"
},
"bits": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"coinbaseTx": {
"type": [
"object",
"null"
]
},
"fees": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"hash": {
"type": "string"
},
"height": {
"format": "int64",
"type": "integer"
},
"mainchain": {
"type": "boolean"
},
"merkle": {
"type": [
"string",
"null"
]
},
"nonce": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"outputs": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"previous": {
"type": [
"string",
"null"
]
},
"size": {
"type": [
"integer",
"null"
]
},
"subsidy": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"time": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"txCount": {
"type": "integer"
},
"txs": {
"type": "array"
},
"version": {
"type": [
"integer",
"null"
]
},
"weight": {
"type": [
"integer",
"null"
]
},
"work": {
"type": [
"string",
"null"
]
}
},
"required": [
"hash",
"height",
"mainchain",
"txCount",
"aggregates"
],
"type": "object"
},
"format": {
"const": "application/json"
},
"type": {
"const": "json"
}
},
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"aggregates": {},
"bits": 0,
"coinbaseTx": {},
"fees": 0,
"hash": "string",
"height": 0,
"mainchain": true,
"merkle": "string",
"nonce": 0,
"outputs": 0,
"previous": "string",
"size": 0,
"subsidy": 0,
"time": 0,
"txCount": 0,
"txs": [
"value"
],
"version": 0,
"weight": 0,
"work": "string"
},
"format": null,
"type": null
}Examples
curl
curl -X POST 'https://api.blockchain.info/explorer-gateway-kt/x402/btc/block' -H 'Content-Type: application/json' --data '{"hash":"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREJavaScript
const res = await fetch("https://api.blockchain.info/explorer-gateway-kt/x402/btc/block", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"hash\":\"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f\"}"
});
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
import json
res = httpx.request("POST", "https://api.blockchain.info/explorer-gateway-kt/x402/btc/block", json=json.loads("{\"hash\":\"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f\"}"))
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/btc/block
- Machine-readable
/resources/33423.json