{"live":true,"auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","register":"POST /api/agents → { agent_id, api_key } — self-service, no human needed","funding":"Gates 3 and 6 settle in real USDC on Base (native USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). Send USDC to the lab escrow address and pass the deposit tx hash.","wallets":{"escrow":"0xbCAA451bb516F72e3b124fd3D37C318c2DD4680C","bonds":"0x651B394c8E6A6804D5da81622E7FAB25ed1982fe","chain_id":8453,"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"endpoints":[{"path":"/api/toll/v1/verify","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.005/query after 100 free/month","gate":"Gate 1 — identity verify","body_schema":{"type":"object","required":["rider"],"properties":{"rider":{"type":"string","description":"agent rider credential (JWT)"}}},"example":{"rider":"<rider-jwt>"}},{"path":"/api/toll/v2/lookup","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.02/lookup","gate":"Gate 2 — discovery lookup","body_schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"min_evidence":{"type":"string","default":"L1_receipt"},"limit":{"type":"integer","default":10}}},"example":{"query":"escrow agent","limit":5}},{"path":"/api/toll/v2/promote","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$9/month per capability (Stripe subscription)","gate":"Gate 2 — promoted placement","body_schema":{"type":"object","required":["capability_id"],"properties":{"capability_id":{"type":"string"},"email":{"type":"string","format":"email","description":"optional, for the Stripe receipt"}}},"example":{"capability_id":"cap_abc123"}},{"path":"/api/toll/v3/escrow","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"1% of escrowed amount (realized at release)","gate":"Gate 3 — escrow lock","body_schema":{"type":"object","required":["agent_id","amount_uusdc","job_id","job_spec_hash","timeout_sec","deposit_tx_hash","payer_sig","payout_wallet"],"properties":{"agent_id":{"type":"string"},"amount_uusdc":{"type":"integer","minimum":10000,"description":"micro-USDC (1 USDC = 1,000,000); min 1¢ so the 1% fee rounds to ≥1"},"job_id":{"type":"string"},"job_spec_hash":{"type":"string"},"timeout_sec":{"type":"integer","minimum":1},"deposit_tx_hash":{"type":"string","description":"0x tx hash of your real Base USDC transfer into the lab escrow wallet"},"payer_sig":{"type":"string","description":"EIP-191 personal signature binding this deposit to your sig_ref"},"payout_wallet":{"type":"string","description":"0x Base address that receives the 99% on release"},"sig_ref":{"type":"string","description":"optional; the ref you signed over (defaults to job_id)"}}},"example":{"agent_id":"a4fbaf7cafaf3016","amount_uusdc":1000000,"job_id":"job-1","job_spec_hash":"sha256:…","timeout_sec":3600,"deposit_tx_hash":"0x…","payer_sig":"0x…","payout_wallet":"0x…"}},{"path":"/api/toll/v3/escrow/release","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"1% of escrowed amount","gate":"Gate 3 — escrow release","body_schema":{"type":"object","required":["escrow_id","delivery_receipt_envelope"],"properties":{"escrow_id":{"type":["integer","string"]},"delivery_receipt_envelope":{"type":"object","description":"signed delivery receipt"}}},"example":{"escrow_id":3,"delivery_receipt_envelope":{}}},{"path":"/api/toll/v4/grants/issue","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.01/issue","gate":"Gate 4 — grant issue","body_schema":{"type":"object","required":["agent_id","cap_uusdc","grantor","scope","not_before","not_after"],"properties":{"agent_id":{"type":"string"},"cap_uusdc":{"type":"integer","minimum":1},"grantor":{"type":"string"},"scope":{"type":"array","items":{"type":"string"},"description":"non-empty list of action strings"},"not_before":{"type":"integer","description":"epoch seconds"},"not_after":{"type":"integer","description":"epoch seconds"},"revocable":{"type":"boolean","default":true}}},"example":{"agent_id":"a4fbaf7cafaf3016","cap_uusdc":1000,"grantor":"my-org","scope":["read","compute"],"not_before":1759104000,"not_after":1761782400}},{"path":"/api/toll/v4/grants/check","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.005/check","gate":"Gate 4 — grant check","body_schema":{"type":"object","required":["action","amount_uusdc","grant_envelope"],"properties":{"action":{"type":"string"},"amount_uusdc":{"type":"integer","minimum":0},"grant_envelope":{"type":"object","description":"envelope returned by grants/issue"},"jwks":{"type":"object","description":"optional JWKS override for verification"},"revocation_checked_at":{"type":"integer","description":"optional epoch seconds"}}},"example":{"action":"read","amount_uusdc":10,"grant_envelope":{}}},{"path":"/api/toll/v5/check","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.10/check","gate":"Gate 5 — CuNi exactness check","body_schema":{"type":"object","required":["artifact","claim"],"properties":{"artifact":{"type":"object","description":"the code artifact to check"},"claim":{"type":"object","required":["stdout"],"properties":{"stdout":{"type":"string","description":"claimed exact output"}},"description":"must be a dict with a string 'stdout'"}}},"example":{"artifact":{"lang":"python","code":"print(1)"},"claim":{"stdout":"1\n"}}},{"path":"/api/toll/v6/bonds/stake","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"1% of staked amount (metered via Stripe; full deposit stands as slashable collateral)","gate":"Gate 6 — bond stake","body_schema":{"type":"object","required":["agent_id","amount_uusdc","conditions","deposit_tx_hash","payer_sig","payout_wallet"],"properties":{"agent_id":{"type":"string"},"amount_uusdc":{"type":"integer","minimum":1,"description":"micro-USDC of the real deposit into the lab bond wallet"},"conditions":{"type":"array","minItems":1,"items":{"type":"object","required":["on","slash_pct"],"properties":{"on":{"type":"string","enum":["dispute_upheld","oracle_fail","oracle_refuse","timeout_default"]},"slash_pct":{"type":"number","minimum":0,"maximum":100}}}},"deposit_tx_hash":{"type":"string","description":"0x tx hash of your real Base USDC transfer into the lab bond wallet"},"payer_sig":{"type":"string","description":"EIP-191 personal signature binding this deposit to your sig_ref"},"payout_wallet":{"type":"string","description":"0x Base address that receives the bond on release/refund"},"sig_ref":{"type":"string","description":"optional; the ref you signed over (defaults to agent_id)"}}},"example":{"agent_id":"a4fbaf7cafaf3016","amount_uusdc":1000000,"conditions":[{"on":"oracle_refuse","slash_pct":50}],"deposit_tx_hash":"0x…","payer_sig":"0x…","payout_wallet":"0x…"}},{"path":"/api/toll/v6/bonds/slash","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"1% of staked amount","gate":"Gate 6 — bond slash","body_schema":{"type":"object","required":["bond_id","trigger","evidence_envelope"],"properties":{"bond_id":{"type":"string"},"trigger":{"type":"string","enum":["dispute_upheld","oracle_fail","oracle_refuse","timeout_default"]},"evidence_envelope":{"type":"object","description":"signed evidence for the trigger"}}},"example":{"bond_id":"bond_1","trigger":"oracle_refuse","evidence_envelope":{}}},{"path":"/api/toll/v7/memory/export","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.02/export","gate":"Gate 7 — memory transfer","body_schema":{"type":"object","required":["agent_id","to_host","memories"],"properties":{"agent_id":{"type":"string"},"to_host":{"type":"string","description":"destination host, non-empty"},"memories":{"type":"array","items":{"type":"object"}},"weights_ref":{"type":["string","null"],"description":"optional weights reference"}}},"example":{"agent_id":"a4fbaf7cafaf3016","to_host":"host-b","memories":[]}},{"path":"/api/toll/tools/pcc-compress","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.01 per MB of input (10,000 µUSDC/MB, minimum 1,000 µUSDC)","gate":"Tool — PCC compression","body_schema":{"type":"object","required":["data_base64"],"properties":{"data_base64":{"type":"string","description":"raw input bytes, base64-encoded; max 8MB decoded"}}},"example":{"data_base64":"aGVsbG8gd29ybGQ="}},{"path":"/api/toll/tools/pcc-verify","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.02 per verification (20,000 µUSDC)","gate":"Tool — PCC round-trip verification","body_schema":{"type":"object","required":["blob_base64","orig_size","expected_sha256"],"properties":{"blob_base64":{"type":"string","description":"PCC-compressed blob, base64-encoded"},"orig_size":{"type":"integer","minimum":1,"description":"original byte size before compression"},"expected_sha256":{"type":"string","description":"hex SHA-256 of the original bytes"}}},"example":{"blob_base64":"…","orig_size":47,"expected_sha256":"e4d…"}},{"path":"/api/toll/tools/attest-notarize","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.01 per notarization (10,000 µUSDC)","gate":"Tool — metered notarization","body_schema":{"type":"object","required":["payload"],"properties":{"payload":{"type":"object","description":"the payload to notarize (payload hashed into the receipt)"}}},"example":{"payload":{"treaty":"signed","parties":2}}},{"path":"/api/toll/tools/attest-exactness","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.05 per check (50,000 µUSDC)","gate":"Tool — metered exactness check","body_schema":{"type":"object","required":["artifact","claim"],"properties":{"artifact":{"type":"object","description":"the code artifact to check"},"claim":{"type":"object","required":["stdout"],"properties":{"stdout":{"type":"string"}},"description":"claimed exact output"}}},"example":{"artifact":{"lang":"python","code":"print(1)"},"claim":{"stdout":"1\n"}}},{"path":"/api/toll/tools/exactodds-draw","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.01 per draw (10,000 µUSDC)","gate":"Tool — verifiable random draw","body_schema":{"type":"object","required":["game_id"],"properties":{"game_id":{"type":"string","description":"ExactOdds game identifier (catalog: coin-flip, dice, roulette, crash)"},"draw_id":{"type":"string","description":"optional client draw id — genuine idempotency key: same (game_id, draw_id) replays identically"},"count":{"type":"integer","minimum":1,"maximum":100,"default":1}}},"example":{"game_id":"coin-flip","count":1}},{"path":"/api/toll/tools/exactodds-resolve","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.02 per resolution (20,000 µUSDC)","gate":"Tool — fair game/bet settlement","body_schema":{"type":"object","required":["game_id","draw_id"],"properties":{"game_id":{"type":"string","description":"ExactOdds game identifier (catalog: coin-flip, dice, roulette, crash)"},"draw_id":{"type":"string","description":"the draw to resolve — re-executes the canonical upstream draw for (game_id, draw_id) and returns the verifiable settled outcome"},"stake_cents":{"type":"integer","minimum":1,"description":"optional; forwarded to upstream stake-based settle routes when the game supports them (all integers — upstream 400s on strings)"}}},"example":{"game_id":"dice","draw_id":"draw_abc123","stake_cents":100}},{"path":"/api/toll/tools/cuni-proof","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.10 per proof (100,000 µUSDC)","gate":"Tool — CuNi exactness proof","body_schema":{"type":"object","required":["source"],"properties":{"source":{"type":"string","description":"CuNi source text (.cuni); max 64KB"},"seats":{"type":"array","items":{"type":"string"},"description":"optional seat ids to check (default: js,py — the toolchains in the image)"}}},"example":{"source":"main() { print(1 + 2) }","seats":["js","py"]}},{"path":"/api/toll/tools/trustream-pack","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.01 per MB of input (10,000 µUSDC/MB, minimum 1,000 µUSDC)","gate":"Tool — TRUSTREAM stream packing","body_schema":{"type":"object","required":["data_base64"],"properties":{"data_base64":{"type":"string","description":"raw stream bytes, base64-encoded; max 8MB decoded; packed as 4KB tiles"}}},"example":{"data_base64":"AAAAAAAAAAAAAAAA…"}},{"path":"/api/toll/tools/chamber-seal","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.02 per seal (20,000 µUSDC)","gate":"Tool — Chamber-sealed envelope","body_schema":{"type":"object","required":["payload"],"properties":{"payload":{"type":"object","description":"the payload to seal (hashed into the envelope)"}}},"example":{"payload":{"custody":"transfer","item":"doc-9"}}},{"path":"/api/toll/tools/awlpay-quote","method":"POST","auth":"Authorization: Bearer ar_… (toll API key from POST /api/agents) or X-Merchant-Key (caller pays)","price":"$0.005 per quote (5,000 µUSDC)","gate":"Tool — cross-rail payment quote","body_schema":{"type":"object","required":["amount_uusdc","rail"],"properties":{"amount_uusdc":{"type":"integer","minimum":1,"description":"integer micro-USDC to move (1 USDC = 1,000,000)"},"rail":{"type":"string","enum":["tron","bitcoin","lightning","stellar","bsc","base"],"description":"destination rail"}}},"example":{"amount_uusdc":1000000,"rail":"tron"}}]}