Catalog
CryptoGETlive

Token prices

Spot prices for coins by symbol, name, or market-data ID.

$0.0012
per call
Success
100%
p50 latency
1.38s
p95 latency
1.55s
Calls (30d)
4

Provider contract

Call path
/routes/
2siodefault
/crypto/price
Method
GET
Selected provider
2siodefault
Provider price
$0.0012
Settlement
Base USDC · x402 · 5% h402 fee

Quickstart

Both commands call the selected provider directly.

cURL
curl '/routes/2sio/crypto/price?ids=bitcoin%2Cethereum&vs=usd'
CLI
h402 call 'crypto/price' --provider '2sio' --method GET --query '{"ids":"bitcoin,ethereum","vs":"usd"}'

Parameters & live test

pays real USDC
2siodefault$0.0012/call

Fill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.

idsstringrequired≥ 1 chars

Comma-separated CoinGecko ids (alternative to symbols).

e.g.
vsstringrequired≥ 1 chars

Comma-separated quote currencies.

e.g.
GET/routes/2sio/crypto/price
Request query
{
  "ids": "bitcoin,ethereum",
  "vs": "usd"
}

ResponseExample response
{
  "data": {
    "data": {
      "ok": true,
      "items": [
        {
          "id": "bitcoin",
          "quotes": {
            "usd": {
              "price": 66041,
              "marketCap": 1324766230007.3052,
              "volume24h": 30948343920.623356,
              "change24hPct": -0.741328246423685
            }
          }
        },
        {
          "id": "ethereum",
          "quotes": {
            "usd": {
              "price": 1946.98,
              "marketCap": 234967360405.45248,
              "volume24h": 10147348577.415272,
              "change24hPct": 1.2056121462396212
            }
          }
        }
      ],
      "total": null,
      "source": {
        "provider": "CoinGecko",
        "url": "https://www.coingecko.com",
        "license": "CoinGecko API terms (attribution required)"
      },
      "meta": {
        "asOf": "2026-07-22T15:34:29.459Z"
      }
    },
    "meta": {
      "endpoint": "crypto.token-price",
      "version": null,
      "caller": "x402",
      "cost": {
        "usd": 0.0012
      },
      "settlement": {
        "txHash": "0x378c4c7399edc6c726e2e938bc6e4da0502b93d432a5316c381cc732e04e2ead",
        "network": "eip155:8453",
        "success": true
      }
    }
  },
  "h402": {
    "routeId": "crypto/price",
    "provider": "2sio",
    "selectedCandidateId": "crypto/price/2sio",
    "routing": "manual",
    "paidBy": "x402-exact"
  }
}

Providers

Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.

2siodefaultcheapest
x402
Success
p50
Calls
$0.0012
coinmarketcap-x402
x402
100
Success
100%
p50
1.38s
Calls
2
100%
$0.01$0.010/call
coingecko
x402
100
Success
100%
p50
1.55s
Calls
1
100%
$0.01$0.010/call
Last successful call: 14d ago· Aggregated by h402 — not the source provider