Documentation Index
Fetch the complete documentation index at: https://docs.scrapegraphai.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Orthogonal is an API gateway and skill catalog for AI agents. You sign up once, fund a single account, and call any catalogued API — including every ScrapeGraph v2 endpoint — through a unifiedRun API, a TypeScript SDK, a CLI, an MCP server, or x402 stablecoin payments. No separate SGAI_API_KEY is required when calling ScrapeGraph through Orthogonal — your orth_live_… key is enough.
Official Orthogonal Documentation
Reference for every Orthogonal endpoint, SDK, CLI command, and MCP tool
When should you use Orthogonal? Reach for Orthogonal when your agent needs more than just ScrapeGraph — e.g. scraping plus lead enrichment, email finding, or sending outreach — and you’d rather manage one key, one balance, and one usage dashboard. If you only call ScrapeGraph endpoints, the native
scrapegraph-py SDK is the most direct path.Why call ScrapeGraph through Orthogonal
- One key, many APIs. Combine ScrapeGraph with the rest of the Orthogonal catalog (Apollo, Hunter, Sixtyfour, Olostep, …) in a single agent without per-vendor signups.
- Pay-per-use credits or x402. Top up a balance, or pay providers directly with USDC on Base via x402. No subscription required.
- Native discovery.
POST /v1/searchfinds endpoints by natural-language description;POST /v1/detailsreturns the full parameter schema. - Agent-ready surfaces. Drop-in TypeScript SDK, CLI, and MCP server — pick whichever matches your stack.
Setup
- Create an account at orthogonal.com — new accounts include $5 of free credit.
- Generate an API key in Dashboard → API Keys (
orth_live_…for production,orth_test_…for development). - Export it:
ScrapeGraph endpoints exposed through Orthogonal
| Endpoint | Slug + path | Notes |
|---|---|---|
| SmartScraper (Extract) | scrapegraph /v1/smartscraper | NL-prompt structured extraction from a URL |
| Scrape | scrapegraph /v1/scrape | Raw HTML + JS rendering |
| Markdownify | scrapegraph /v1/markdownify | Page → clean Markdown |
| Crawl | scrapegraph /v1/crawl | Async multi-page crawl, poll for status |
| SearchScraper | scrapegraph /v1/searchscraper | AI-powered web search + scrape |
| Sitemap | scrapegraph /v1/sitemap | Extract all URLs from a site sitemap |
orth api scrapegraph (CLI) or POST /v1/list-endpoints for the live, authoritative list and current pricing.
Three ways to call ScrapeGraph
1. Orthogonal SDK (@orth/sdk)
The TypeScript SDK wraps Orthogonal’s Run API.
path and body. For asynchronous endpoints like /v1/crawl, poll GET /v1/crawl/{task_id} (also via orthogonal.run) until the job reaches a terminal state.
2. Orthogonal CLI (orth)
The CLI is ideal for one-off scrapes, ad-hoc research, and shell pipelines.
jq or another tool works without translation.
3. x402 — pay-per-use with stablecoins
ScrapeGraph endpoints are also reachable through Orthogonal’s x402 gateway athttps://x402.orth.sh/scrapegraph/<path>. Settlement is on Base (USDC); no pre-paid Orthogonal balance is required. The flow is the standard HTTP 402 protocol: your first request gets a 402 Payment Required with payment requirements, the client signs a payment authorization with your wallet, and the request is retried with an X-Payment header.
Discovering and inspecting endpoints
Orthogonal exposes the same metadata your agent needs to construct valid requests at runtime:format field on /v1/integrate accepts orth-sdk, run-api, curl, x402-fetch, x402-python, or all.
MCP server
Orthogonal hosts an MCP server athttps://mcp.orth.sh so Claude, Cursor, OpenClaw, or any MCP-compatible client can call ScrapeGraph directly without writing glue code. Register it in your client’s MCP config:
search, get_details, integrate, and use. Calling use with { api: "scrapegraph", path: "/v1/smartscraper", body: {...} } runs the same call as the SDK example above.
See the Orthogonal MCP setup guide for client-specific configuration.
Response shape
Every Orthogonal call (SDK, CLI, or/v1/run) returns the same envelope:
402 HTTP status indicates the balance is too low — top up via the dashboard or switch the call to the x402 gateway above.
Resources
- Orthogonal docs — full API reference
- Orthogonal Run API
- Orthogonal CLI
- Orthogonal MCP server
- x402 protocol — open HTTP 402 payment standard
- ScrapeGraph API reference

