{"x402Version":2,"name":"onegate","serviceName":"onegate","description":"Verify an x402 seller before your agent pays it. One paid preflight endpoint plus on-chain flow feeds and single-use action leases.","url":"https://onegate.biz.id","serviceUrl":"https://onegate.biz.id","network":"eip155:8453","networks":["eip155:8453","eip155:137","eip155:42161"],"facilitator":"https://facilitator.payai.network","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","services":[{"method":"POST","path":"/v1/x402/preflight","description":"Probe an x402 seller before paying it. Parses v1/v2 402 challenges and checks resource binding, payTo, USDC asset, network, price, timeout, discovery listing, TLS, domain age, DNS, email auth, and payout-wallet history. Returns 20 checks, a 0-100 trust score, and a pay_ok / caution / do_not_pay verdict. Catches malformed challenges, wrong recipients, and price surprises; it is not a guarantee of honest work.","summary":"Preflight an x402 endpoint before your agent pays.","amount":"50000","amountUsd":0.05,"discoverable":true,"outputSchema":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"url":"https://www.api-xpay.com/x402/ping","maxPriceUsdc":0.01}},"output":{"type":"json","example":{"ok":true,"data":{"target":{"status":402,"host":"www.api-xpay.com"},"accepted":{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"5000","amountUsdc":0.005,"usdc":true},"discovery":{"checked":true,"listed":false,"matches":false},"recommendation":"Structurally valid 402 challenge with no hard trust failures. Verify the work before paying a large amount."},"checks":[{"id":"accept.amount","status":"pass","detail":"Price is $0.005000 USDC."},{"id":"seller.tls","status":"pass","detail":"Certificate is valid and expires in 49 days."}],"verdict":"pay_ok","score":84,"meta":{"service":"onegate","engine":"trust402"}}}}},{"method":"GET","path":"/v1/flow/solana","description":"Every Solana swap carries fromUserAccount/toUserAccount, so this endpoint reports WHICH wallet bought and which wallet sold, not just total volume. The first call returns a window snapshot; later calls return only what changed since your anchor.","summary":"Per-token wallet flow on Solana, with full trader attribution.","amount":"20000","amountUsd":0.02,"discoverable":true,"outputSchema":{"input":{"type":"http","method":"GET","queryParams":{"mint":"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263","window":"60","pools":"5"}},"output":{"type":"json","example":{"ok":true,"charged":true,"chain":"solana","first_call":true,"price":{"usd":0.0000031114,"source":"jupiter"},"flow":{"netflow_usd":-869.97,"inflow_usd":12731.28,"outflow_usd":-13601.24,"buys":179,"sells":373,"unique_buyers":82,"unique_sellers":127,"avg_trade_usd":47.7,"largest_trade_usd":902.91},"wallets":{"new_entrants":[{"address":"MfDuWeq…","net_usd":1669.59,"trades":9}],"recurring":41},"anchor":{"at":"2026-10-21T09:49:27.000Z","last_signature":"2KVhUnmE…"}}}}},{"method":"GET","path":"/v1/flow","description":"Not a snapshot. The server stores an anchor per payer, so each later call returns only what changed since that anchor. Switching vendors loses continuity. IMPORTANT: Uniswap V3 swap trader addresses are not indexed, so wallet attribution is only available for V2 pools; use the Solana endpoint for full attribution.","summary":"Per-token wallet flow on EVM, returned as a delta since your last call.","amount":"20000","amountUsd":0.02,"discoverable":true,"outputSchema":{"input":{"type":"http","method":"GET","queryParams":{"token":"0x532f27101965dd16442E59d40670FaF5eBB142E4","network":"eip155:8453","window":"60"}},"output":{"type":"json","example":{"ok":true,"charged":true,"first_call":true,"flow":{"netflow_usd":-12840.55,"buys":214,"sells":189,"unique_buyers":71},"anchor":{"block":52886632}}}}},{"method":"POST","path":"/v1/gate/send","description":"Returns a lease with a 5-minute TTL and de-duplicates identical actions through action_hash. A repeated action from the same wallet is answered DENY / duplicate_action and is never charged.","summary":"Single-use authorisation for a transfer (native / ERC-20 / NFT), plus a signed receipt.","amount":"20000","amountUsd":0.02,"discoverable":true,"outputSchema":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"chain":"eip155:8453","asset":"native","to":"0x000000000000000000000000000000000000dEaD","amount":"1000000000000000"}},"output":{"type":"json","example":{"ok":true,"charged":true,"decision":"ALLOW","lease":{"id":"ls_…","single_use":true,"expires_at":"2026-10-21T06:00:00.000Z"}}}}},{"method":"POST","path":"/v1/gate/swap","description":"Issues a single-use lease for a swap. Deep simulation (debug_traceCall) is not run in this version and the response says so explicitly (level: not_run).","summary":"Authorisation for a swap, with parameter validation, a lease, and a receipt.","amount":"30000","amountUsd":0.03,"discoverable":true,"outputSchema":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"chain":"eip155:8453","token_in":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","token_out":"0x4200000000000000000000000000000000000006","amount_in":"1000000"}},"output":{"type":"json","example":{"ok":true,"charged":true,"decision":"ALLOW","simulation":{"will_revert":null,"level":"not_run"}}}}}],"items":[{"resource":"https://onegate.biz.id/v1/x402/preflight","type":"http","x402Version":2,"method":"POST","description":"Probe an x402 seller before paying it. Parses v1/v2 402 challenges and checks resource binding, payTo, USDC asset, network, price, timeout, discovery listing, TLS, domain age, DNS, email auth, and payout-wallet history. Returns 20 checks, a 0-100 trust score, and a pay_ok / caution / do_not_pay verdict. Catches malformed challenges, wrong recipients, and price surprises; it is not a guarantee of honest work.","mimeType":"application/json","serviceName":"onegate","tags":["x402","trust","preflight","security","agent-payments"],"accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"50000"},{"scheme":"exact","network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"50000"},{"scheme":"exact","network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"50000"}]},{"resource":"https://onegate.biz.id/v1/flow/solana","type":"http","x402Version":2,"method":"GET","description":"Every Solana swap carries fromUserAccount/toUserAccount, so this endpoint reports WHICH wallet bought and which wallet sold, not just total volume. The first call returns a window snapshot; later calls return only what changed since your anchor.","mimeType":"application/json","serviceName":"onegate","tags":["crypto","solana","flow","delta"],"accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"20000"},{"scheme":"exact","network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"20000"},{"scheme":"exact","network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"20000"}]},{"resource":"https://onegate.biz.id/v1/flow","type":"http","x402Version":2,"method":"GET","description":"Not a snapshot. The server stores an anchor per payer, so each later call returns only what changed since that anchor. Switching vendors loses continuity. IMPORTANT: Uniswap V3 swap trader addresses are not indexed, so wallet attribution is only available for V2 pools; use the Solana endpoint for full attribution.","mimeType":"application/json","serviceName":"onegate","tags":["crypto","onchain","flow","delta"],"accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"20000"},{"scheme":"exact","network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"20000"},{"scheme":"exact","network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"20000"}]},{"resource":"https://onegate.biz.id/v1/gate/send","type":"http","x402Version":2,"method":"POST","description":"Returns a lease with a 5-minute TTL and de-duplicates identical actions through action_hash. A repeated action from the same wallet is answered DENY / duplicate_action and is never charged.","mimeType":"application/json","serviceName":"onegate","tags":["crypto","onchain","gate","lease"],"accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"20000"},{"scheme":"exact","network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"20000"},{"scheme":"exact","network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"20000"}]},{"resource":"https://onegate.biz.id/v1/gate/swap","type":"http","x402Version":2,"method":"POST","description":"Issues a single-use lease for a swap. Deep simulation (debug_traceCall) is not run in this version and the response says so explicitly (level: not_run).","mimeType":"application/json","serviceName":"onegate","tags":["crypto","onchain","gate","swap"],"accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"30000"},{"scheme":"exact","network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"30000"},{"scheme":"exact","network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","payTo":"0x43acB64f6Df2B9bc9D471A1129Be110af286485e","amount":"30000"}]}],"freeEndpoints":[{"resource":"https://onegate.biz.id/v1/verify","method":"GET","description":"Verify a receipt or lease without paying."},{"resource":"https://onegate.biz.id/v1/lease","method":"GET","description":"Lease status (active, consumed, or expired)."},{"resource":"https://onegate.biz.id/v1/gate/redeem","method":"POST","description":"Mark a lease as consumed. Free."},{"resource":"https://onegate.biz.id/v1/health","method":"GET","description":"Liveness probe."}],"extensions":{"bazaar":{"discoverable":true}}}