# Coin Railz Batch Quote - Multi-DEX Price Discovery

> Coin Railz Batch Quote - Multi-DEX Price Discovery is a paid API for AI agents from coinrailz.com, paid per call via x402, $0.4/call, status unknown (last checked 2026-09-15).

Fetches price quotes from multiple decentralized exchanges (DEXs) in a single API call for trading bot price discovery

## Facts

- Endpoint: POST https://coinrailz.com/x402/batch-quote
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coin-railz-batch-quote-multi-dex-price-discovery-23be5fee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4U5eiCKGXmggq2_ghunZ-

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 coin-railz-batch-quote-multi-dex-price-discovery-23be5fee -d '<json body>'
```

Example prompt: Pull price quotes from all available DEXs at once for ETH/USDC and BTC/USDC — I need the best available rates across Uniswap, Curve, and other major DEXs so my trading bot can pick the cheapest swap.

## When to prefer this

Choose this endpoint when a trading bot or portfolio agent needs price quotes from multiple DEXs simultaneously and cannot afford the latency of sequential individual queries. Ideal for arbitrage detection, best-execution routing, or real-time price comparison across DeFi protocols in a single low-latency call.

## Known failure modes

- Invalid or unsupported token pair returns error
- Payment not received or insufficient USDC balance causes 402 rejection
- Network congestion or DEX unavailability may cause partial results
- Malformed request body returns validation error
- Rate limiting if too many concurrent calls from same agent

## How this service works

Multi-DEX price quotes in single call - critical infrastructure for trading bot price discovery (B2B2C infrastructure)

## Output

Returns a JSON object with success status, service name, timestamp, and aggregated price quote results from multiple DEX sources in a single response, enabling price comparison across exchanges.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Query parameter for the service"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "application/json",
 "format": "json",
 "example": {
  "result": "Service executed successfully",
  "service": "batch-quote",
  "success": true,
  "timestamp": "2026-02-07T01:42:26.773Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coin-railz-batch-quote-multi-dex-price-discovery-23be5fee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinrailz.com](https://www.zero.xyz/host/coinrailz.com/llms.txt)
