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. No hosted API key required to run it yourself.

# One command to start the API server
pip install "pry-scraper @ git+https://codeberg.org/cryptorugmunch/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-detection10-tier fallback chain: direct → cloudscraper → FlareSolverr → undetected-chromedriver → Playwright → Googlebot → Tor → 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 (USDC/USDT on Base, Ethereum, Polygon, Arbitrum, Optimism, BNB, Avalanche, Solana)
TopicPage
Run it in 5 minutesQuickstart
Install (pip / Docker / source)Installation
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 git.rugmunch.io/RugMunchMedia/pryscraper (mirrored to Codeberg and GitLab).

  • License: MIT (core) + BSL 1.1 (/docs/stealth/anti-detection module, converts to MIT on 2029-01-01). See Pricing & Monetization.
  • Feedback / bugs: open an issue on the Forgejo repo, or email [email protected] for commercial licensing.