# Phantom API — Berachain Token Metadata

> Phantom API — Berachain 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, etc.) for a given token contract address on the Berachain network.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/berachain/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-berachain-token-metadata-35ccc926
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IdaXRp6L98W35Z555gWiJ

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-berachain-token-metadata-35ccc926 -d '<json body>'
```

Example prompt: Can you look up the token metadata — name, symbol, and decimals — for the Berachain contract at 0x1234abcd...?

## When to prefer this

Choose this endpoint when you specifically need token metadata from the Berachain network and want a pay-per-call model with no subscription overhead. It is ideal for agents performing one-off token lookups, enriching DeFi data pipelines, or validating token contracts on Berachain without running your own node.

## Known failure modes

- Invalid or malformed contract address returns an error or empty response
- Contract address exists but is not a token contract (e.g. a plain wallet or non-ERC20 contract) may return null or partial metadata
- Berachain RPC node downtime may cause request failures
- Rate limiting or payment failure (x402) may result in a 402 response

## 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 Berachain token contract, including the token name, symbol, decimal precision, and potentially total supply or other ERC-20-standard fields sourced directly from the blockchain.

## 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-berachain-token-metadata-35ccc926/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)
