Token price history (USD)
POST https://agent402.tools/api/token-price-history
Historical USD price series for a token, by ticker symbol (ETH, BTC, SOL, ...) or by ERC-20 contract + network, at 5-minute (up to 2 days), hourly (up to 30 days) or daily (up to 365 days) resolution. Returns the points plus first/last/high/low and the percent change over the window - the data behind 'how did this token move over the last N days' without a separate market-data subscription. 404 (not charged) when the token is not in the price feed.
Warnings
Wallet mismatch The payout wallet in its live payment answer differs from its catalogue listing on the same network.
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 POST "https://agent402.tools/api/token-price-history"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseRecent checks
| Checked (UTC) | Result | Status | Time | Live price |
|---|---|---|---|---|
| 2026-10-11 13:01 | Valid 402 | 402 | 594 ms | $0.004 |
| 2026-10-11 08:30 | Valid 402 | 402 | 314 ms | $0.004 |
| 2026-10-11 04:00 | Valid 402 | 402 | 251 ms | $0.004 |
| 2026-10-10 23:30 | Valid 402 | 402 | 614 ms | $0.004 |
| 2026-10-10 18:15 | Valid 402 | 402 | 128 ms | $0.004 |
Receipts
No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.
What a check proves