# HTTPay Bridge Rates API

> HTTPay Bridge Rates API is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Compares cross-chain bridge rates, fees, and speeds across major Base bridges (LI.FI, Stargate, Across, Hop) for a given currency pair and amount

## Facts

- Endpoint: POST https://httpay.xyz/api/bridge-rates
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-bridge-rates-api-774670fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ptKm-B1dw6Xdis6Wu0nK7

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 httpay-bridge-rates-api-774670fd -d '<json body>'
```

Example prompt: Compare bridge rates and fees for sending 500 USDC from Base to Ethereum mainnet — show me the cheapest and fastest options across all major bridges.

## When to prefer this

Use this endpoint when you need to compare multiple bridge providers simultaneously for Base-ecosystem token transfers, especially when optimizing for cost or speed. Ideal for DeFi agents that need to route bridge transactions intelligently without managing individual bridge integrations. Pay-per-call model at $0.01 USDC means no subscription overhead.

## Known failure modes

- Unsupported currency pair returns empty or error response
- Invalid amount format causes 400-level error
- Bridge provider APIs temporarily unavailable may return incomplete rate data
- Payment of 0.01 USDC via x402 not sent returns 402 Payment Required
- Unsupported chain or token combination returns no results

## How this service works

Compare bridge rates, fees, and speeds across major Base bridges (LI.FI, Stargate, Across, Hop, etc.)

## Output

A JSON object listing available bridge providers (LI.FI, Stargate, Across, Hop, etc.) with their respective rates, fees, and estimated transfer speeds for the specified currency pair and amount on Base.

## Example request

```json
{
 "amount": "100",
 "baseCurrency": "USDC",
 "quoteCurrency": "ETH"
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Compare bridge rates, fees, and speeds across major Base bridges (LI.FI, Stargate, Across, Hop, etc.)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-bridge-rates-api-774670fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
