Crypto OHLCV candles
GET https://x402-catalog-history.ai-business-surface.workers.dev/candles
Listed in PayAI
OHLCV candles for one crypto pair from Coinbase Exchange in one GET: time, open, high, low, close and volume, newest first, with the source URL and fetch time. curl: GET /candles?pair=BTC-USD&granularity=3600&limit=24 (granularity 60|300|900|3600|21600|86400 seconds, default 3600; limit 1-300, default 24; pair defaults to BTC-USD). Response: {"pair":"BTC-USD","granularity_seconds":3600,"count":24,"candles":[{"unix":1792670400,"time":"2026-10-22T12:00:00.000Z","open":81656.69,"high":81816.21,"low":81605.44,"close":81746.7,"volume":95.50529109}],"source":{"name":"Coinbase Exchange","http_status":200,"latency_ms":210}}. The exchange is read once after payment; a pair it does not list is a 502 and is not charged. 0.005 USDC, no account, no key, one GET, one delivery. A purchase is two calls by design: this first call returns 402 with the price and the payment terms, and you then repeat the same request with the PAYMENT-SIGNATURE header to receive the 200 delivery.
Other endpoints from x402-catalog-history.ai-business-surface.workers.dev
The same service's other paid functions that Hagglyai tracks, each with its own price. Functions outside Hagglyai's categories are not listed.
| Endpoint | Category | Price per call |
|---|---|---|
| GET /gas | On-chain data | $0.001 |
| GET /markdown | Web page extraction | $0.01 |
| GET /news | News | $0.005 |
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X GET "https://x402-catalog-history.ai-business-surface.workers.dev/candles"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseEstimated calls per day
Paid calls to x402-catalog-history.ai-business-surface.workers.dev's tracked endpoints each day, estimated from the 30-day totals the x402 catalogues report. Each bar is the change in that 30-day total since the day before, plus the calls that left the 30-day window (taken as an average day). It is an estimate: Hagglyai does not measure or pay for these calls.
No usage reported for any of 4 tracked endpoints. Unknown usage is left out, not counted as zero.
Compared with other providers
Coverage matters: a provider whose endpoints report more of their usage can rank higher.
| # | Provider | Reported 30-day calls | Coverage |
|---|---|---|---|
| 1 | blockrun.ai | 91,738 | 30 of 36 endpoints |
| 2 | agent.pocket.network | 5,217 | 14 of 25 endpoints |
| 3 | api.onesource.io | 5,175 | 27 of 29 endpoints |
| 4 | agent402.tools | 3,528 | 147 of 232 endpoints |
| 5 | api.solenrich.com | 2,563 | 7 of 12 endpoints |
| 6 | svm402.com | 2,202 | 1 of 1 endpoint |
| 7 | x402.ottoai.services | 1,502 | 28 of 32 endpoints |
| 8 | api.kadec0.xyz | 1,435 | 12 of 12 endpoints |
