# 2s.io On-Chain Token Info (GeckoTerminal)

> 2s.io On-Chain Token Info (GeckoTerminal) is a paid API for AI agents from 2s.io, paid per call via x402, $0.0036/call, status unknown (last checked 2026-09-14).

Returns DEX-derived on-chain token metrics (price, FDV, market cap, volume, supply, etc.) for any token contract address across 100+ networks, powered by GeckoTerminal.

## Facts

- Endpoint: GET https://2s.io/api/crypto/token-info
- Price: $0.0036/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-on-chain-token-info-geckoterminal-a703e8c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_prJgc1IAOESrOAYfFZTdA

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 2s-io-on-chain-token-info-geckoterminal-a703e8c8
```

Example prompt: Can you pull the on-chain token info for contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I need the current DEX price, market cap, FDV, and 24h volume from GeckoTerminal?

## When to prefer this

Prefer this endpoint when you need DEX-derived, on-chain token data by contract address — especially for tokens that may not appear in CoinGecko aggregate spot pricing (crypto.token-price). Use this when you need reserve/liquidity data, normalized supply, or need to support 100+ blockchain networks including newer L2s. Ideal for DeFi analytics, new token research, or when you have a contract address but not a CoinGecko slug.

## Known failure modes

- Unknown contract address or network slug returns 404 or empty result
- Newly deployed token with no DEX liquidity may return null price fields
- Incorrect network slug (e.g. 'ethereum' instead of 'eth') causes lookup failure
- Token exists but has no GeckoTerminal coverage returns partial or empty data
- Rate limiting or upstream GeckoTerminal outage returns 5xx error

## How this service works

On-chain token metrics by contract address (via GeckoTerminal, free/keyless): name, symbol, decimals, on-chain USD price, FDV, market cap, total reserve in USD, 24h volume, total + normalized supply, image, and CoinGecko id. Distinct from crypto.token-price (CoinGecko aggregate spot) — this is DEX-derived on-chain data for any token across 100+ networks.

## Output

Returns a JSON object containing the token's name, symbol, decimals, current on-chain USD price (DEX-derived), fully diluted valuation, market cap, total reserve in USD, 24-hour trading volume, total and normalized supply, token image URL, and CoinGecko ID — all sourced from GeckoTerminal DEX pool 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "network",
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "maxLength": 120,
       "minLength": 1,
       "description": "Token contract address."
      },
      "network": {
       "type": "string",
       "maxLength": 40,
       "minLength": 1,
       "description": "Network slug, e.g. eth, bsc, base, solana."
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-on-chain-token-info-geckoterminal-a703e8c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
