# Plainchain Token Data Endpoint

> Plainchain Token Data Endpoint is a paid API for AI agents from plainchain.appin60.com, paid per call via x402, $0.001942/call, status unknown (last checked 2026-10-14).

Returns on-chain token metadata and market data (name, symbol, decimals, supply, price, volume, liquidity) for a given ERC-20 contract address on Base, Arbitrum, Ethereum, or Optimism

## Facts

- Endpoint: GET https://plainchain.appin60.com/v1/token?utm_source=zero.xyz
- Price: $0.001942/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/plainchain-token-data-endpoint-fd78c3de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jQUfcmejgk8tvJTD846_O

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 plainchain-token-data-endpoint-fd78c3de
```

Example prompt: What's the current price, symbol, and 24-hour trading volume for the token at contract address 0x4ed4e862860bed51a9570b96d89af5e1b0efefed on Base?

## When to prefer this

Use this endpoint when you need token metadata and market data (price, volume, liquidity) for an ERC-20 contract on Base, Arbitrum, Ethereum, or Optimism and want pay-per-call access without managing an API key subscription. It is especially suited for AI agents that need on-demand token lookups billed in micro-USDC via the x402 protocol.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error or empty result
- Unsupported chain identifier returns a validation error
- Token with no DEX liquidity may return null or missing market fields
- Payment failure via x402 (insufficient USDC balance) blocks the request
- Rate limiting or network issues on the target chain may cause timeouts

## How this service works

Gas, balances, token data, address type, approvals, transaction decoding, x402 receipt verification and verifiable randomness on Base, Arbitrum, Ethereum and Optimism. No API key: pay $0.001-$0.01 per call in USDC on Base via x402.

## Output

A JSON object containing the token's name, symbol, contract address, chain, decimals, total supply, and market data including USD price, 24-hour volume in USD, price change percentage over 24 hours, total liquidity across all pairs in USD, and the oldest pair creation date.

## 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": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "base (default), arbitrum, ethereum or optimism; chain ids 8453, 42161, 1, 10 also work"
      },
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "token contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Degen",
  "chain": "Base",
  "market": {
   "priceUsd": 0.00099,
   "volume24hUsd": 32314,
   "oldestPairCreated": "2024-01-08T00:00:00.000Z",
   "priceChange24hPct": -2.1,
   "liquidityUsdAllPairs": 113268
  },
  "symbol": "DEGEN",
  "address": "0x4ed4e862860bed51a9570b96d89af5e1b0efefed",
  "decimals": 18,
  "totalSupply": "36965840682.5"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/plainchain-token-data-endpoint-fd78c3de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from plainchain.appin60.com](https://www.zero.xyz/host/plainchain.appin60.com/llms.txt)
