Batch chain checks API
horizonpulse.dev/api/batch
Batch chain checks API: up to 10 checks for one payment. POST JSON {items:[{route, params}]} (or GET items=<same JSON>); route one of balance, gas, tx-status, token/meta, chain/head, name/resolve; params are the single route's query keys. Returns JSON: results [{index, route, status, ok, body}] in request order, count, okCount. Each item runs the single route's handler. Bad input or every item fai
GET
https://horizonpulse.dev/api/batchUptime100% of 2 checks in 30 days
30 days agoToday
Call it from an agent
curl -i "https://horizonpulse.dev/api/batch?items=%5B%7B%22route%22%3A%22chain%2Fhead%22%2C%22params%22%3A%7B%22network%22%3A%22base%22%7D%7D%2C%7B%22route%22%3A%22gas%22%2C%22params%22%3A%7B%7D%7D%5D" # 402 Payment Required comes back with the price and where to pay. # Any x402 client pays and retries.
Example input
{
"items": "[{\"route\":\"chain/head\",\"params\":{\"network\":\"base\"}},{\"route\":\"gas\",\"params\":{}}]"
}