# AgenticFi Token Price by CoinGecko ID or Symbol

> AgenticFi Token Price by CoinGecko ID or Symbol is a paid API for AI agents from defi-api.agenticfi.wtf, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns real-time token price with 24h change, volume, and market cap for a given CoinGecko ID or symbol

## Facts

- Endpoint: GET https://defi-api.agenticfi.wtf/api/token/price/ethereum
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenticfi-token-price-by-coingecko-id-or-symbol-7575a99e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SvdLNpKzJT4IzvnRRl8gc

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 agenticfi-token-price-by-coingecko-id-or-symbol-7575a99e
```

Example prompt: What's the current price of Ethereum — including its 24-hour change, trading volume, and market cap?

## When to prefer this

Use this endpoint when you need real-time price data for a specific cryptocurrency by CoinGecko ID (e.g. 'ethereum', 'bitcoin') or common symbol (e.g. 'ETH', 'BTC'), especially when 24h change, volume, and market cap context is needed alongside the price. Prefer over generic market APIs when working within DeFi agent workflows that support x402 micropayments.

## Known failure modes

- Unknown token ID or symbol returns a 404 or error response
- Rate limiting or payment failure returns a 402 or 429 error
- Misspelled CoinGecko ID returns no data
- Unsupported or delisted token may return stale or missing data

## How this service works

Real-time token price by CoinGecko ID or symbol - includes 24h change, volume, market cap

## Output

Returns real-time USD price of the requested token along with its 24-hour percentage change, 24-hour trading volume, and total market capitalization, sourced from CoinGecko.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "pathParams",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "idOrSymbol"
     ],
     "properties": {
      "idOrSymbol": {
       "type": "string",
       "title": "idOrSymbol (required)",
       "description": "Required. CoinGecko ID or common symbol.\nTry one of these 10 examples: bitcoin, ethereum, solana, chainlink, uniswap, aave, maker, dogecoin, pepe, arbitrum\nSymbol examples: BTC, ETH, SOL, LINK, UNI, AAVE, MKR, DOGE, PEPE, ARB"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "idOrSymbol"
     ],
     "properties": {
      "idOrSymbol": {
       "type": "string",
       "title": "idOrSymbol (required)",
       "description": "Required. CoinGecko ID or common symbol.\nTry one of these 10 examples: bitcoin, ethereum, solana, chainlink, uniswap, aave, maker, dogecoin, pepe, arbitrum\nSymbol examples: BTC, ETH, SOL, LINK, UNI, AAVE, MKR, DOGE, PEPE, ARB"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenticfi-token-price-by-coingecko-id-or-symbol-7575a99e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-api.agenticfi.wtf](https://www.zero.xyz/host/defi-api.agenticfi.wtf/llms.txt)
