# AgenticFi Token Info

> AgenticFi Token Info 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-10-21).

Retrieves detailed metadata and pricing information for an ERC-20 token or native asset by contract address on a specified chain

## Facts

- Endpoint: GET https://defi-api.agenticfi.wtf/api/token/info/%7Baddress%7D?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenticfi-token-info-7a209404
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lmp8YzL_Epu0LoeiJgEgN

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-info-7a209404
```

Example prompt: Look up the token info for 0x833589fCD6EDB6E08f4c7C32D4f71b54bdA02913 on Base (chain ID 8453) and include historical prices for the last 24, 168, and 720 hours.

## When to prefer this

Use this endpoint when you need detailed metadata (name, symbol, decimals) and current or historical pricing for a specific ERC-20 token or native asset by contract address on an EVM-compatible chain. Prefer this over general search endpoints when you already have the contract address. Ideal for DeFi agents needing token context before executing swaps or portfolio analysis.

## Known failure modes

- Invalid or non-existent contract address returns 404 or empty result
- Missing required address or chain_ids parameters returns 400 validation error
- Unsupported chain ID returns an error or empty data
- Payment failure via x402 returns 402 Payment Required
- Rate limiting or service unavailability returns 5xx error
- Malformed address format (not valid checksummed hex) may return error or no result

## How this service works

EVM token info by contract address or native asset - metadata, realtime price, supply fields, logo, and optional historical prices

## Output

Returns structured token metadata including name, symbol, decimals, current price, and optionally historical prices at specified hour offsets for the given ERC-20 contract address on the requested chain

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "pathParams": {
   "address": "0x833589fCD6EDB6E08f4c7C32D4f71b54bdA02913"
  },
  "queryParams": {
   "address": "0x833589fCD6EDB6E08f4c7C32D4f71b54bdA02913",
   "chain_ids": "8453"
  }
 }
}
```

## 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": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "title": "address (required)",
       "description": "Required. ERC-20 contract address or 'native' for the chain-native asset.\nExamples: native, 0x833589fCD6EDB6E08f4c7C32D4f71b54bdA02913 (Base USDC), 0x4200000000000000000000000000000000000006 (Base WETH), 0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca (Base USDbC)"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address",
      "chain_ids"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "title": "chain (optional)",
       "description": "Optional. Legacy gateway alias for a single chain name, mapped to chain_ids Examples: base, ethereum, arbitrum"
      },
      "limit": {
       "type": "string",
       "title": "limit (optional)",
       "description": "Optional. Maximum number of token rows to return, 1-100 Examples: 100, 500"
      },
      "offset": {
       "type": "string",
       "title": "offset (optional)",
       "description": "Optional. Pagination cursor returned in next_offset Examples: eyJvZmZzZXQiOjEwMH0= (use next_offset from the previous response)"
      },
      "address": {
       "type": "string",
       "title": "address (required)",
       "description": "Required. ERC-20 contract address or 'native' for the chain-native asset.\nExamples: native, 0x833589fCD6EDB6E08f4c7C32D4f71b54bdA02913 (Base USDC), 0x4200000000000000000000000000000000000006 (Base WETH), 0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca (Base USDbC)"
      },
      "chain_ids": {
       "type": "string",
       "title": "chain_ids (required)",
       "description": "Required single chain ID, e.g. '8453' Examples: 8453, 1,8453, default"
      },
      "historical_prices": {
       "type": "string",
       "title": "historical_prices (optional)",
       "description": "Optional. Comma-separated hour offsets, up to 3 values, e.g. '720,168,24' Examples: 720,168,24"
      }
     }
    }
   },
   "additionalProperties
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenticfi-token-info-7a209404/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)
