# AgenticFi DeFi Token Price API

> AgenticFi DeFi Token Price API 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 by CoinGecko ID or symbol, including 24-hour price change, volume, and market cap

## Facts

- Endpoint: GET https://defi-api.agenticfi.wtf/api/token/price/bitcoin
- 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-defi-token-price-api-1eb75c20
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wveXkEqNTNjLCvlxgq6c8

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-defi-token-price-api-1eb75c20
```

Example prompt: What's the current price of Ethereum right now, along with its 24-hour change and market cap?

## When to prefer this

Choose this endpoint when you need real-time spot price data for a specific cryptocurrency by its CoinGecko ID or common ticker symbol, and also want 24h change, volume, and market cap in a single call. Prefer this over generic exchange APIs when targeting DeFi or long-tail tokens indexed by CoinGecko, and when pay-per-call pricing (no subscription) is acceptable.

## Known failure modes

- Unknown CoinGecko ID or symbol returns a 404 or error response
- Ambiguous symbol (e.g. a symbol shared by multiple tokens) may return unexpected token data
- Rate limiting or upstream CoinGecko API outage may result in 503 or timeout
- Payment failure via x402 protocol may block the request before data is returned

## How this service works

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

## Output

Returns the real-time USD price of the requested token, along with the 24-hour percentage price change, 24-hour trading volume, and market capitalization, sourced from CoinGecko 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",
    "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-defi-token-price-api-1eb75c20/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)
