# x402 Bazaar Token Info

> x402 Bazaar Token Info is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns metadata (name, symbol, logo, website, socials) plus price and liquidity data for a Base chain token, paid via x402 micropayment

## Facts

- Endpoint: POST https://api.relai.fi/relay/1782567677091/api/x402/token-info
- 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/x402-bazaar-token-info-ea3d7434
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nZ-uxM2FZLS9xWUoARPfd

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-bazaar-token-info-ea3d7434 -d '<json body>'
```

Example prompt: Can you look up the full token info for the Base token at contract address 0xabc123... — I need its name, symbol, logo, official website, social links, and current price?

## When to prefer this

Use this endpoint when you need to enrich a Base chain token with human-readable metadata (name, symbol, logo, socials) and real-time price/liquidity in a single call. Ideal for agents or UIs that have a contract address and need display-ready token information. Prefer over manual DexScreener scraping or generic token APIs when you need x402-compatible micropayment access and Base chain specificity.

## Known failure modes

- 402 Payment Required — payment not yet submitted; must pay $0.005 USDC on Base to the specified address and retry
- Invalid or unknown token address — returns error if contract is not indexed by DexScreener
- Token has no liquidity or price data — partial response with missing price/liquidity fields
- Network issues with DexScreener upstream — may return stale or empty data
- Malformed POST body — missing required token address parameter

## How this service works

Metadata for a Base token: name, symbol, logo image, official website and social links (X/Telegram/etc.) plus price & liquidity — from DexScreener. For agents and UIs enriching a token. Paid via x402: $0.005 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.

## Output

Returns a JSON object containing the token's name, symbol, logo image URL, official website, and social media links (X/Twitter, Telegram, etc.), as well as current price and liquidity figures sourced from DexScreener. The endpoint requires a micropayment of $0.005 USDC on Base via x402 before returning data.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Token contract address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-bazaar-token-info-ea3d7434/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
