ZERO SDK BLOAT · OPENAPI 3.1

Call Scrape-Anything From Python Stdlib, Curl, or Node in 5 Lines With Zero SDK Bloat

Target Query: zero dependency python web scraping api openapi · Category: Developer Guide · Verified Rate: $0.015/hit ($0 on miss) · Updated: 2026-12-02

Direct Answer: Many scraping vendors force you to install bloated SDKs that pin outdated HTTP clients and transitive dependencies. Scrape-Anything exposes a crisp OpenAPI 3.1 REST surface (`POST /v1/extract`, `POST /v1/sitemap`, `POST /v1/batch`, `GET /v1/pricing`, `GET /health`) plus `/mcp`—callable from Python's built-in `urllib.request`, `curl`, or standard `fetch()` in five lines of code.

Engineering Mechanics & Deterministic Guardrails

Core REST Endpoints (`https://scrape.fastmesh.dev`)

EndpointMethodPurposeBilling Policy
`/health`GETLiveness probe, cache metrics & zero-on-miss statusFree (`$0`)
`/openapi.json` & `/v1/pricing`GETOpenAPI 3.1 contract & live SKU micro-USD ratesFree (`$0`)
`/v1/extract` (alias `/v1/scrape`)POSTSingle URL or inline HTML/PDF/XLSX/CSV extraction$0.015–$0.025 verified / `$0` on miss
`/v1/sitemap`POSTRecursive `robots.txt` / `sitemapindex` / RSS / Atom crawl$0.020 verified / `$0` on miss
`/v1/batch`POSTConcurrent multi-item batch with `max_cost_micros` lock$0.015/verified row / `$0` per missed row
Zero-Friction Integration Coverage Across Developer & Autonomous Agent Surfaces REST JSON API (/v1/extract, /sitemap, /batch) OpenAPI 3.1 Native Remote MCP Server (/mcp) 6 Flat Tools treg hub QuickJS Package (0% Fee) $0.015 / $0 Miss Causal Bazaar Public Toll Card 15,000 micros Creem Prepaid Packs ($15/$59/$199) $0/mo Recurring Hard Budget Lock (max_cost_micros) Per-Request Cap

Standard `/v1/extract` Request Schema

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string"
    },
    "content_text": {
      "type": "string"
    },
    "content_base64": {
      "type": "string"
    },
    "format_hint": {
      "type": "string",
      "enum": [
        "auto",
        "js_embedded",
        "html_table",
        "pdf",
        "sitemap_xml",
        "spreadsheet"
      ]
    },
    "json_schema": {
      "type": "object"
    },
    "max_cost_micros": {
      "type": "integer",
      "minimum": 0
    },
    "allow_cache": {
      "type": "boolean"
    }
  }
}

Any extracted payload violating required keys, types, bounds, or regex patterns returns schema_valid: false, exact validation_errors, and billed_micros: 0.

Executable REST, Remote /mcp & treg hub Snippets

python3 -c '
import json, urllib.request
req = urllib.request.Request(
    "https://scrape.fastmesh.dev/v1/extract",
    data=json.dumps({"url": "https://docs.python.org/3/"}).encode(),
    headers={"Content-Type": "application/json"},
)
with urllib.request.urlopen(req, timeout=20) as resp:
    print(json.dumps(json.loads(resp.read()), indent=2))
'

curl -fsSL "https://scrape.fastmesh.dev/openapi.json" | python3 -m json.tool | head -n 40

Hard guarantee: fake-200 CAPTCHA/Turnstile shells, login walls, encrypted PDFs, empty results, schema mismatches, and SSRF HTTP 422 blocks always return billed_micros: 0.

Test Schema-Validated Extraction Live in 5 Seconds

Paste any public URL, HTML table, JSON-LD, CSV, or fake-200 shell at scrape.fastmesh.dev or top up once with never-expiring Creem prepaid credits ($15 Starter / $59 Growth / $199 Scale — $0/mo recurring).

Frequently Asked Questions

Do I need a special SDK to call Scrape-Anything?

No. Any standard HTTP client (`curl`, Python `urllib.request`, JavaScript `fetch`, Go `net/http`) works directly against `/v1/extract`, `/v1/sitemap`, and `/v1/batch`.

Is `/v1/scrape` supported as an alias?

Yes. `POST /v1/scrape` is a first-class alias for `POST /v1/extract` with identical parameters and response schema.

Where do I download the machine-readable API spec?

Fetch `https://scrape.fastmesh.dev/openapi.json` for OpenAPI 3.1 or `https://scrape.fastmesh.dev/skill.md` for agent-ready integration guides.

Related Structured Extraction Guides

Explore all 32 Scrape-Anything Technical Guides or inspect the machine-readable llms.txt index.