Look up current price, 24h change, and market cap for one or more cryptocurrencies
Look up current price, 24h change, and market cap for one or more cryptocurrencies
1000 (raw units)
price
2
calls / 30d
2
unique payers
2026-09-07
updated
Provider
x402tap.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xB810B599bc730Aa85800BABe7f5d160524322C86",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0xB810B599bc730Aa85800BABe7f5d160524322C86",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0xB810B599bc730Aa85800BABe7f5d160524322C86",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "9fqXniDAn8hNMYC5C9waGv5u126bkwjU6qGgAoQeoWyo",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"ids": "bitcoin,ethereum,solana",
"vs": "usd"
},
"type": "http"
},
"output": {
"example": {
"prices": [
{
"change24hPct": -0.2,
"id": "bitcoin",
"marketCap": 1267177736333,
"price": 63151
}
],
"vs": "usd"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"ids": {
"description": "Comma-separated CoinGecko coin ids, e.g. \"bitcoin,ethereum\"",
"type": "string"
},
"vs": {
"description": "Quote currency, e.g. \"usd\", \"eur\" (default usd)",
"type": "string"
}
},
"required": [
"ids"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"offer-receipt": {
"info": {
"offers": [
{
"acceptIndex": 0,
"format": "eip712",
"payload": {
"amount": "1000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "eip155:8453",
"payTo": "0xB810B599bc730Aa85800BABe7f5d160524322C86",
"resourceUrl": "https://x402tap.com/api/crypto-price",
"scheme": "exact",
"validUntil": 1788782190,
"version": 1
},
"signature": "0xc1a746d83299dbf242465b366d9781f7c7218f190b4944fb7d02a2d91a5b7d027b54e9c2e527074f1035764568ad8124dff8d783528389e941ed8662d9eb5b431c"
},
{
"acceptIndex": 1,
"format": "eip712",
"payload": {
"amount": "1000",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"network": "eip155:137",
"payTo": "0xB810B599bc730Aa85800BABe7f5d160524322C86",
"resourceUrl": "https://x402tap.com/api/crypto-price",
"scheme": "exact",
"validUntil": 1788782190,
"version": 1
},
"signature": "0xc9595833e8c11b827f31d421c9bad074c18938a10ebc80b80b742871153a3df3026b4c6a7fd6ac7998259f910282653999c1eafb5756237eb111591f5a84a5021b"
},
{
"acceptIndex": 2,
"format": "eip712",
"payload": {
"amount": "1000",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"network": "eip155:42161",
"payTo": "0xB810B599bc730Aa85800BABe7f5d160524322C86",
"resourceUrl": "https://x402tap.com/api/crypto-price",
"scheme": "exact",
"validUntil": 1788782190,
"version": 1
},
"signature": "0xb9bd7f6fe00c050371d82fc255d9aea298ed8fa8ae935daf87cd1ee84b5fde2737d1d2d605049d576eef0416247f1da2b834f910550f4ab0984e1cdd61e5f56d1b"
},
{
"acceptIndex": 3,
"format": "eip712",
"payload": {
"amount": "1000",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "9fqXniDAn8hNMYC5C9waGv5u126bkwjU6qGgAoQeoWyo",
"resourceUrl": "https://x402tap.com/api/crypto-price",
"scheme": "exact",
"validUntil": 1788782190,
"version": 1
},
"signature": "0xa8891e47e8817629e3508ec0955d66fa7acb94dafc1825ced26f513377defd7a575c683e178ad9678ce9a72c93540649c2a9e01328ca6ffcea30b129d457acc71c"
}
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offers": {
"items": {
"properties": {
"acceptIndex": {
"type": "integer"
},
"format": {
"type": "string"
},
"payload": {
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"payTo": {
"type": "string"
},
"resourceUrl": {
"type": "string"
},
"scheme": {
"type": "string"
},
"validUntil": {
"type": "integer"
},
"version": {
"type": "integer"
}
},
"required": [
"version",
"resourceUrl",
"scheme",
"network",
"asset",
"payTo",
"amount"
],
"type": "object"
},
"signature": {
"type": "string"
}
},
"required": [
"format",
"signature"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"offers"
],
"type": "object"
}
}
}Use it
curl
curl "https://x402tap.com/api/crypto-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://x402tap.com/api/crypto-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://x402tap.com/api/crypto-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/1135.json, and this resource appears in /discovery/resources and /discovery/search.