# Tollkit Token Price Lookup

> Tollkit Token Price Lookup is a paid API for AI agents from data.tollkit.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Returns the current USD price of an ERC-20 or SPL token by contract/mint address on Base, Ethereum, or Solana, paid per-call via x402 in USDC.

## Facts

- Endpoint: POST https://data.tollkit.dev/chain/price?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollkit-token-price-lookup-af19a779
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fRsOe2c0iU6fues3388Xv

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 tollkit-token-price-lookup-af19a779 -d '<json body>'
```

Example prompt: What's the current USD price of the token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base? Pay for the lookup in USDC.

## When to prefer this

Choose this endpoint when you need on-demand token price lookups without pre-registering an account or API key, and you can pay per-call in USDC via the x402 protocol. It is ideal for agent workflows that need sporadic, serverless price checks across Base, Ethereum, or Solana without committing to a subscription.

## Known failure modes

- Invalid or malformed contract/mint address returns a validation error
- Payment failure or insufficient USDC balance causes a 402 rejection
- Unsupported chain value outside of base/ethereum/solana returns an enum validation error
- Token not found or not indexed on the specified chain returns a not-found error
- Network or RPC issues on the target chain may cause timeouts

## How this service works

Pay-per-call product page extraction. No account, no API key: pay in-band with x402 in USDC on Base or Solana.

## Output

Returns the current USD price of the specified token contract or SPL mint on the requested chain (Base, Ethereum, or Solana), fetched on-chain and delivered as structured data after a per-call USDC micropayment via the x402 protocol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "solana"
   ],
   "type": "string",
   "default": "base",
   "description": "Which chain to read: \"base\" (default), \"ethereum\" or \"solana\"."
  },
  "token": {
   "type": "string",
   "pattern": "^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
   "description": "ERC-20 contract or SPL mint to price."
  }
 }
}
```

## More

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