# Token/Asset Metadata Lookup

> Token/Asset Metadata Lookup is a paid API for AI agents from x402-gateway-production.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns metadata for a crypto token or asset — including name, symbol, decimals, and chain info — given an identifier.

## Facts

- Endpoint: GET https://x402-gateway-production.up.railway.app/api/token/metadata
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-production-up-railway-app-e80fef09
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A6BcADTpe7fmylg9ucpvk

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 x402-gateway-production-up-railway-app-e80fef09
```

Example prompt: Can you look up the metadata for the token at contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I need its name, symbol, and how many decimals it uses.

## When to prefer this

Use this endpoint when you need to resolve human-readable token metadata (name, symbol, decimals) from a contract address or token identifier, especially within agentic workflows that need to display or process token info before executing a DeFi operation or payment.

## Known failure modes

- Unknown or invalid contract address returns 404 or empty result
- Unsupported chain ID returns an error
- Malformed address format causes a 400 bad request
- Token not indexed on the gateway returns no metadata
- Network timeout or gateway downtime returns 5xx

## How this service works

Token/asset metadata — name, symbol, decimals, chain info

## Output

Returns structured metadata for the specified token including its human-readable name (e.g. 'USD Coin'), ticker symbol (e.g. 'USDC'), number of decimals (e.g. 6), and chain/network information.

## Example request

```json
{
 "chain": "ethereum",
 "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "chain",
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "example": "ethereum",
       "description": "Chain name"
      },
      "address": {
       "type": "string",
       "example": "0xdac17f958d2ee523a2206206994597c13d831ec7",
       "description": "Token contract address"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-production-up-railway-app-e80fef09/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production.up.railway.app](https://www.zero.xyz/host/x402-gateway-production.up.railway.app/llms.txt)
