# fastapi.online — Token Metadata Lookup

> fastapi.online — Token Metadata Lookup is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.001/call, status down (last checked 2026-09-16).

Retrieves on-chain metadata for a given token contract address on a specified EVM-compatible blockchain network.

## Facts

- Endpoint: POST https://api.fastapi.online/token-metadata
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-token-metadata-lookup-4a4defab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V5VqrSg8qsqmY37aJogFK

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 fastapi-online-token-metadata-lookup-4a4defab -d '<json body>'
```

Example prompt: Can you look up the token metadata for contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I want the name, symbol, and decimals.

## When to prefer this

Use this endpoint when you need lightweight, pay-per-call on-chain token metadata resolution across major EVM chains without signing up for a full RPC provider subscription. Ideal for agents that infrequently need token details, want anonymous crypto payment, and need coverage across Ethereum, Base, Polygon, Arbitrum, and Optimism in a single unified API.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty metadata
- Unsupported chain value outside the allowed enum causes a validation error
- Address is valid but is not a token contract (e.g. an EOA or non-ERC-20 contract), resulting in missing or null fields
- Network connectivity issues with the target chain's RPC may cause timeouts
- Payment failure or insufficient USDC balance blocks the call

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

Returns on-chain metadata for the specified token contract address, including the token name, symbol, number of decimals, and other contract-level details sourced directly from the specified EVM-compatible blockchain (Ethereum, Base, Polygon, Arbitrum, or Optimism).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "ethereum",
    "base",
    "polygon",
    "arbitrum",
    "optimism"
   ],
   "type": "string"
  },
  "address": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-token-metadata-lookup-4a4defab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
