Current token prices for up to 10 tokens per call, on any chain: address as <chain>:<addre
Current token prices for up to 10 tokens per call, on any chain: address as <chain>:<address> (base:0x…, ethereum:0x…) or coingecko:<id> for majors. Aggregated market price with a confidence score and timestamp, from DefiLlama's open price engine. $0.002 — priced for agents that check before every trade.
2000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-06
updated
Provider
agentbit.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x4395C7e383b7e05665aad7f36ed77c01923Dd965",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"description": "Token price lookup built for high-frequency agent use. Ask for up to 10 tokens in one call, addressed exactly how agents hold them: <chain>:<contract-address> for anything on Base, Ethereum, Arbitrum, Optimism, Polygon, Solana and 100+ other chains, or coingecko:<id> for majors (coingecko:ethereum, coingecko:bitcoin). Each answer carries the aggregated USD price, symbol, decimals, a CONFIDENCE score (how solid the price source mix is — thin DEX-only pricing scores lower) and the price timestamp, with unknown tokens listed separately in missing[] instead of failing the whole call. Source is DefiLlama's open price engine, which aggregates DEX and CEX sources. At $0.002 per call (first call free for new wallets, volume discounts advertised in every 402), it is priced to be called before every trade decision. Pairs with token-risk (is this token safe?) and stablecoin-stats (is my settlement currency on peg?).",
"errors": [
{
"code": "PAYMENT_REQUIRED",
"description": "Missing or invalid payment — retry with a valid PAYMENT-SIGNATURE header",
"retryable": true,
"status": 402
},
{
"code": "VALIDATION_ERROR",
"description": "Request body does not match the input schema",
"retryable": false,
"status": 422
},
{
"code": "RATE_LIMITED",
"description": "Too many requests from this client",
"retryable": true,
"status": 429
},
{
"code": "UPSTREAM_TIMEOUT",
"description": "Upstream data source unavailable — safe to retry",
"retryable": true,
"status": 502
}
],
"input": {
"body": {
"tokens": [
"base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"coingecko:ethereum"
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"networks": [
"eip155:8453"
],
"output": {
"example": {
"found": 2,
"missing": {},
"prices": [
{
"as_of": "2026-09-06T14:00:00+00:00",
"confidence": 0.99,
"decimals": 6,
"price_usd": 0.9998,
"symbol": "USDC",
"token": "base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
{
"as_of": "2026-09-06T14:00:00+00:00",
"confidence": 0.99,
"decimals": null,
"price_usd": 4123.55,
"symbol": "ETH",
"token": "coingecko:ethereum"
}
],
"source": "DefiLlama coins API (aggregated market price with confidence score)"
},
"type": "json"
},
"pricing": {
"amount": 0.002,
"currency": "USDC",
"firstCallFree": true,
"model": "per-call",
"quoteHint": "Send your wallet address in an X-BUYER-WALLET header on the unpaid request to receive your personalized (volume-discounted) quote.",
"volumeDiscounts": [
{
"minCalls30d": 100,
"percent": 10
},
{
"minCalls30d": 1000,
"percent": 20
}
]
},
"reliability": {
"measuredAt": "2026-09-06T14:47:19+00:00",
"p50LatencyMs": 149,
"p95LatencyMs": 149,
"sampleSize": 1,
"successRatePercent": 100,
"windowDays": 30
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"description": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"type": "string"
},
"description": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"status": {
"type": "integer"
}
},
"required": [
"status",
"code"
],
"type": "object"
},
"type": "array"
},
"input": {
"additionalProperties": false,
"properties": {
"body": {
"description": "Token Price input. Current token prices for up to 10 tokens per call, on any chain: address as <chain>:<address> (base:0x…, ethereum:0x…) or coingecko:<id> for majors. Aggregated market price with a confidence score and timestamp, from DefiLlama's open price engine. $0.002 — priced for agents that check before every trade.",
"properties": {
"token": {
"description": "Single token: <chain>:<address> or coingecko:<id>",
"type": "string"
},
"tokens": {
"description": "Up to 10 tokens per call",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"queryParams": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"networks": {
"items": {
"type": "string"
},
"type": "array"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"pricing": {
"properties": {
"amount": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"firstCallFree": {
"type": "boolean"
},
"maxAmount": {
"type": "number"
},
"model": {
"type": "string"
},
"quoteHint": {
"type": "string"
},
"volumeDiscounts": {
"items": {
"properties": {
"minCalls30d": {
"type": "integer"
},
"percent": {
"type": "number"
}
},
"required": [
"minCalls30d",
"percent"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"reliability": {
"properties": {
"measuredAt": {
"type": "string"
},
"p50LatencyMs": {
"type": [
"integer",
"null"
]
},
"p95LatencyMs": {
"type": [
"integer",
"null"
]
},
"sampleSize": {
"type": "integer"
},
"successRatePercent": {
"type": "number"
},
"windowDays": {
"type": "integer"
}
},
"required": [
"successRatePercent",
"sampleSize",
"windowDays"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://agentbit.app/v1/defi/price" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agentbit.app/v1/defi/price");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://agentbit.app/v1/defi/price")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/10982.json, and this resource appears in /discovery/resources and /discovery/search.