# Phantom API — Pharos Token Metadata

> Phantom API — Pharos 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-09-14).

Fetches on-chain token metadata (name, symbol, decimals, supply, etc.) for a given smart contract address on the Pharos network

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/pharos/token/metadata
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-pharos-token-metadata-fb961732
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xvdDMRNyxBVjCJ7kBHMuv

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-pharos-token-metadata-fb961732 -d '<json body>'
```

Example prompt: Can you pull the token metadata — name, symbol, decimals, and total supply — for the contract address 0xAbC123... on the Pharos network?

## When to prefer this

Choose this endpoint when you need fast, pay-per-call token metadata lookups on the Pharos network without committing to a subscription. Ideal for agents that occasionally need to resolve unknown token contracts, enrich wallet or transaction data with human-readable token info, or verify token details on-chain. Prefer this over general blockchain explorers when you need structured, machine-readable output directly in an API response.

## Known failure modes

- Invalid or malformed contract address returns an error or empty result
- Contract address exists but is not a token contract (no ERC-20/token interface) may return null or error
- Network unavailability or RPC issues may cause timeouts
- Contract deployed on a different network than Pharos will return no data
- Payment failure (x402) prevents the call from being processed

## 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 token metadata for the provided contract address, typically including token name, symbol, number of decimals, and total supply as recorded on the Pharos network 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-pharos-token-metadata-fb961732/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)
