Grid402 Grid402
Web-to-Markdown · SSRF-Hardened · LLM & RAG Ready · ECDSA Signed

SSRF-Safe URL to Clean Markdown API for AI Agents & RAG

Turn public web pages into clean, token-efficient Markdown with title, description, word count, and absolute links — without managing Playwright, Puppeteer, or rotating proxies. $0.0050 per page via Multi-Chain x402 USDC or $9.90/mo via Credit Card on RapidAPI.

💳 Subscribe via Credit Card on RapidAPI ($9.90/mo) ⚡ Buy Prepaid USDC Pass (Base / Solana / Polygon) Explore all 25 endpoints →
Official Endpoint: GET https://grid402.online/api/v1/extract?url=https://grid402.online&max_chars=12000
Pricing: 0.0050 USDC · 1 credit (400 pages for $2 USDC / 2,500 pages for $9.90/mo on RapidAPI) · Free Sandbox: X-Payment: demo (3 req/day per IP).

Ready-to-Run Examples: cURL, Python & MCP / RapidAPI

1. Terminal (cURL)
curl -sL "https://grid402.online/api/v1/extract?url=https%3A%2F%2Fexample.com&max_chars=8000" \
  -H "X-Payment: pass_g402_YOUR_TOKEN"
2. Python
from grid402 import Grid402Client

client = Grid402Client(session_pass="pass_g402_YOUR_TOKEN")
res = client.extract("https://example.com", max_chars=8000)
print(res["title"], res["word_count"])
print(res["markdown"][:500])
3. MCP Server / RapidAPI Hub
MCP Server (Claude / Cursor / Windsurf):
npx -y grid402-mcp  (Tool: grid402_extract)

RapidAPI Credit Card Header:
X-RapidAPI-Key: YOUR_RAPIDAPI_KEY
X-RapidAPI-Host: grid402-web-to-markdown-email-verify-network-utilities.p.rapidapi.com

Cost Comparison: Traditional Vendors vs. Grid402

Criteria Traditional Vendors Grid402 (RapidAPI / x402 USDC)
Entry Cost $19 to $83/mo (Firecrawl / ScrapingBee / Browserless subscriptions) $0.0050/page via x402 USDC (Base, Solana, Polygon, Arbitrum) or $9.90/mo on RapidAPI
Minimum Commitment Annual contract & fixed monthly minimums $0 minimum (Pay-per-call USDC or cancel-anytime RapidAPI)
Activation Time 2 to 5 business days sales review Instant (x402, RapidAPI Credit Card, or npx -y grid402-mcp)
Audit & Privacy Unsigned JSON with server-side PII logging ECDSA secp256k1 _oracle_proof + Zero-PII (GDPR Recital 14)

Technical Highlights

Frequently Asked Questions (FAQ)

How much does URL-to-Markdown extraction cost?
Each extraction costs $0.0050 USDC (1 credit). You can pay per call with gasless x402 v2 (Base, Polygon, Arbitrum, Solana), buy a prepaid Session Pass (400 pages for $2 USDC), or subscribe with Credit Card on RapidAPI ($9.90/mo for 1,500 standard calls).
Does Grid402 store the extracted web pages?
No. Processing is strictly stateless and Zero-Retention. Only public HTTP/HTTPS pages are fetched and converted on the fly.
Can AI agents use this directly via Model Context Protocol (MCP)?
Yes. Install `npx -y grid402-mcp` and call the `grid402_extract` tool. New users get 3 free trial calls per day automatically.

Start in 30 Seconds — Credit Card (USD) or Multi-Chain USDC

Subscribe with Credit Card on RapidAPI Hub ($9.90/mo) or pay per call in USDC across Base, Polygon, Arbitrum, and Solana with npx -y grid402-mcp.