{"service":"gate402","description":"x402 payment gateway for AI agents: rent on-demand GPU/CPU compute (per-second) and open-model LLM inference (per-token), plus crypto/finance data and web tools — all pay-per-call in USDC over HTTP 402, no signup. Also an MCP server.","publicUrl":"https://gate402.app","keywords":["x402","agent payments","machine payments","pay per call","pay per token","USDC","HTTP 402","autonomous agents","AI agents","MCP server","no signup","agent-native","GPU compute","rent GPU","on-demand compute","serverless inference","LLM inference API","per-token inference","Llama","Qwen","Mistral","on-chain data","DeFi","DEX","crypto market data","SEC filings","web scraping","agent tools","HEIC to JPG","file compress","upload fixer","JSON repair","smart contract scanner","ABI decode"],"capabilities":["agent-payments","compute","inference","market-data","web-tools","human-utilities"],"payment":{"protocol":"x402","currency":"USDC","networks":["eip155:8453","eip155:137","eip155:42161","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"rails":[{"type":"x402","header":"PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1)","description":"Crypto micropayment in USDC on any supported network. 402 body is v1-shaped; PAYMENT-REQUIRED header is v2."},{"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 v2 (PAYMENT-SIGNATURE) or v1 (X-PAYMENT), Stripe MPP (Authorization: Payment), or present an X-API-Key."},"marketplace":{"description":"Two-sided compute marketplace: third parties list a GPU / OpenAI-compatible endpoint and earn per call; agents pay to use it with escrow-on-success. gate402 routes buyers to the cheapest healthy provider (reliability band first, then price) and takes a 15% fee.","becomeProvider":{"url":"https://gate402.app/v1/providers/register","method":"POST","price":"free","description":"List a GPU/compute endpoint (OpenAI-compatible, public https, answering GET /v1/models) + payout wallet, proven by an EIP-191 wallet signature. Your cut (85%) is credited on each SUCCESSFUL delivery and paid out on-chain in USDC on Base.","directory":"https://gate402.app/v1/providers","manage":{"url":"https://gate402.app/v1/providers/{id}/update","method":"POST","description":"Change your price or endpoint, or delist (active:false), signed by the listing’s payout wallet."}},"buy":{"url":"https://gate402.app/v1/market/infer","method":"POST","pricing":"dynamic — the selected provider’s per-call rate","escrow":"on-success — the buyer is charged only if the provider delivers"}},"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":"Anti-bot fetch for Cloudflare / JS-heavy protected pages: routed through rotating residential proxies with automatic JS rendering and CAPTCHA solving, returned as clean LLM-ready Markdown. Best-effort on the hardest targets.","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/token-risk","name":"token_risk","description":"Rug/tradeability risk verdict for a Base token: a 0-100 score and SAFE/CAUTION/AVOID call from liquidity depth, 24h volume, DEX diversity, pool age, ERC-20 validity, holder concentration, and a live honeypot/sell-tax simulation. Judgment for trading agents, not raw data.","priceUsdc":0.03,"input":{"type":"object","properties":{"address":{"type":"string","description":"Base ERC-20 token contract address."}},"required":["address"]},"inputExample":{"address":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"},"outputExample":{"address":"0x…","symbol":"DEGEN","score":82,"verdict":"SAFE","signals":{"liquidityUsd":2400000,"volume24h":180000,"pairs":6,"dexes":3,"poolAgeDays":640,"volLiqRatio":0.08,"isVerifiedErc20":true,"isHoneypot":false,"buyTaxPct":0,"sellTaxPct":0,"topHolderPct":22.2,"top10HolderPct":58.4,"holderCount":1227210},"checks":{"holderConcentration":true,"honeypotSim":true},"reasons":["Sells simulate successfully with ~0% tax — not a honeypot"],"recommendation":"SAFE — adequate liquidity/activity and sells simulate clean"},"method":"POST","url":"https://gate402.app/v1/token-risk"},{"route":"/v1/launches","name":"launch_radar","description":"Radar of the freshest Base token launches (newest DEX pools), lightly pre-screened by liquidity/age/flow with quickFlags for obvious junk. Top-of-funnel discovery for trading agents — feeds token-risk / momentum / best-swap. From GeckoTerminal.","priceUsdc":0.02,"input":{"type":"object","properties":{"minLiquidityUsd":{"type":"number","description":"Minimum pool liquidity to include (default 1000)."},"limit":{"type":"number","description":"Max launches to return (default 15, cap 30)."}}},"inputExample":{"minLiquidityUsd":5000,"limit":10},"outputExample":{"chain":"base","count":1,"launches":[{"address":"0x…","symbol":"NEWCOIN","dex":"aerodrome","ageMinutes":18,"liquidityUsd":42000,"priceChangePct":{"h1":34.2},"buyPressureH1Pct":71,"quickFlags":["very_new"]}],"hint":"Vet with /v1/token-risk, /v1/momentum, /v1/best-swap."},"method":"POST","url":"https://gate402.app/v1/launches"},{"route":"/v1/best-swap","name":"best_swap","description":"Best-execution intel for a Base token: which DEX pool to trade on and the estimated price impact + total cost for a given trade size, ranked across pools with a split suggestion. Constant-product estimate for trading agents — the execution plan, not a firm quote.","priceUsdc":0.02,"input":{"type":"object","properties":{"address":{"type":"string","description":"Base ERC-20 token contract address."},"sizeUsd":{"type":"number","description":"Trade size in USD (default 1000)."}},"required":["address"]},"inputExample":{"address":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed","sizeUsd":1000},"outputExample":{"address":"0x…","symbol":"DEGEN","sizeUsd":1000,"best":{"dex":"aerodrome","priceImpactPct":0.17,"feePct":0.3,"totalCostPct":0.47,"estTokensReceived":82900,"liquidityUsd":1200000},"splitSuggested":false,"recommendation":"Trade on aerodrome — ~0.47% total cost (impact + fee)"},"method":"POST","url":"https://gate402.app/v1/best-swap"},{"route":"/v1/momentum","name":"momentum_signal","description":"Factual momentum + order-flow signal for a Base token: price trend (5m-24h), buy/sell pressure, volume trend, classified RISING/FALLING/FLAT + ACCUMULATION/DISTRIBUTION and gated by a live honeypot check. The read for trading agents, not a prediction.","priceUsdc":0.02,"input":{"type":"object","properties":{"address":{"type":"string","description":"Base ERC-20 token contract address."}},"required":["address"]},"inputExample":{"address":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"},"outputExample":{"address":"0x…","symbol":"DEGEN","momentum":"RISING","flow":"ACCUMULATION","tradeable":true,"signals":{"priceChangePct":{"h1":4.2,"h6":9.1,"h24":12.5},"buyPressurePct":{"h1":74,"h24":58},"volumeTrend":"ACCELERATING","liquidityUsd":1275000},"safety":{"isHoneypot":false,"sellTaxPct":0,"thinLiquidity":false},"notes":["Price +4.2% (1h) with 74% of trades buys on accelerating volume","Rising price + net buying — constructive setup"]},"method":"POST","url":"https://gate402.app/v1/momentum"},{"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/infer","name":"infer","description":"Per-token LLM inference on open models (Llama 3.1 8B/70B, Qwen 2.5, Mistral) in one x402 flow. Prepay prompt + max_tokens, billed on actual token usage with the remainder returned as credit; returns a signed, verifiable usage receipt (verify free at /v1/receipt/verify). Sell price from $0.05/1M input tokens.","tags":["inference","llm","per-token","chat-completions","openai-compatible","llama","qwen","mistral","agent-inference","x402"],"priceUsdc":0.001,"input":{"type":"object","properties":{"model":{"type":"string","enum":["llama-3.1-8b","llama-3.1-70b","qwen-2.5-7b","mistral-small"],"description":"Open model to run."},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user","assistant"]},"content":{"type":"string"}},"required":["role","content"]},"description":"OpenAI-style chat messages."},"max_tokens":{"type":"number","description":"Max completion tokens (default 512, cap 2048). Prepaid; unused is credited."},"temperature":{"type":"number","description":"Sampling temperature (default 0.7)."}},"required":["model","messages"]},"inputExample":{"model":"llama-3.1-8b","messages":[{"role":"user","content":"Say hello in five words."}],"max_tokens":64},"outputExample":{"requestId":"a1b2…","model":"llama-3.1-8b","backend":"openai:openrouter.ai","text":"Hello there, nice to meet you.","usage":{"promptTokens":12,"completionTokens":8,"totalTokens":20},"prepaidUsdc":0.001,"billedUsdc":0.001,"creditUsdc":0,"receipt":{"alg":"HS256","claims":{"requestId":"a1b2…","totalTokens":20,"billedUsdc":0.001},"sig":"…"},"settlement":{"protocol":"x402","transaction":"0x…","network":"eip155:8453","priceUsdc":0.001}},"method":"POST","url":"https://gate402.app/v1/infer"},{"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.002,"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"},{"route":"/v1/uploadfix","name":"uploadfix","description":"Fix a rejected upload: convert HEIC, hit size/format/dimension requirements for DMV, passport, LinkedIn, or custom limits. $1 per file.","priceUsdc":1,"tags":["human-utility","files","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"target":{"type":"string"},"maxMb":{"type":"number"},"width":{"type":"number"},"height":{"type":"number"}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"photo.heic","target":"dmv","maxMb":2},"outputExample":{"filename":"photo.jpg","mimeType":"image/jpeg","bytes":1500000,"fixes":["heic→jpg","under 2 MB"],"fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/uploadfix"},{"route":"/v1/heic-to-jpg","name":"heic_to_jpg","description":"Convert an iPhone HEIC/HEIF photo to JPG that websites accept. $1 per file.","priceUsdc":1,"tags":["human-utility","files","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"quality":{"type":"number"}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"IMG_1234.HEIC"},"outputExample":{"filename":"IMG_1234.jpg","mimeType":"image/jpeg","bytes":840212,"fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/heic-to-jpg"},{"route":"/v1/under-mb","name":"under_mb","description":"Shrink a file under a max size (e.g. 5 MB). Images are recompressed. $1 per file.","priceUsdc":1,"tags":["human-utility","files","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"maxMb":{"type":"number"}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"big.jpg","maxMb":5},"outputExample":{"filename":"big.jpg","mimeType":"image/jpeg","bytes":4200000,"maxMb":5,"fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/under-mb"},{"route":"/v1/image-fit","name":"image_fit","description":"Resize any image to exact pixel dimensions and optional max filesize. $1 per file.","priceUsdc":1,"tags":["human-utility","files","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"width":{"type":"number"},"height":{"type":"number"},"maxMb":{"type":"number"},"format":{"type":"string","enum":["jpeg","png","webp"]}},"required":["fileBase64","width","height"]},"inputExample":{"fileBase64":"…","filename":"photo.png","width":600,"height":600,"maxMb":2},"outputExample":{"filename":"photo.jpg","mimeType":"image/jpeg","width":600,"height":600,"bytes":1840000,"fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/image-fit"},{"route":"/v1/metadata-strip","name":"metadata_strip","description":"Strip EXIF/GPS and other privacy-leaking image metadata. $1 per file.","priceUsdc":1,"tags":["human-utility","privacy","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"vacation.jpg"},"outputExample":{"filename":"vacation.jpg","mimeType":"image/jpeg","stripped":true,"fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/metadata-strip"},{"route":"/v1/json-repair","name":"json_repair","description":"Repair malformed or LLM-mangled JSON into valid JSON. $1 per call.","priceUsdc":1,"tags":["human-utility","developer","agents"],"input":{"type":"object","properties":{"text":{"type":"string"}},"required":["text"]},"inputExample":{"text":"{\"name\": \"Bob\", \"age\": 32,}"},"outputExample":{"valid":true,"fixed":{"name":"Bob","age":32},"fixedString":"{\"name\":\"Bob\",\"age\":32}","repaired":true},"method":"POST","url":"https://gate402.app/v1/json-repair"},{"route":"/v1/csv-json","name":"csv_json","description":"Convert CSV → JSON or JSON → CSV with cleanup. $1 per call.","priceUsdc":1,"tags":["human-utility","developer","agents"],"input":{"type":"object","properties":{"direction":{"type":"string","enum":["csv-to-json","json-to-csv"]},"text":{"type":"string"}},"required":["direction"]},"inputExample":{"direction":"csv-to-json","text":"name,age\nBob,32"},"outputExample":{"direction":"csv-to-json","rows":1,"data":[{"name":"Bob","age":"32"}]},"method":"POST","url":"https://gate402.app/v1/csv-json"},{"route":"/v1/contract-scan","name":"contract_scan","description":"Full smart-contract risk scorecard for a Base token/contract: risk 0–100, honeypot, taxes, liquidity, holders. $1 per scan.","priceUsdc":1,"tags":["human-utility","crypto","agents","security"],"input":{"type":"object","properties":{"address":{"type":"string"}},"required":["address"]},"inputExample":{"address":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"},"outputExample":{"address":"0x…","risk":26,"verdict":"CAUTION","checks":{"honeypot":"✓","liquidity":"✓"}},"method":"POST","url":"https://gate402.app/v1/contract-scan"},{"route":"/v1/abi-decode","name":"abi_decode","description":"Decode calldata or ABI for a Base contract into a human-readable signature and args. $1 per call.","priceUsdc":1,"tags":["human-utility","crypto","agents","developer"],"input":{"type":"object","properties":{"data":{"type":"string"},"abi":{"type":"array"},"address":{"type":"string"}},"required":["data"]},"inputExample":{"data":"0xa9059cbb…","address":"0x…"},"outputExample":{"selector":"0xa9059cbb","functionName":"transfer","signature":"transfer(address,uint256)","args":["0x…","10"]},"method":"POST","url":"https://gate402.app/v1/abi-decode"},{"route":"/v1/photo-to-pdf","name":"photo_to_pdf","description":"Turn phone photos of pages into a clean multi-page PDF. $1 per job.","priceUsdc":1,"tags":["human-utility","files","pdf","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"filesBase64":{"type":"array","items":{"type":"string"}}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"page1.jpg"},"outputExample":{"filename":"scan.pdf","mimeType":"application/pdf","pages":3,"fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/photo-to-pdf"},{"route":"/v1/bg-remove","name":"bg_remove","description":"Remove image background and return a transparent PNG. $1 per image.","priceUsdc":1,"tags":["human-utility","files","image","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"portrait.jpg"},"outputExample":{"filename":"portrait.png","mimeType":"image/png","method":"imgly","fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/bg-remove"},{"route":"/v1/video-under-mb","name":"video_under_mb","description":"Compress a video under a max filesize (MP4/H.264). $1 per file.","priceUsdc":1,"tags":["human-utility","files","video","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"maxMb":{"type":"number"}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"clip.mp4","maxMb":25},"outputExample":{"filename":"clip.mp4","mimeType":"video/mp4","sizeMb":18.2,"fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/video-under-mb"},{"route":"/v1/site-screenshot","name":"site_screenshot","description":"Capture desktop and/or mobile screenshots of a public URL. $1 per request.","priceUsdc":1,"tags":["human-utility","web","agents"],"input":{"type":"object","properties":{"url":{"type":"string"},"variant":{"type":"string","enum":["desktop","mobile","both"]}},"required":["url"]},"inputExample":{"url":"https://example.com","variant":"both"},"outputExample":{"url":"https://example.com","desktop":{"filename":"desktop.png","mimeType":"image/png","fileBase64":"…"},"mobile":{"filename":"mobile.png","mimeType":"image/png","fileBase64":"…"}},"method":"POST","url":"https://gate402.app/v1/site-screenshot"},{"route":"/v1/ocr-structured","name":"ocr_structured","description":"OCR a receipt/ID/form image or PDF and return structured JSON fields. $1 per document.","priceUsdc":1,"tags":["human-utility","ocr","ai","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"schemaHint":{"type":"string"}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"receipt.jpg","schemaHint":"receipt"},"outputExample":{"fields":{"merchant":"…","total":"12.34"},"rawText":"…"},"method":"POST","url":"https://gate402.app/v1/ocr-structured"},{"route":"/v1/ats-resume","name":"ats_resume","description":"Score a resume against a job description and return an ATS-optimized PDF. $1 per run.","priceUsdc":1,"tags":["human-utility","career","ai","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"jobDescription":{"type":"string"},"resumeText":{"type":"string"}},"required":["jobDescription"]},"inputExample":{"fileBase64":"…","filename":"resume.pdf","jobDescription":"Senior TypeScript engineer…"},"outputExample":{"score":61,"problems":["Missing keywords"],"filename":"ats-resume.pdf","fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/ats-resume"},{"route":"/v1/invoice-pro","name":"invoice_pro","description":"Turn a screenshot, email, CSV, or rough invoice text into a professional PDF invoice. $1 per document.","priceUsdc":1,"tags":["human-utility","business","ai","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"text":{"type":"string"}},"required":[]},"inputExample":{"text":"Invoice for web design — Client Corp — $1200 due Net 15"},"outputExample":{"filename":"invoice.pdf","mimeType":"application/pdf","invoiceNumber":"INV-1001","fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/invoice-pro"},{"route":"/v1/pdf-fillable","name":"pdf_fillable","description":"Analyze a flat PDF and return a fillable PDF with AcroForm text fields. $1 per document.","priceUsdc":1,"tags":["human-utility","pdf","ai","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"form.pdf"},"outputExample":{"filename":"form-fillable.pdf","fields":["Name","Address","Date"],"fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/pdf-fillable"},{"route":"/v1/pdf-a11y","name":"pdf_a11y","description":"Basic PDF accessibility remediation: title/language metadata, outline, and accessibility report. $1 per document.","priceUsdc":1,"tags":["human-utility","pdf","accessibility","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"language":{"type":"string"},"title":{"type":"string"}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"doc.pdf","language":"en-US","title":"Annual Report"},"outputExample":{"filename":"doc-a11y.pdf","title":"Annual Report","language":"en-US","report":{"headings":4},"fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/pdf-a11y"},{"route":"/v1/crypto-tax-csv","name":"crypto_tax_csv","description":"Normalize exchange crypto CSVs into TurboTax / TaxAct / generic tax import format. $1 per file.","priceUsdc":1,"tags":["human-utility","crypto","tax","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"text":{"type":"string"},"target":{"type":"string","enum":["turbotax","taxact","generic"]}},"required":[]},"inputExample":{"text":"Date,Type,Asset,Amount,USD\n2024-01-01,sell,BTC,0.1,4200","target":"turbotax"},"outputExample":{"filename":"crypto-tax.csv","mimeType":"text/csv","rows":12,"fileBase64":"…"},"method":"POST","url":"https://gate402.app/v1/crypto-tax-csv"},{"route":"/v1/doc-checker","name":"doc_checker","description":"Check a file against upload requirements (format, max MB, dimensions) and return a pass/fail report. $1 per check.","priceUsdc":1,"tags":["human-utility","files","agents"],"input":{"type":"object","properties":{"fileBase64":{"type":"string"},"filename":{"type":"string"},"maxMb":{"type":"number"},"width":{"type":"number"},"height":{"type":"number"},"formats":{"type":"array","items":{"type":"string"}},"target":{"type":"string"}},"required":["fileBase64"]},"inputExample":{"fileBase64":"…","filename":"photo.heic","maxMb":2,"width":600,"height":600,"formats":["jpg","jpeg"],"target":"passport"},"outputExample":{"pass":false,"checks":[{"name":"format","ok":false,"detail":"heic not in jpg/jpeg"}]},"method":"POST","url":"https://gate402.app/v1/doc-checker"},{"route":"/v1/market/infer","name":"market_infer","description":"LLM inference routed to the cheapest healthy third-party GPU in the gate402 provider marketplace, in one x402 flow with escrow-on-success — you are only charged if the provider delivers. Price is the selected provider's per-call rate (from $0.02). Models offered: llama-3.1-8b.","tags":["inference","llm","marketplace","gpu","third-party","escrow-on-success","agent-inference","x402"],"priceUsdc":0.02,"input":{"type":"object","properties":{"model":{"type":"string","description":"A model offered by an active provider (see GET /v1/providers)."},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user","assistant"]},"content":{"type":"string"}},"required":["role","content"]},"description":"OpenAI-style chat messages."},"max_tokens":{"type":"number","description":"Max completion tokens."},"temperature":{"type":"number"}},"required":["model","messages"]},"inputExample":{"model":"llama-3.1-8b","messages":[{"role":"user","content":"Say hello in five words."}]},"outputExample":{"requestId":"m1n2…","model":"llama-3.1-8b","provider":"prov_a1b2","text":"Hello there, nice to meet you.","usage":{"promptTokens":12,"completionTokens":8,"totalTokens":20},"settlement":{"protocol":"x402","transaction":"0x…","network":"eip155:8453","priceUsdc":0.02}},"method":"POST","url":"https://gate402.app/v1/market/infer"}]}