# RelAI DEX List API

> RelAI DEX List API is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-08).

Fetches a curated list of decentralized exchanges (DEXes) and their metadata for a specified blockchain network.

## Facts

- Endpoint: POST https://api.relai.fi/relay/1772442473781/v4/%7Bchain%7D/dexList
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-relai-fi-bc0a6fd8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wrxsET4yFJcrAo9zPnyy3

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 api-relai-fi-bc0a6fd8 -d '<json body>'
```

Example prompt: Can you get me the full list of decentralized exchanges and their metadata available on the Ethereum chain using the RelAI DEX list?

## When to prefer this

Use this endpoint when you need a curated, up-to-date list of DEXes for a specific blockchain — especially useful for DeFi routing agents, swap aggregators, or applications that need to enumerate available exchange protocols on a given chain. Prefer this over manual curation or static lists when freshness and metadata completeness matter.

## Known failure modes

- Invalid or unsupported chain identifier returns empty list or error
- Payment not fulfilled results in 402 response
- Unrecognized chain path parameter causes 400 or 404 error
- Network timeout or relay service unavailability returns 5xx error

## How this service works

Fetches a curated list of decentralized exchanges and their metadata for the specified blockchain (chain path parameter).

## Output

A curated list of decentralized exchanges (DEXes) supported on the specified blockchain, including metadata such as exchange names, protocol details, and other relevant attributes for each DEX on that chain.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-relai-fi-bc0a6fd8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
