# the402.ai Purchase: Route Liquidity

> the402.ai Purchase: Route Liquidity is a paid API for AI agents from api.the402.ai, paid per call via x402, $0.368/call, status unknown (last checked 2026-09-15).

Purchases a route liquidity service via the402.ai marketplace, optimizing token or payment routing paths for AI agents

## Facts

- Endpoint: POST https://api.the402.ai/v1/services/svc_bcea2cc056854190/purchase
- Price: $0.368/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-the402-ai-4b4f1f88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Pn9P2kxbIlwT-6_3eMm4c

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-the402-ai-4b4f1f88 -d '<json body>'
```

Example prompt: Can you purchase the route liquidity service on the402 marketplace to find and optimize the best routing path for my current token transfer — I need the most efficient liquidity route available right now.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically identify and purchase optimal liquidity routing for token or payment flows, especially within the the402.ai agentic marketplace ecosystem. Prefer this over generic DEX routing when you want a marketplace-managed, pay-per-use routing service billed via the x402 micropayment protocol.

## Known failure modes

- Insufficient USDC balance to cover $0.368 per call fee
- Invalid or expired service ID svc_bcea2cc056854190
- Payment authorization failure via x402 protocol
- Route computation fails due to insufficient liquidity available
- Service temporarily unavailable or rate limited
- Malformed request body or missing required routing parameters

## How this service works

Purchase: Route Liquidity

## Output

A confirmation of the liquidity routing purchase along with the computed optimal route details, including liquidity allocation, path information, and any routing efficiency metrics returned by the service.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id"
 ],
 "properties": {
  "id": {
   "type": "string"
  }
 }
}
```

## More

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