# payai.agentstools.dev Token Price

> payai.agentstools.dev Token Price is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the on-chain USD spot price of a token using Chainlink price feeds or the most-liquid Base DEX pool

## Facts

- Endpoint: GET https://payai.agentstools.dev/price
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payai-agentstools-dev-token-price-4edcf9db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F71HoE1TRswDx4-QTNWhe

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 payai-agentstools-dev-token-price-4edcf9db
```

Example prompt: What's the current on-chain USD spot price of AERO? Use Chainlink or the Base DEX pool to get me the latest price.

## When to prefer this

Use this endpoint when you need an on-chain, verifiable USD spot price for a token — especially for tokens listed on Chainlink or traded on Base DEX. Prefer this over off-chain price APIs when trustlessness and on-chain provenance matter, or when querying tokens native to the Base ecosystem like AERO.

## Known failure modes

- Token symbol not recognized or unsupported — no Chainlink feed and no liquid Base DEX pool found
- Token has insufficient liquidity on Base DEX to compute a reliable price
- Network or RPC errors preventing on-chain state retrieval
- Invalid or missing token query parameter

## How this service works

On-chain USD spot price for 50+ assets from Chainlink feeds or the most-liquid Base DEX pool (computed from public chain state): crypto majors, stablecoins, Base-native tokens, forex currencies and precious metals.

## Output

Returns the USD spot price of the requested token, sourced from Chainlink oracle feeds or the most-liquid Base DEX pool, computed from public on-chain state.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "description": "Symbol to price. Crypto e.g. ETH, BTC, SOL, XRP, DEGEN. Stablecoin e.g. USDT, USDC, USDe. Forex e.g. EUR, GBP, JPY. Metal e.g. XAU (gold), XAG (silver)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payai-agentstools-dev-token-price-4edcf9db/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
