# AgentToll Base Token USD Price

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

Returns the current on-chain USD price for any Base network token identified by its contract address

## Facts

- Endpoint: GET https://agenttoll.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-a3cd45f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_In_sLW5Wv2J7J9X2PUHYo

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-a3cd45f3
```

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

## When to prefer this

Use this endpoint when you need an on-chain USD price for any ERC-20 token specifically deployed on the Base network and you have the contract address. It is ideal for DeFi agents, portfolio trackers, and arbitrage bots that need token prices anchored to actual on-chain state rather than centralized exchange feeds. Prefer this over CEX price APIs when Base-specific liquidity data matters or when the token is not listed on major exchanges.

## Known failure modes

- Invalid contract address format (not a valid 0x hex address) — validation error
- Contract address does not exist on Base or has no liquidity — price unavailable or null response
- Token has insufficient on-chain liquidity for a reliable price — may return stale or zero price
- Network or RPC issues causing price fetch failure — service error response
- Payment not processed correctly (x402) — 402 Payment Required error

## How this service works

Base token price lookup by contract address: the onchain USD price for any token on Base

## Output

Returns the current on-chain USD price (in USD) for the specified Base network ERC-20 token contract address, sourced from on-chain liquidity data.

## 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-a3cd45f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.app](https://www.zero.xyz/host/agenttoll.app/llms.txt)
