# Gate402 > The programmable compute + data market for AI agents, paid over x402. An autonomous agent can discover, pay for, and use — in a single HTTP request, with no account, API key, or signup — on-demand GPU/CPU compute (rent a container, billed per second), open-model LLM inference (Llama 3.1 / Qwen / Mistral, billed per token), and crypto/finance data + web tooling. Every call returns HTTP 402 with machine-readable payment requirements; pay in USDC (Base/Polygon/Arbitrum/Solana), by card via Stripe MPP, or with an X-API-Key (free tier available). Also an MCP server (`npx -y gate402-mcp`) and a Python client (`pip install gate402`). ## Capabilities agent-payments, agent-wallets, spend-control, compute, inference, market-data, web-tools, human-utilities. Keywords: x402, x402 payment protocol, x402 payment gateway, x402 standard, agent payments, agent payment gateway, machine payments, pay per call, pay per token, USDC, HTTP 402, autonomous agents, AI agents, MCP server, no signup, agent-native, agent wallet, AI agent wallet, agent crypto wallet, wallet as a service, crypto wallet api, agent spend control, agent spending limits, agent budget, spend guardrails, agent spending caps, agent kill switch, agent payment approval, domain allowlist, Coinbase AgentKit alternative, Stripe Machine Payments alternative, LLM agent payments, 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. ## Endpoints - [nodeproxy](https://gate402.app/v1/proxy): POST /v1/proxy — Fetch any public URL, render client-side JS, strip nav/ads, return clean LLM-ready Markdown. Price: $0.002 USDC. - [nodeproxy-stealth](https://gate402.app/v1/proxy/stealth): POST /v1/proxy/stealth — 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. Price: $0.05 USDC. - [tokensqueezer](https://gate402.app/v1/minify): POST /v1/minify — Compress text: strip filler, collapse JSON, densify prose. Cuts upstream LLM token spend ~40%. Price: $0.005 USDC. - [onchain_intel](https://gate402.app/v1/onchain): POST /v1/onchain — On-chain wallet & token intelligence on Base: native + ERC-20 balances, EOA/contract detection, tx count, and token metadata. From public RPC. Price: $0.01 USDC. - [dex_market](https://gate402.app/v1/dex): POST /v1/dex — Live DEX price, liquidity, and 24h volume for a Base token across its trading pairs. Price: $0.01 USDC. - [token_risk](https://gate402.app/v1/token-risk): POST /v1/token-risk — 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. Price: $0.03 USDC. - [launch_radar](https://gate402.app/v1/launches): POST /v1/launches — 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. Price: $0.02 USDC. - [best_swap](https://gate402.app/v1/best-swap): POST /v1/best-swap — 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. Price: $0.02 USDC. - [momentum_signal](https://gate402.app/v1/momentum): POST /v1/momentum — 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. Price: $0.02 USDC. - [news_signal](https://gate402.app/v1/news): POST /v1/news — Recent news headlines + heuristic bull/bear sentiment for a ticker or topic. Price: $0.02 USDC. - [edgar_filings](https://gate402.app/v1/edgar): POST /v1/edgar — Latest SEC EDGAR filings (10-K/10-Q/8-K) for a US ticker or CIK, with document links. Price: $0.02 USDC. - [infer](https://gate402.app/v1/infer): POST /v1/infer — 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. Price: $0.001 USDC. Tags: inference, llm, per-token, chat-completions, openai-compatible, llama, qwen, mistral, agent-inference, x402. - [vectorcache](https://gate402.app/v1/dedup): POST /v1/dedup — Semantic vector cache: exact-match Map shortcut, then 0.88 cosine similarity on hash embeddings. Sub-10ms hits. Price: $0.002 hit / $0.003 miss USDC. - [demand_intel](https://gate402.app/v1/demand): POST /v1/demand — Anonymized agent demand intelligence: top unmatched API paths, challenge vs serve conversion by tool, last-seen timestamps. For x402 API builders — what agents already try to buy. Price: $0.02 USDC. Tags: analytics, demand, x402, agent-intelligence, market-data. - [receipt_attest](https://gate402.app/v1/receipt/attest): POST /v1/receipt/attest — Live delivery attestation: did this Gate402 route return HTTP 200 after payment in the last N minutes? Ledger-based post-payment proof, not an uptime probe. Price: $0.03 USDC. Tags: analytics, attestation, x402, delivery-proof, agent-intelligence. - [uploadfix](https://gate402.app/v1/uploadfix): POST /v1/uploadfix — Fix a rejected upload: convert HEIC, hit size/format/dimension requirements for DMV, passport, LinkedIn, or custom limits. $1 per file. Price: $1 USDC. Tags: human-utility, files, agents. - [heic_to_jpg](https://gate402.app/v1/heic-to-jpg): POST /v1/heic-to-jpg — Convert an iPhone HEIC/HEIF photo to JPG that websites accept. $1 per file. Price: $1 USDC. Tags: human-utility, files, agents. - [under_mb](https://gate402.app/v1/under-mb): POST /v1/under-mb — Shrink a file under a max size (e.g. 5 MB). Images are recompressed. $1 per file. Price: $1 USDC. Tags: human-utility, files, agents. - [image_fit](https://gate402.app/v1/image-fit): POST /v1/image-fit — Resize any image to exact pixel dimensions and optional max filesize. $1 per file. Price: $1 USDC. Tags: human-utility, files, agents. - [metadata_strip](https://gate402.app/v1/metadata-strip): POST /v1/metadata-strip — Strip EXIF/GPS and other privacy-leaking image metadata. $1 per file. Price: $1 USDC. Tags: human-utility, privacy, agents. - [json_repair](https://gate402.app/v1/json-repair): POST /v1/json-repair — Repair malformed or LLM-mangled JSON into valid JSON. $1 per call. Price: $1 USDC. Tags: human-utility, developer, agents. - [csv_json](https://gate402.app/v1/csv-json): POST /v1/csv-json — Convert CSV → JSON or JSON → CSV with cleanup. $1 per call. Price: $1 USDC. Tags: human-utility, developer, agents. - [contract_scan](https://gate402.app/v1/contract-scan): POST /v1/contract-scan — Full smart-contract risk scorecard for a Base token/contract: risk 0–100, honeypot, taxes, liquidity, holders. $1 per scan. Price: $1 USDC. Tags: human-utility, crypto, agents, security. - [abi_decode](https://gate402.app/v1/abi-decode): POST /v1/abi-decode — Decode calldata or ABI for a Base contract into a human-readable signature and args. $1 per call. Price: $1 USDC. Tags: human-utility, crypto, agents, developer. - [photo_to_pdf](https://gate402.app/v1/photo-to-pdf): POST /v1/photo-to-pdf — Turn phone photos of pages into a clean multi-page PDF. $1 per job. Price: $1 USDC. Tags: human-utility, files, pdf, agents. - [bg_remove](https://gate402.app/v1/bg-remove): POST /v1/bg-remove — Remove image background and return a transparent PNG. $1 per image. Price: $1 USDC. Tags: human-utility, files, image, agents. - [video_under_mb](https://gate402.app/v1/video-under-mb): POST /v1/video-under-mb — Compress a video under a max filesize (MP4/H.264). $1 per file. Price: $1 USDC. Tags: human-utility, files, video, agents. - [site_screenshot](https://gate402.app/v1/site-screenshot): POST /v1/site-screenshot — Capture desktop and/or mobile screenshots of a public URL. $1 per request. Price: $1 USDC. Tags: human-utility, web, agents. - [ocr_structured](https://gate402.app/v1/ocr-structured): POST /v1/ocr-structured — OCR a receipt/ID/form image or PDF and return structured JSON fields. $1 per document. Price: $1 USDC. Tags: human-utility, ocr, ai, agents. - [ats_resume](https://gate402.app/v1/ats-resume): POST /v1/ats-resume — Score a resume against a job description and return an ATS-optimized PDF. $1 per run. Price: $1 USDC. Tags: human-utility, career, ai, agents. - [invoice_pro](https://gate402.app/v1/invoice-pro): POST /v1/invoice-pro — Turn a screenshot, email, CSV, or rough invoice text into a professional PDF invoice. $1 per document. Price: $1 USDC. Tags: human-utility, business, ai, agents. - [pdf_fillable](https://gate402.app/v1/pdf-fillable): POST /v1/pdf-fillable — Analyze a flat PDF and return a fillable PDF with AcroForm text fields. $1 per document. Price: $1 USDC. Tags: human-utility, pdf, ai, agents. - [pdf_a11y](https://gate402.app/v1/pdf-a11y): POST /v1/pdf-a11y — Basic PDF accessibility remediation: title/language metadata, outline, and accessibility report. $1 per document. Price: $1 USDC. Tags: human-utility, pdf, accessibility, agents. - [crypto_tax_csv](https://gate402.app/v1/crypto-tax-csv): POST /v1/crypto-tax-csv — Normalize exchange crypto CSVs into TurboTax / TaxAct / generic tax import format. $1 per file. Price: $1 USDC. Tags: human-utility, crypto, tax, agents. - [doc_checker](https://gate402.app/v1/doc-checker): POST /v1/doc-checker — Check a file against upload requirements (format, max MB, dimensions) and return a pass/fail report. $1 per check. Price: $1 USDC. Tags: human-utility, files, agents. - [market_infer](https://gate402.app/v1/market/infer): POST /v1/market/infer — 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.0134). Models offered: llama-3.1-8b, weather-brief-1, pixelforge-textstats-1, pixelforge-hash-1. Price: $0.0134 USDC. Tags: inference, llm, marketplace, gpu, third-party, escrow-on-success, agent-inference, x402. ## For autonomous agents - Discover + pay programmatically: every endpoint is listed in the CDP x402 Bazaar and in the machine-readable manifests below. Filter by the tags/keywords above (e.g. "gpu", "inference", "llm", "per-token", "compute"). - Compute: POST /v1/compute with { image, gpu, durationSec } → 402 quote → pay → run → signed execution receipt. Per-second billing; unused time is credited. - Inference: POST /v1/infer with { model, messages, max_tokens } → 402 prepay quote → pay → completion + exact token usage → signed receipt. Billed on actual tokens; the remainder is credited. - Receipts: verify any signed receipt for free at POST /v1/receipt/verify (dispute/audit). - MCP: add `gate402` (`npx -y gate402-mcp`) to Claude / Cursor / Cline / LangChain / CrewAI — free-credit key auto-claimed on first use. - Python: `pip install gate402` — `from gate402 import Gate402; g = Gate402()`; one method per endpoint (g.infer, g.onchain, g.dex, g.token_risk, g.scrape, …). Free-tier key auto-claimed on first call; 402 raises Gate402PaymentRequired with a top-up link. - ElizaOS: `npm i elizaos-plugin-gate402` — actions for token-risk, DEX, momentum, best-swap, launches, and infer. - Mastra: `npm i mastra-gate402` — tools for the same endpoints; add via `tools: { ...gate402Tools }`. ## Sell compute (become a provider) - List a GPU/compute endpoint (OpenAI-compatible) + payout wallet and earn per call: POST /v1/providers/register — sign a message with your wallet to prove ownership. gate402 routes buyers to you and takes a small fee; your cut is credited on each SUCCESSFUL delivery (escrow-on-success). Browse providers: GET /v1/providers. Buyers call: POST /v1/market/infer with { model, messages }. ## Discovery - [Catalog](https://gate402.app/v1): machine-readable endpoints + schemas + keywords - [x402 manifest](https://gate402.app/.well-known/x402.json) - [Agent card](https://gate402.app/.well-known/agent.json) - [AI plugin manifest](https://gate402.app/.well-known/ai-plugin.json) - [OpenAPI](https://gate402.app/openapi.json) ## Payment - x402: call the endpoint, get HTTP 402 with payment requirements, pay in USDC. - API key: present `X-API-Key`; get a free-tier key at POST /v1/free-key. - Stripe MPP: present `Authorization: Payment `.