Overview
The Scrape service fetches a web page and returns content in one or more formats at the same time: markdown, HTML, links, images, summary, JSON extraction, branding, or screenshots. It replaces the previous Markdownify service and uses a flexibleformats array so a single call can return any combination you need.
Try the Scrape service instantly in our interactive playground.
Pricing
When a request includes multiple formats, the per-format costs are summed. Enabling
stealth in fetchConfig adds 5 credits; render mode (auto/fast/js) does not affect the cost. See the pricing page for the full breakdown.
Getting Started
Quick Start
Parameters
Get your API key from the dashboard.
Example Response
Example Response
Output Formats
Pass an array of format objects. Each entry has atype and optional per-format options.
Multi-format example
Screenshot
Capture a screenshot of the page. UsefullPage to grab the entire scrollable area, or set width/height for a fixed viewport. quality (1–100) controls JPEG compression.
Branding
Extract a page’s brand identity — colors, typography, and logos — in a single call.Branding costs 25 credits per call — significantly more than other formats because it runs additional vision and typography analysis on top of the page fetch.
Structured JSON extraction
Use thejson format to extract structured data during the scrape.
Using a Pydantic schema (Python)
JsonFormatConfig.schema accepts any JSON Schema dict, so a Pydantic BaseModel works via model_json_schema():
FetchConfig
Control how pages are fetched — JS rendering, stealth, custom headers, etc.Async Support (Python)
Key Features
Multiple Formats
Request any combination of markdown, HTML, links, images, summary, JSON, branding, or screenshots in a single call.
JavaScript Rendering
Handle JavaScript-heavy sites with
mode: "js" on fetchConfig.Structured Output
Use the
json format with a JSON schema to get typed data back.Reliable Output
Stealth mode and country-targeted proxies for difficult sources.
Integration Options
Official SDKs
- Python SDK — perfect for automation and data processing
- JavaScript SDK — ideal for web applications and Node.js (
scrapegraph-js≥ 2.1.0, Node ≥ 22)
AI Framework Integrations
- LangChain Integration — use Scrape in your content pipelines
- LlamaIndex Integration — create searchable knowledge bases
Support & Resources
Documentation
Comprehensive guides and tutorials
API Reference
Detailed API documentation
Community
Join our Discord community
GitHub
Check out our open-source projects
Ready to Start?
Sign up now and get your API key to begin scraping web content!