Paid AI-agent access to Blockchain.com Explorer API
api.blockchain.info/explorer-gateway-kt/x402/charts/avg-block-size
Paid AI-agent access to Blockchain.com Explorer API
POST
https://api.blockchain.info/explorer-gateway-kt/x402/charts/avg-block-sizeUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.blockchain.info/explorer-gateway-kt/x402/charts/avg-block-size", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"cors":false,"format":"json","metadata":false,"rollingAverage":"8h","sampled":true,"timespan":"1y"}),
});
console.log(await res.json());Example input
{
"cors": false,
"format": "json",
"metadata": false,
"rollingAverage": "8h",
"sampled": true,
"timespan": "1y"
}More from Blockchain.info API
- api.blockchain.info/explorer-gateway-kt/x402/bch/addressPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/bch/address/transactionsPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/bch/blockPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/bch/block/transactionsPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/bch/blocksPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/bch/broadcastPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/bch/transactionPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/bch/transactionsPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/btc/addressPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/btc/address/transactionsPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/btc/blockPaid AI-agent access to Blockchain.com Explorer API0.005
- api.blockchain.info/explorer-gateway-kt/x402/btc/block/transactionsPaid AI-agent access to Blockchain.com Explorer API0.005
