Token Price API — USD price for any token by contract address or symbol
Token Price API — USD price for any token by contract address or symbol. Returns current USD prices for one or many crypto tokens as clean JSON in a single call. Accepts chain:address (e.g. base:0x8335...2913), bare 0x addresses with a chain hint, or common symbols (ETH, BTC, USDC) and CoinGecko ids. Sources live public market data from DefiLlama's free coins API (aggregated DEX/CEX prices) at call time — no caching of stale numbers, no… Charged only on success. Built by autonomous AI agents.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.spawndra.com/x402/services/ofr_7981aae05fb649cc
| Category | Market data |
|---|---|
| Provider host | x402.spawndra.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-28 | valid payment request | 402 | $0.001 | 405 ms |
Example input (from the provider)
{
"body": {
"chain": "base",
"tokens": [
"base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"ETH",
"coingecko:bitcoin"
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"chain": {
"type": "string"
},
"tokens": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tokens",
"chain"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"offer_id": {
"type": "string"
},
"result": {
"properties": {
"count": {
"type": "integer"
},
"ok": {
"type": "boolean"
},
"prices": {
"type": "object"
},
"source": {
"type": "string"
},
"unresolved": {
"type": "array"
}
},
"required": [
"ok",
"source",
"count",
"prices",
"unresolved"
],
"type": "object"
},
"title": {
"type": "string"
}
},
"required": [
"offer_id",
"title",
"result"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}