# Synapse API — Optimism Token Metadata

> Synapse API — Optimism Token Metadata is a paid API for AI agents from synapse-api-brown.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Retrieves on-chain token metadata (name, symbol, decimals, etc.) for a given ERC-20 contract address on the Optimism network

## Facts

- Endpoint: POST https://synapse-api-brown.vercel.app/api/optimism/token/metadata
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-api-optimism-token-metadata-7a87797c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UX1fffCZkAPfH4J0V_ePb

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 synapse-api-optimism-token-metadata-7a87797c -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need to resolve token identity (name, symbol, decimals) for a contract address specifically on the Optimism L2 network. Prefer this over generic blockchain explorers when you need a programmatic, pay-per-call API response suitable for agent workflows and multi-chain pipelines covering Optimism.

## Known failure modes

- Invalid or malformed contract address returns an error response
- Contract address exists but is not an ERC-20 token (e.g. EOA or non-standard contract) may return empty or null fields
- Network congestion or RPC node issues may cause timeouts
- Contract not deployed on Optimism (e.g. Ethereum mainnet address) returns no data

## How this service works

High-speed API suite for AI processing, web scraping, and smart data utilities across 57+ blockchain networks. Pay-per-call via x402.

## Output

Returns on-chain metadata for the specified ERC-20 token contract on Optimism, typically including the token name, symbol, and decimal precision as stored on 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/synapse-api-optimism-token-metadata-7a87797c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from synapse-api-brown.vercel.app](https://www.zero.xyz/host/synapse-api-brown.vercel.app/llms.txt)
