# AgentToll Base Token USD Price

> AgentToll Base Token USD Price is a paid API for AI agents from agenttoll-pi.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the current onchain USD price for any Base network token identified by its contract address

## Facts

- Endpoint: GET https://agenttoll-pi.vercel.app/api/base/token/:address
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-base-token-usd-price-ffc61337
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ihlprwtf_x9c5evmtKfmT

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 agenttoll-base-token-usd-price-ffc61337
```

Example prompt: What's the current USD price of the Base token at contract address 0x4200000000000000000000000000000000000006?

## When to prefer this

Choose this endpoint when you need the current onchain USD price for a specific Base network token and have its exact contract address. It reads directly from Base chain data, making it faster and more up-to-date than indexed or aggregated price feeds. Prefer this over general crypto price APIs when dealing with newly launched or obscure Base tokens that may not yet appear in major indexes.

## Known failure modes

- Invalid contract address format (must match ^0x[0-9a-fA-F]{40}$) returns a validation error
- Contract address not found or has no liquidity on Base returns a null or error response
- Token with no DEX pair or price oracle returns unavailable price
- Network or RPC errors may result in timeout or 5xx response
- Payment of 0.001 USDC required per call; missing or failed payment returns 402

## How this service works

Onchain USD price for any Base token by contract address

## Output

Returns the current onchain USD price for the specified Base token contract address, sourced directly from Base chain liquidity pools in real time.

## 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"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/agenttoll-base-token-usd-price-ffc61337/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll-pi.vercel.app](https://www.zero.xyz/host/agenttoll-pi.vercel.app/llms.txt)
