{"uid":"cap_-UTyNDnlt-urJ-sPhFMNb","slug":"onegate-evm-token-flow-analyzer-x402-1ae85271","name":"onegate — EVM Token Flow Analyzer (x402)","description":"onegate is a set of pay-per-call x402 endpoints for AI agents. It includes a preflight checker that verifies an x402 seller before your agent pays it, on-chain swap flow feeds with wallet attribution, single-use action leases with signed receipts, and an MCP server. No account, no API key.","url":"https://onegate.biz.id/v1/flow?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["token","network"],"properties":{"token":{"type":"string","example":"0x532f27101965dd16442E59d40670FaF5eBB142E4","description":"EVM token contract address (0x + 40 hex)"},"window":{"type":"integer","default":60,"maximum":1440,"minimum":1,"description":"lookback window in minutes, 1..1440, default 60"},"network":{"type":"string","example":"eip155:8453","description":"CAIP-2: eip155:8453 (Base), eip155:137 (Polygon), eip155:42161 (Arbitrum)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"flow":{"buys":214,"sells":189,"netflow_usd":-12840.55,"unique_buyers":71},"anchor":{"block":52886632},"charged":true,"first_call":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jByeWHegiM4iqq5C5Znjk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns buy/sell flow statistics, net flow in USD, and unique buyer counts for an EVM token contract address over a configurable lookback window, charged per call via x402.","exampleAgentPrompt":"Can you pull the trading flow stats for the token at 0x532f27101965dd16442E59d40670FaF5eBB142E4 on Base (eip155:8453) over the last 60 minutes — I want to see buys, sells, net flow in USD, and unique buyers?","exampleUseCases":[{"title":"Token momentum check before trade","prompt":"Look up the buy/sell flow for 0x532f27101965dd16442E59d40670FaF5eBB142E4 on Base over the last 30 minutes — is it net positive or negative flow, and how many unique buyers have there been?"},{"title":"DeFi bot monitoring token health","prompt":"Every hour, check the token flow for 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Polygon (eip155:137) over a 60-minute window and alert me if net flow drops below negative $10,000."},{"title":"Suspicious token activity investigation","prompt":"I think this token contract 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Arbitrum (eip155:42161) might be getting dumped — can you check the last 90 minutes of buy/sell flow and tell me the net USD flow and unique buyer count?"}],"resultDescription":"A JSON object with: ok (boolean success flag), flow object containing buys (integer), sells (integer), netflow_usd (signed float, negative = net selling), and unique_buyers (integer); anchor object with the block number used as reference; charged (boolean indicating payment was processed); and first_call (boolean).","failureModes":["Invalid or malformed token address returns an error — must be 0x + 40 hex characters","Unsupported CAIP-2 network identifier returns an error — only eip155:8453, eip155:137, eip155:42161 supported","Window value outside 1–1440 range is rejected","Payment failure via x402 results in 402 response and no data returned","Token contract with no on-chain activity may return zero counts with ok:true","Network congestion may cause stale anchor block data"],"whenToPreferThis":"Use this endpoint when you need rapid, pay-per-call on-chain token flow analytics without an API key or account setup. Ideal for agents that need to check trading momentum or net flow for a specific EVM token contract on Base, Polygon, or Arbitrum with a configurable time window, and want to pay micro-amounts in USDC per call via x402 rather than maintain a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T12:55:37.681Z","isFirstParty":false,"canonicalSlug":"onegate-evm-token-flow-analyzer-x402-1ae85271"}