# Agent Rest Stop Pair Allow

> Agent Rest Stop Pair Allow is a paid API for AI agents from agent-gas-station.agent-gas-station.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Checks whether a given asset pair (have/want) is permitted according to the configured pair allowlist.

## Facts

- Endpoint: POST https://agent-gas-station.agent-gas-station.workers.dev/v1/PairAllow?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-rest-stop-pair-allow-d48f2378
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fuiPw3GZMfY6gX2rpfCEd

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 agent-rest-stop-pair-allow-d48f2378 -d '<json body>'
```

Example prompt: Before I try to swap USDC for ETH, check if that pair is allowed — I have USDC and want ETH.

## When to prefer this

Use this endpoint when you need a quick binary check on whether a specific asset swap pair is permitted before committing to a trade or route. Prefer this over fetching full route tables or swap tickets when you only need eligibility, not pricing or execution details. Ideal as a guard step in automated trading pipelines.

## Known failure modes

- Missing 'have' or 'want' fields returns a validation error
- Unknown or unsupported asset symbols may return a fail rather than an error
- Network timeout from the Cloudflare Worker edge environment
- Payment not processed (x402) results in 402 response before the check runs

## How this service works

Pass or fail against the pair list.

## Output

A pass or fail response indicating whether the specified asset pair (have → want) is permitted according to the pair allowlist. No additional routing or pricing data is returned — just the binary eligibility decision.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-rest-stop-pair-allow-d48f2378/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-gas-station.agent-gas-station.workers.dev](https://www.zero.xyz/host/agent-gas-station.agent-gas-station.workers.dev/llms.txt)
