Skip to main content

Pry

Open any website.

Pry is a self-hosted web scraping and browser automation API. It replaces Firecrawl, Crawl4AI, and Browserless in a single application — Cloudflare bypass, document parsing, AI extraction, and x402 crypto pay-per-call — all under your control. Auth is API-key + x402 gating: set your own key, or gate endpoints so clients pay per call in crypto.

# One command to start the API server
pip install "pry-scraper @ git+https://codeberg.org/RugMunchMedia/pryscraper.git"
pry serve

What Pry does​

  • Scrape any URL to clean markdown, HTML, or JSON — with automatic Cloudflare/WAF bypass.
  • Crawl sites up to thousands of pages with configurable depth and async webhooks.
  • Extract structured data with CSS selectors, JSON schemas, or LLM extraction with intelligent chunking.
  • Automate real browsers — login flows, form filling, persistent sessions, screenshots.
  • Parse documents: PDF, DOCX, images (OCR), CSV, JSON.
  • Get paid (or pay) per call with x402 — HTTP 402 micropayments in USDC/USDT, no account needed.

Feature highlights​

AreaWhat you get
Anti-detection15-tier fallback chain: direct → TLS fingerprint → cloudscraper → FlareSolverr → undetected-chromedriver → Camoufox → Playwright → Googlebot → cookie pre-warming → behavioral biometrics → Tor → premium proxies → Archive.org → Google Cache → Textise
Cloudflare bypassAutomatic via FlareSolverr sidecar (Docker)
Stealth engine6 injected JS scripts, TLS fingerprint randomization, cookie warming, behavioral biometrics, Camoufox
Document parsingPDF, DOCX, OCR, CSV, JSON
AIVision (5-model OpenRouter fallback), summarization (local Ollama), LLM extraction, categorization
Structured dataCSS extraction, JSON schema extraction, Schema.org/JSON-LD, shadow DOM
MonitoringPage watch/diff, cron monitors, freshness dashboards, multi-channel alerts
AutomationStep-based browser automation, persistent sessions, action recorder, CAPTCHA solving (6 providers)
Commerce/CRMWooCommerce, Shopify, Salesforce, HubSpot sync
ComplianceGDPR consent, deletion, retention, audit log
Monetizationx402 pay-per-call + bulk scrape packs — USDC on Base, Ethereum, Arbitrum, Optimism, Polygon; SOL/USDC/USDT on Solana
TopicPage
Run it in 5 minutesGetting Started in 5 Minutes
Quickstart (SDK + CLI)Quickstart
Install (pip / Docker / source)Installation
All 17 data domainsData Domains
Docker Compose referenceDocker Compose
Environment variablesConfiguration
API overview (auth, errors, limits)API Overview
Scrape / crawl / batch / mapScraping API
CSS / LLM extraction, parse, OCRExtraction API
Browser automation & sessionsAutomation API
Anti-detection internalsStealth & Anti-detection
Crypto pay-per-callx402 Pay-per-call
AI agent integrationMCP Integration
Free vs paid lanesPricing & Monetization
Production deploymentDeployment
Common questionsFAQ
Errors and fixesTroubleshooting

Source​

Pry is developed by Rug Munch Media LLC. The source lives at codeberg.org/RugMunchMedia/pryscraper, mirrored to GitLab.