{"service":"gate402","description":"x402 M2M payment gateway — pay-per-call agent APIs.","publicUrl":"https://gate402.app","payment":{"protocol":"x402","currency":"USDC","networks":["eip155:8453","eip155:137","eip155:42161","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"rails":[{"type":"x402","header":"PAYMENT-SIGNATURE","description":"Crypto micropayment in USDC on any supported network."},{"type":"mpp","header":"Authorization: Payment <token>","description":"Stripe Machine Payments Protocol (card, per-call, ~$0.50 min).","createTokenUrl":"https://gate402.app/mpp/stripe/create-token","discovery":"https://gate402.app/.well-known/mpp.json"},{"type":"api-key","header":"X-API-Key","description":"Prepaid/postpaid account billed by card.","topUp":"https://gate402.app/ops/billing/checkout"}],"howTo":"Call the endpoint; receive HTTP 402; pay via x402 (PAYMENT-SIGNATURE), Stripe MPP (Authorization: Payment), or present an X-API-Key."},"endpoints":[{"route":"/v1/proxy","name":"nodeproxy","description":"Fetch any public URL, render client-side JS, strip nav/ads, return clean LLM-ready Markdown.","priceUsdc":0.002,"input":{"type":"object","properties":{"arguments":{"type":"object","properties":{"url":{"type":"string","description":"Public URL to fetch"}},"required":["url"]}},"required":["arguments"]},"inputExample":{"arguments":{"url":"https://example.com"}},"outputExample":{"content":[{"type":"text","text":"# Title\n\nBody markdown…"}]},"method":"POST","url":"https://gate402.app/v1/proxy"},{"route":"/v1/proxy/stealth","name":"nodeproxy-stealth","description":"Hardened headless fetch for JS-heavy / lightly-protected pages. (Full residential-proxy + CAPTCHA anti-bot bypass activates when proxy credentials are configured; best-effort otherwise.)","priceUsdc":0.05,"input":{"type":"object","properties":{"url":{"type":"string","description":"Protected URL to scrape"}},"required":["url"]},"inputExample":{"url":"https://example.com"},"outputExample":{"content":[{"type":"text","text":"# Title\n\nContent…"}],"stealth":{"proxyUsed":true}},"method":"POST","url":"https://gate402.app/v1/proxy/stealth"},{"route":"/v1/minify","name":"tokensqueezer","description":"Compress text: strip filler, collapse JSON, densify prose. Cuts upstream LLM token spend ~40%.","priceUsdc":0.005,"input":{"type":"object","properties":{"text":{"type":"string","description":"Text to compress"},"format":{"type":"string","enum":["auto","plain","markdown","json"]},"aggressive":{"type":"boolean"}},"required":["text"]},"inputExample":{"text":"Long verbose passage to compress for LLM ingestion.","format":"auto"},"outputExample":{"compressed":"Dense text…","stats":{"inputTokens":12000,"outputTokens":7200,"reductionPercent":40}},"method":"POST","url":"https://gate402.app/v1/minify"},{"route":"/v1/onchain","name":"onchain_intel","description":"On-chain wallet & token intelligence on Base: native + ERC-20 balances, EOA/contract detection, tx count, and token metadata. From public RPC.","priceUsdc":0.01,"input":{"type":"object","properties":{"address":{"type":"string","description":"Base address (wallet or token contract), 0x-hex."},"tokens":{"type":"array","items":{"type":"string"},"description":"Optional extra ERC-20 contract addresses to check."}},"required":["address"]},"outputExample":{"address":"0x…","network":"eip155:8453","type":"wallet","native":{"symbol":"ETH","balance":"0.12"},"transactionCount":42,"holdings":[{"token":"0x833589…","symbol":"USDC","decimals":6,"balance":"26.82"}]},"method":"POST","url":"https://gate402.app/v1/onchain"},{"route":"/v1/dex","name":"dex_market","description":"Live DEX price, liquidity, and 24h volume for a Base token across its trading pairs.","priceUsdc":0.01,"input":{"type":"object","properties":{"address":{"type":"string","description":"Base ERC-20 token contract address."}},"required":["address"]},"outputExample":{"address":"0x…","chain":"base","topPriceUsd":"1.00","pairs":[{"dex":"aerodrome","priceUsd":"1.00","liquidityUsd":1200000,"volume24h":450000}]},"method":"POST","url":"https://gate402.app/v1/dex"},{"route":"/v1/news","name":"news_signal","description":"Recent news headlines + heuristic bull/bear sentiment for a ticker or topic.","priceUsdc":0.02,"input":{"type":"object","properties":{"query":{"type":"string","description":"Ticker, company, or topic."},"limit":{"type":"number"}},"required":["query"]},"outputExample":{"query":"NVDA","count":10,"sentiment":{"score":0.4,"label":"bullish"},"items":[{"title":"…","source":"Reuters","url":"https://…"}]},"method":"POST","url":"https://gate402.app/v1/news"},{"route":"/v1/edgar","name":"edgar_filings","description":"Latest SEC EDGAR filings (10-K/10-Q/8-K) for a US ticker or CIK, with document links.","priceUsdc":0.02,"input":{"type":"object","properties":{"ticker":{"type":"string","description":"US stock ticker, e.g. AAPL."},"cik":{"type":"string"},"form":{"type":"string"},"limit":{"type":"number"}}},"outputExample":{"company":"Apple Inc.","cik":"0000320193","ticker":"AAPL","filings":[{"form":"10-Q","filedAt":"2026-05-01","url":"https://www.sec.gov/Archives/…"}]},"method":"POST","url":"https://gate402.app/v1/edgar"},{"route":"/v1/dedup","name":"vectorcache","description":"Semantic vector cache: exact-match Map shortcut, then 0.88 cosine similarity on hash embeddings. Sub-10ms hits.","priceUsdc":{"hit":0.001,"miss":0.003},"input":{"type":"object","properties":{"query":{"type":"string","description":"Text to look up"},"vector":{"type":"array","items":{"type":"number"},"description":"Optional embedding to store on miss"},"namespace":{"type":"string"},"storeOnMiss":{"type":"boolean"}},"required":["query"]},"inputExample":{"query":"hello world","storeOnMiss":true},"outputExample":{"cache":"hit","similarity":0.94,"vector":[0.01,-0.02],"latencyMs":3.2},"method":"POST","url":"https://gate402.app/v1/dedup"}]}