# AgenticFi Token Price Lookup

> AgenticFi Token Price Lookup 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 the current price of a cryptocurrency token by CoinGecko ID or ticker symbol

## Facts

- Endpoint: GET https://defi-api.agenticfi.wtf/api/token/price/%7BidOrSymbol%7D
- 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-lookup-9da31964
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_psR5DuHaMO0Mg3q6oBiAb

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-lookup-9da31964
```

Example prompt: What's the current price of Ethereum? Use AgenticFi to look it up by the symbol ETH.

## When to prefer this

Use this endpoint when you need a quick, pay-per-call current price for a specific cryptocurrency token by its CoinGecko ID or ticker symbol, especially within an AI agent workflow on Base using x402 micropayments. Prefer this over free alternatives when you need reliable, low-latency pricing without API key management.

## Known failure modes

- Unknown token ID or symbol returns 404 or empty result
- Ambiguous symbol (e.g. multiple tokens share a ticker) may return wrong token
- Payment failure via x402 returns 402 Payment Required
- Rate limiting or service unavailability returns 5xx error
- Misspelled CoinGecko ID returns error or no data

## How this service works

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

## Output

Returns the current USD price (and potentially related market data) for the specified token, identified by its CoinGecko ID (e.g. 'ethereum') or common ticker symbol (e.g. 'ETH').

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "pathParams": {
   "idOrSymbol": "ethereum"
  },
  "queryParams": {
   "idOrSymbol": "ethereum"
  }
 }
}
```

## 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-lookup-9da31964/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)
