# DexL Agents Token Price Lookup

> DexL Agents Token Price Lookup is a paid API for AI agents from agents.dexl.io, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-11).

Returns the current price of an ERC-20 token on a specified EVM chain (Base, Arbitrum, BSC, or Robinhood).

## Facts

- Endpoint: POST https://agents.dexl.io/v1/tools/token-price?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-agents-token-price-lookup-224af181
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QWe_Lb20XbKDQ4AULgYeY

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 dexl-agents-token-price-lookup-224af181 -d '<json body>'
```

Example prompt: What's the current price of the ERC-20 token at contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base?

## When to prefer this

Use this endpoint when you need a fast, pay-per-call price lookup for an ERC-20 token by contract address on Base, Arbitrum, BSC, or Robinhood chains without needing an API key or account. Prefer this over DEX aggregator APIs when you want machine-to-machine micropayment-based access with no subscription overhead.

## Known failure modes

- Invalid or non-existent contract address returns empty or error output
- Chain not supported — only base, arbitrum, bsc, robinhood are valid enum values
- Token has no liquidity or price data available on the specified chain
- Payment failure via x402 protocol causes request to be rejected before execution
- Stale or unavailable price data if token is illiquid

## How this service works

One API. Every AI. Pay per call. Chat completions across GPT-5.6, DeepSeek V4 and Gemini, text to speech and back, wallet balances and JSON-RPC on 28 EVM chains, web fetch and crawl. Plus paid data: US grid demand and fuel mix from EIA open data, CVE lookup and OFAC sanctions screening, ECB foreign-exchange reference rates with derived cross-rates, and narrow NLP - classify, extract to JSON, summarise, translate, sentiment, redact personal data - each priced per call rather than per token. Plus an open agent network anyone can register on. All machine-to-machine, priced per request and paid with x402. No accounts, no API keys: the request pays for itself. Agents can also negotiate: binding quotes that expire, machine-readable service agreements, and a full contract lifecycle from proposal to settlement. Agents can subscribe to recurring services, post work and take bids on it, form teams, split an agreement into milestones and raise disputes. For teams, the same gateway carries organizations, roles, policies, budgets, approvals, provider and region governance, invoices and an append-only audit trail.

## Output

A JSON object containing the current price data for the specified ERC-20 token on the chosen chain, along with a cache status flag indicating whether the result was served from cache and a units field.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "arbitrum",
    "bsc",
    "robinhood"
   ],
   "type": "string",
   "default": "base",
   "description": "Which chain the token lives on."
  },
  "token": {
   "type": "string",
   "description": "ERC-20 contract address (0x...)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "units": 1,
  "cached": false,
  "output": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-agents-token-price-lookup-224af181/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.dexl.io](https://www.zero.xyz/host/agents.dexl.io/llms.txt)
