AxonGate

The Clean Context Broker is an x402-paid Web-to-Markdown API for agents that need token-efficient public web context. It runs on Base mainnet, accepts USDC, and checks dynamic unit economics before supplier work.

Service Contract

Paid endpoint
POST /v1/x402/access
Retry endpoint
POST /v1/x402/retry
Network
Base mainnet, eip155:8453
Vault
0xcD11393c8505C5A44F8b998E0c96BcC5698d76A7
Asset
USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Facilitator
https://facilitator.payai.network

Pricing

The recommended tier for production agent calls is fresh. Cached is available for low-cost reuse after AxonGate already has a copy; basic, fresh, and deep cover live supplier-backed workloads.

TierPriceCache policy
cached0.015 USDCcache-only; no upstream fetch on miss
basic0.02 USDCstandard cache, 3600 seconds
fresh0.03 USDCbypass cache
deep0.05 USDCshort cache, 1800 seconds

Standard x402 Flow

  1. Probe /v1/x402/access or read /.well-known/x402 to discover payment requirements.
  2. Create an x402 payment proof for the selected tier and Base USDC amount.
  3. POST a JSON body with target_url, optional tier, and optional force_refresh.
  4. Send the proof in PAYMENT-SIGNATURE. AxonGate verifies payment, margin, target safety, and then fetches clean markdown.

Request Body

{
  "target_url": "https://example.com/source",
  "tier": "fresh",
  "force_refresh": true
}

Example

curl -X POST https://web-production-8136ee.up.railway.app/v1/x402/access \
  -H "Content-Type: application/json" \
  -H "PAYMENT-SIGNATURE: <x402-payment-proof>" \
  -d '{"target_url":"https://example.com/source","tier":"fresh","force_refresh":true}'

Retry Credits

If payment succeeds but a retryable supplier or network outage prevents delivery, AxonGate can return 503 with X-AxonGate-Retry-Credit. The client can call /v1/x402/retry with the same request body and the retry credit, without paying twice.

Supply Guards

AxonGate rejects unsafe targets before payment-funded supplier work, blocks private and loopback address space, follows bounded redirects, caps content size, rate-limits abuse patterns, and fails closed when dynamic gas pricing or supplier availability would make delivery uneconomic.