Tollgate

[ x402 / USDG / chain 4663 ]

x402 payment rails for AI agents.

Put a price on any endpoint. Agents pay per request in USDG, settle on Robinhood Chain in about a block, and never hold a single API key.

Robinhood Chain·4663
agent ⇄ gateway.tollgate402.comx402 · eip155:4663
  1. Discover
  2. 402
  3. Authorize
  4. Settle
  5. Receipt
  • →GET /.well-known/x4028 routes
  • →GET /x402/premiumno payment
  • ←402 Payment Required0.01 USDG
  • ✎user approved · sign PaymentIntentEIP-712
  • ⛓transfer USDG → payTo#91,016,422
  • ←200 OK · X-PAYMENT-RESPONSE98 ms
replay-protected nonce · 60 s expiryreceipt issued

AFor agent developers

Let your agent pay its own way.

Give Claude Code, Cursor or any skill-aware agent a price list and a wallet. It discovers paid routes, reads the 402 challenge and pays only after you approve.

BFor operators

Price an endpoint in one block of config.

Gate any route, then watch gate hits, settlements and brokered vault calls stream into the console. Fire a real 402 from the playground, no wallet needed.

01For agents

Install once. Pay per call.

Drop the Tollgate skill into any project. Your agent reads the paid route catalog, receives a real 402 challenge and asks before it spends. When you approve, it signs a bounded USDG PaymentIntent and the gateway settles it on-chain.

~/agent · tollgate-x402
  1. 1

    Clone the gateway repo

    skill, gateway and smoke tests ship together

  2. 2

    Copy SKILL.md into .claude/skills/tollgate-x402

    picked up on the next agent session

  3. 3

    Point TOLLGATE_URL at any gateway

    yours, or the public reference gateway

  • Works with Claude Code, Cursor and any skill-aware agent
  • Browsing the catalog is free and needs no wallet
  • Spends only after you approve, inside a per-session cap
  • Every paid call returns a receipt anchored to a transaction
02Mechanism

One status code. Four moves. No accounts, no credits.

HTTP 402 finally does what it was reserved for. Tollgate turns it into a challenge an agent can read, a payment a human can approve and a receipt anyone can check.

  1. 01

    Discover

    The agent lists priced routes from /.well-known/x402. Reading the catalog never costs anything.

    GET /.well-known/x402

  2. 02

    Authorize

    You approve one bounded PaymentIntent: one route, one price, one nonce and a 60-second expiry.

    EIP-712 · signTypedData

  3. 03

    Settle

    The facilitator verifies the signature and moves USDG on Robinhood Chain before the request is forwarded.

    transferWithAuthorization

  4. 04

    Receipt

    The agent replays with X-PAYMENT and gets the response, plus a receipt tied to the settlement tx.

    200 · X-PAYMENT-RESPONSE

03Proof flow

One paid call, fully measured.

Nine stops on two lines. The payment line runs on every request; the measurement line is what makes every cent auditable afterwards.

L1

The payment

every call · ~100 ms

  1. 01

    Client request

    GET /x402/premium

  2. 02

    402 Payment Required

    price · asset · nonce

  3. 03

    Sign PaymentIntent

    EIP-712 · USDG

  4. 04

    Facilitator settles

    verify → transfer

  5. 05

    200 OK

    payload in ~100 ms

↓

stop 04 writes to stop 08 · every settlement lands in the route's analytics

L2

The measurement

every event · in the console

  1. 06

    Route registered

    path + USDG price

  2. 07

    Gate enforced

    402 until paid

  3. 08

    Settlement recorded

    tx hash · block

  4. 09

    Visible in console

    charts · routes · audit

  • Client side
  • Payment gate
  • Settlement & USDG
04Gateway telemetry

Traffic on the rails, right now.

Counters and gate hits from the reference gateway at gateway.tollgate402.com: routes priced, challenges issued, secrets brokered and USDG settled.

Paid APIs
0
priced routes on this gateway
402 gates hit
0
challenges issued, all time
Vault secrets + brokered calls
0 + 0
keys never shown to a model
USDG settled
0.00
on Robinhood Chain

Gate log

gateway.tollgate402.com

StatusRoutePriceAge
200/x402/news0.01 2s
402/x402/alerts0.01 26s
402/x402/market-analytics0.05 30s
200/x402/premium0.01 40s
402/x402/premium0.01 56s
402/x402/news0.01 1m
200/x402/geo0.005 1m
200/x402/premium0.01 1m
05For operators

Run it yourself. Watch every cent land.

Tollgate is a single Node service: read-only RPC proxy, x402 gates, credential vault, agent wallets and on-chain settlement. The console shows every gate hit and transfer as it happens.

  • 01Live gate hits, settlements and brokered vault calls
  • 02Playground: send a real 402 and pay it without a wallet
  • 03Paid sessions: settle once, call N times
  • 04Nonce replay protection, 429 + Retry-After on burst
  • 05Ships with a smoke-test suite you can run in CI
~/gateway · self-hosted

06Why it exists

Infrastructure, not a storefront.

x402 is an open standard, and agents need rails they can trust without trusting us. Tollgate is those rails, for anyone serving agents.

  1. Payments, not promises

    Each call is priced and settled per request, or once per paid session. No credits to top up, no invoices, no monthly minimums.

  2. Model-proof vault

    Secrets are sealed with AES-256-GCM and substituted at egress. The model only ever sees [REDACTED], and echoes are scrubbed on the way back.

  3. Identity with receipts

    Every agent gets a wallet, an API key and a reputation score built from settled payments, each one anchored to a transaction.

  4. Open source, MIT

    One self-hostable Node service. Fork it, audit it, run it next to your API. Nothing phones home; there is no telemetry.

07 Network token

$TOLL is live.

The Tollgate network token is deployed on Robinhood Chain, the same chain every gate settles on.

Ticker
$TOLL
Network
Robinhood Chain·4663

Build for agents. Get paid per call.

Install the skill and let an agent discover, pay and verify. Or open the console and watch a 402 turn into a receipt.