Spot USD price for any crypto asset
Spot USD price for any crypto asset. Accepts a ticker symbol (eth, btc, sol), a CoinGecko id (ethereum), or an EVM token contract address. Returns the USD price plus 24h change, with market cap for listed assets, or liquidity, 24h volume and the top DEX pair for contract addresses. Cached 60 seconds so repeated calls in one agent workflow stay consistent with each other.
2000 (raw units)
price
8
calls / 30d
4
unique payers
2026-09-09
updated
Provider
chain.cyberwarex.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x058D0Cc5CC97e61e8A9f38D6d6365bce525921B2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"query": "eth"
},
"type": "http"
},
"output": {
"example": {
"change_24h_pct": -1.87,
"coingecko_id": "ethereum",
"market_cap_usd": 385204119883,
"price_usd": 3194.51,
"query": "eth",
"source": "coingecko"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"chain": {
"default": "base",
"description": "EVM chain to query.",
"enum": [
"base",
"ethereum",
"arbitrum",
"optimism",
"polygon"
],
"type": "string"
},
"query": {
"description": "Ticker symbol, CoinGecko id, or 0x token contract address.",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"change_24h_pct": {
"type": [
"number",
"null"
]
},
"coingecko_id": {
"type": "string"
},
"liquidity_usd": {
"description": "Only for contract-address queries.",
"type": "number"
},
"market_cap_usd": {
"type": [
"number",
"null"
]
},
"price_usd": {
"type": [
"number",
"null"
]
},
"query": {
"type": "string"
},
"source": {
"description": "coingecko or dexscreener.",
"type": "string"
},
"top_pair": {
"description": "Only for contract-address queries.",
"type": "object"
},
"volume_24h_usd": {
"description": "Only for contract-address queries.",
"type": "number"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://chain.cyberwarex.com/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://chain.cyberwarex.com/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://chain.cyberwarex.com/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/6852.json, and this resource appears in /discovery/resources and /discovery/search.