Api Endpoint

Onchain Query API

Live crypto price feed for agents: USD price, pool liquidity and 1h/24h change for ANY ERC-20 on Base or Ethereum, read straight from the DEX pool on chain (Uniswap v2/v3/v4, Aerodrome). Works for brand-new coins that price sites do not list yet. Pass token=0x... and chain=base|ethereum (no chain: Base, then Ethereum). Tickers like eth or btc also work. Cached 15 seconds. For many tokens use POST /price-batch (25 for 0.01 USDC).

Open interactive test console

Offering

Provider
chain.cyberwarex.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://chain.cyberwarex.com/price
MIME type
application/json
First seen
2026-10-16T01:50:10.647Z
Last seen
Tags
crypto-price, price-feed, Onchain, DEX, new-tokens, Base, Ethereum, USD, market-data, Coingecko

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
166 ms
Average latency
646 ms
HTTP status
402
Last checked
Reachability
100% over 14 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": {
        "token": {
          "type": "string",
          "description": "0x token address (or a ticker such as eth)."
        },
        "query": {
          "type": "string",
          "description": "Alias of token."
        },
        "chain": {
          "type": "string",
          "enum": [
            "base",
            "ethereum",
            "arbitrum",
            "optimism",
            "polygon"
          ],
          "default": "base",
          "description": "base or ethereum read the pool on chain."
        }
      },
      "required": [],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output 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"
}