# Phantom API — Base Token Metadata

> Phantom API — Base Token Metadata is a paid API for AI agents from phantom-api-omega.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Retrieves on-chain token metadata for a given contract address on the Base network

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/base/token/metadata?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-base-token-metadata-b19b32d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P94oMcaH5E1mwRqcIi44D

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 phantom-api-base-token-metadata-b19b32d3 -d '<json body>'
```

Example prompt: Can you pull the token metadata for the contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — I want to know the name, symbol, and decimals.

## When to prefer this

Choose this endpoint when you need fast, pay-per-call token metadata specifically on the Base network without needing a subscription or API key. Ideal for agents that need lightweight, on-demand token lookups (name, symbol, decimals) for a specific contract address without pulling full indexer data.

## Known failure modes

- Invalid or malformed contract address returns an error
- Contract address does not correspond to a token contract (e.g. a non-ERC-20 contract) may return empty or error
- Network unavailable or RPC issues may cause timeout
- Payment failure via x402 protocol results in 402 response and no data returned
- Contract deployed on a different network (not Base) will not return valid metadata

## How this service works

Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.

## Output

Returns on-chain metadata for the specified Base network token contract, typically including the token name, symbol, and decimal precision as stored in the smart contract.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "contractAddress": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-base-token-metadata-b19b32d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phantom-api-omega.vercel.app](https://www.zero.xyz/host/phantom-api-omega.vercel.app/llms.txt)
