# Tollex x402 Payment Requirements Lookup

> Tollex x402 Payment Requirements Lookup is a paid API for AI agents from api.tollex.org, paid per call via x402, $0.0079/call, status unknown (last checked 2026-10-11).

Fetches the x402 payment requirements (price, accepted tokens, network) for a given API endpoint URL before purchasing access

## Facts

- Endpoint: POST https://api.tollex.org/tools/x402_get_requirements?utm_source=zero.xyz
- Price: $0.0079/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollex-x402-payment-requirements-lookup-3800e18f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1X-Bp4kXsslok2SFPo7ZK

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 tollex-x402-payment-requirements-lookup-3800e18f -d '<json body>'
```

Example prompt: Before we buy access, check what payment terms https://merchant.example/v1/quote requires — I need to know the price, which token it accepts, and which network it runs on.

## When to prefer this

Use this endpoint when an agent needs to inspect the payment requirements of an x402-gated API before committing to a purchase — especially to enforce spending policies, compare costs, or determine which token and network a merchant accepts. It is a read-only pre-flight check and should always be called before executing a payment through Tollex.

## Known failure modes

- URL is not an x402-enabled endpoint — returns no payment requirements or an error
- Malformed or unreachable URL — network timeout or connection error
- URL exceeds 2048 character limit — validation error
- Target merchant server returns unexpected response format — parsing failure
- URL does not begin with http:// or https:// — schema validation rejection

## How this service works

Tollex lets software agents buy APIs and tools under rules you set: it finds a capability that fits, checks your policy before anything is signed, pays with x402 in USDC on Base or USDG on Robinhood Chain, reconciles uncertain payments and returns a signed receipt.

## Output

Returns the x402 payment requirements for the specified URL, including the required payment amount, accepted stablecoin token (e.g. USDC on Base or USDG on Robinhood Chain), target network, and any additional payment policy fields needed before initiating a purchase.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https?://",
   "examples": [
    "https://merchant.example/v1/quote"
   ],
   "maxLength": 2048
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": {
   "id": "x402_get_requirements",
   "version": "1.0.0",
   "provider": "tollex.robinhood-chain"
  },
  "result": {
   "accepts": [
    {
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "payTo": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
     "amount": "10000",
     "scheme": "exact",
     "network": "eip155:8453",
     "maxTimeoutSeconds": 300
    }
   ],
   "fetchedAt": "2026-10-11T08:00:00.000Z",
   "acceptsHash": "0x7a3d7400b27830f4f91c2c16a082486d67c1befecaec2f53b33f1f35d5b62036"
  },
  "evidence": [],
  "untrustedOutput": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollex-x402-payment-requirements-lookup-3800e18f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tollex.org](https://www.zero.xyz/host/api.tollex.org/llms.txt)
