# x402engine Token Price Lookup

> x402engine Token Price Lookup is a paid API for AI agents from x402engine.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches current USD prices for one or more on-chain tokens by specifying their chain and contract address

## Facts

- Endpoint: POST https://x402engine.app/api/token/prices
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402engine-token-price-lookup-82fd9816
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nw9GE6HJdqYewq67AgQB0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402engine-token-price-lookup-82fd9816 -d '<json body>'
```

Example prompt: What's the current price of USDC on Ethereum — the contract is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call on-chain token price lookups without a long-term API subscription — especially useful for AI agents that need real-time token prices across multiple chains (Ethereum, Base, Solana, MegaETH) and want to pay per query in USDC via the x402 micropayment protocol.

## Known failure modes

- Invalid or unrecognized chain name returns an error
- Unknown or incorrect token_address returns no price data or an error
- Empty tokens array rejected due to minItems:1 constraint
- Network or upstream price feed unavailability causes timeout or 5xx error
- Payment failure via HTTP 402 if USDC/USDC balance is insufficient

## How this service works

108 production APIs behind HTTP 402 micropayments. 72 LLMs, Kling V3 and Hailuo video generation, image generation, code execution, travel search, web scraping, TTS, and transaction simulation. Pay with USDC on Base, USDm on MegaETH, or USDC on Solana.

## Output

Returns current price data for each requested token, including the USD price and potentially additional metadata for each chain/token_address pair submitted in the request array.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "tokens": {
       "type": "array",
       "description": "Array of token objects with chain and token_address",
       "example": [
        {
         "chain": "ethereum",
         "token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
        }
       ],
       "items": {
        "type": "object",
        "properties": {
         "chain": {
          "type": "string",
          "example": "ethereum"
         },
         "token_address": {
          "type": "string",
          "example": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
         }
        },
        "required": [
         "chain",
         "token_address"
        ],
        "additionalProperties": false
       },
       "minItems": 1
      }
     },
     "required": [
      "tokens"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "additionalProperties": false
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402engine-token-price-lookup-82fd9816/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402engine.app](https://www.zero.xyz/host/x402engine.app/llms.txt)
