# Beggar Bot LIFI Routes (Base Mainnet)

> Beggar Bot LIFI Routes (Base Mainnet) is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-23).

Fetches DeFi routing/swap routes via LI.FI protocol on Base mainnet, paid per call via x402 micropayment

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/lifiroutes?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-lifi-routes-base-mainnet-fa2ca744
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wek_oUmAeRdTp2j_e2a9L

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 beggar-bot-lifi-routes-base-mainnet-fa2ca744
```

Example prompt: Can you look up the available LI.FI swap routes on Base mainnet for moving USDC to ETH, and show me the best options?

## When to prefer this

Use this endpoint when you need to discover DeFi swap or bridge routes via the LI.FI aggregator specifically on Base mainnet, particularly in agent workflows that need to pay per query via x402 micropayments. Prefer this over direct LI.FI API calls when operating in a pay-per-use agent context on Base.

## Known failure modes

- Payment not received — x402 payment of $0.02 USDC on Base mainnet required before data is returned
- Invalid or missing properties parameter returns error or empty routes
- No routes available for the requested token pair or chain combination
- Network congestion or LI.FI API unavailability causes timeout or empty response
- base-sepolia network parameter accepted but mainnet is default; mismatched network can yield no results

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

Returns a JSON object containing available LI.FI swap or bridge routes on Base mainnet, including token paths, DEX or bridge providers involved, estimated output amounts, and fees for each route option.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-lifi-routes-base-mainnet-fa2ca744/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
