x402-gateway — 30 Pay-Per-Call APIs for AI Agents (USDC on B

x402 Gateway APIs

30 pay-per-call APIs for AI agents — blockchain data, web scraping, document/PDF-to-Markdown conversion, ZK proof verification, QR/diagram/OG-image rendering, LLM chat, gift cards, short links. Settled in USDC on Base via the x402 payment protocol. No accounts, no API keys: agents pay per request via the x402 protocol.

x402 Payment Protocol

Pay-per-call MCP.
No accounts. No logins. No keys.

30 tools on Base via the Coinbase CDP x402 facilitator.

Agents pay per request in USDC — settled on-chain in seconds.

No API keys to provision, no subscriptions to manage.

30 Tools live
$0.002 Starting price
<2s Response time
USDC on Base

How it works

The x402 protocol turns HTTP 402 Payment Required into an onchain payment flow.

1

Agent reads metadata

GET the endpoint. Receive an OpenAPI spec + x402 payment details (payTo, amount, asset, network).

2

Sees 402 response

Server returns HTTP 402 with a signed payment requirement in USDC on Base or Solana.

3

Signs & pays onchain

Agent wallet broadcasts a USDC microtransaction on Base. No human needed, no account to create.

4

Gets the result

Server verifies the payment header and returns the API response. Done.

All APIs

Each tool is a standalone paid endpoint. Browse the catalog — click any card for details.

markdown $0.002

Fetch a URL and convert its main content to clean, LLM-ready Markdown. Strips nav/ads/sidebars.

POST Details →
token_price $0.002

Get the live price of a token by symbol (e.g. ETH, USDC, MATIC).

GET Details →
wallet_portfolio $0.002

Get a complete wallet portfolio: native ETH balance, ERC-20 balances, NFT holdings, recent transfers.

POST Details →
whale_alerts $0.002

Scan recent blocks for large ETH transfers involving an address. Filter by direction and threshold.

POST Details →
cross_chain_balance $0.002

Aggregate native balance and token/NFT counts for an address across eth, arb, base, polygon, opt.

POST Details →
changelog_openapi $0.005

Diff two OpenAPI specs and generate a structured breaking-change changelog. Deterministic, no LLM.

POST Details →
changelog_git $0.005

Diff git commits and generate a structured breaking-change changelog. Provide repo URL + base commit.

POST Details →
mermaid $0.005

Render a Mermaid diagram to an image (PNG or SVG). Returns base64-encoded image.

POST Details →
html_to_markdown $0.002

Convert an HTML string to clean, LLM-ready Markdown. Handles headings, links, tables, code blocks.

POST Details →
qr_generator $0.002

Generate a QR code or barcode as an image (SVG or PNG). QR, Code128, EAN, UPC, ISBN, and more.

GET Details →
og_image_generator $0.002

Generate an Open Graph social-card image (1200x630 PNG) from a title and description.

GET Details →
jobs $0.002

Search live job postings by keywords and locations. Returns structured results: title, company, location, salary, and more.

POST Details →
verify_semaphore $0.002

Verify a Semaphore ZK proof locally using Groth16 (embedded official vkey). No external dependency — pure on-device verification.

POST Details →
verify_worldid $0.005

Verify a World ID 4.0 proof via the Worldcoin Developer Portal API. Generates RP signature, proxies to Worldcoin, returns nullifier + validity.

POST Details →
verify_batch $0.005

Batch verify up to 10 Semaphore proofs in a single request. Returns per-proof results with timing stats.

POST Details →
wallet_verify_siwe $0.002

Verify a Sign-In-With-Ethereum (EIP-4361) signature as a paid oracle: returns wallet address + chainId, mints nothing.

POST Details →
wallet_verify_nostr $0.002

Verify a NIP-98 Nostr HTTP auth event with replay protection (each event id verifies once). Returns the signer pubkey.

POST Details →
wallet_verify_solana $0.002

Verify an ed25519 Solana wallet signature over a nonce-bearing message. One verification per nonce; returns signer pubkey.

POST Details →
wallet_checksum $0.002

Convert an Ethereum address to its EIP-55 checksummed form — required on SIWE message line 2 before signing.

POST Details →
llm_chat $0.002

Chat with a language model. OpenAI-compatible /v1/chat/completions. 50+ models — free (auto, eco, premium) are $0, paid models at cost.

POST Details →
pdf_to_markdown $0.01

Convert a PDF document to clean, LLM-ready Markdown. Direct URL or base64 file bytes. Reports, papers and contracts become RAG-ready text.

POST Details →
docx_to_markdown $0.005

Convert a DOCX (Word) document to Markdown. Contracts, resumes, reports and letters — headings, lists and tables preserved.

POST Details →
pptx_to_markdown $0.005

Convert a PPTX (PowerPoint) presentation to Markdown. Each slide becomes a heading — pitch decks turn into LLM-readable text.

POST Details →
xlsx_to_markdown $0.005

Convert XLSX or CSV to a Markdown table AND a JSON array of row objects in one call. All sheets included, flattened in order.

POST Details →
epub_to_markdown $0.005

Convert an EPUB e-book to Markdown. Chapters become headings; metadata included — feed whole books into LLM context.

POST Details →
document_to_markdown $0.01

Convert any document to Markdown with automatic format detection — pdf, docx, pptx, xlsx, csv, epub, html, text. One endpoint for all of them.

POST Details →
verify_stablecoin $0.005

Verify a stablecoin: issuer identity, GENIUS Act qualification status, and latest reserve attestation. Resolves the token from chain+address, a known symbol, or a tx hash. Free preview validates the input and returns the issuer only.

POST Details →
giftcard_buy dynamic

Buy a digital gift card code (Foot Locker, Target, AMC, 1000+ brands). Search the catalog free, pay the face value + fee in USDC — code delivered instantly, settled on Base via x402.

POST Details →
shortlink_create $0.002

Create a permanent short link on freeq.one (custom or random slug, optional TTL expiry). Returns the short URL plus a one-time manage_secret that gates free stats and deletion of the link.

POST Details →
shortlink_stats $0.001

Click stats for a freeq.one short link: total clicks and last-30-day daily counts. Free for the link owner (pass the manage_secret); paid calls serve agent link-verification flows.

GET Details →