Api Endpoint

Token Price

Token price and crypto price API: live USD token price for ETH, BTC, USDC, AERO, DEGEN, cbBTC, VIRTUAL or a contract address on Base or Ethereum. Pass tokens=ETH or symbol=ETH (up to 4). Read from on-chain DEX pools (Uniswap v3, Aerodrome) with pool liquidity, cross-pool spread and a confidence flag. No API key. Payment settles only after a successful (2xx) response; input errors are never charged.

Open interactive test console

Offering

Provider
beggar-bot-demand.beggarbot.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://beggar-bot-demand.beggarbot.workers.dev/v1/tokenprice
MIME type
application/json
First seen
2026-11-08T18:21:36.396Z
Last seen
Tags
token price, crypto price, token price usd, eth price, price api

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7"
  }
]

Observed health

Status
Healthy
Latest latency
63 ms
Average latency
193 ms
HTTP status
402
Last checked
Reachability
100% over 7 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "tokens": {
          "type": "string",
          "description": "≤4 comma-separated token symbols (ETH, BTC, USDC, AERO…) or contract addresses; symbol=ETH also works"
        },
        "chain": {
          "type": "string",
          "description": "base (default) or ethereum"
        },
        "network": {
          "type": "string",
          "description": "alias of chain: base (default) or ethereum"
        }
      },
      "required": [
        "tokens"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "eth_usd": {
      "type": "number"
    },
    "tokens": {
      "type": "array",
      "description": "price_usd, source, deepest_pool, quote_side_liquidity_usd, flags, confidence, pools",
      "items": {
        "type": "object"
      }
    },
    "live": {
      "type": "boolean"
    }
  }
}