firecrawl-scrape▌
firecrawl/cli · updated Apr 8, 2026
Extract clean markdown from any URL, including JavaScript-rendered single-page applications.
- ›Handles both static pages and JS-rendered SPAs with configurable wait times for rendering
- ›Supports multiple concurrent URL scraping with output format options including markdown, HTML, links, and screenshots
- ›Includes content filtering options like main-content-only mode to strip navigation and footers, plus tag inclusion/exclusion
- ›Optional inline question answering via --query flag for tar
firecrawl scrape
Scrape one or more URLs. Returns clean, LLM-optimized markdown. Multiple URLs are scraped concurrently.
When to use
- You have a specific URL and want its content
- The page is static or JS-rendered (SPA)
- Step 2 in the workflow escalation pattern: search → scrape → map → crawl → interact
Quick start
# Basic markdown extraction
firecrawl scrape "<url>" -o .firecrawl/page.md
# Main content only, no nav/footer
firecrawl scrape "<url>" --only-main-content -o .firecrawl/page.md
# Wait for JS to render, then scrape
firecrawl scrape "<url>" --wait-for 3000 -o .firecrawl/page.md
# Multiple URLs (each saved to .firecrawl/)
firecrawl scrape https://example.com https://example.com/blog https://example.com/docs
# Get markdown and links together
firecrawl scrape "<url>" --format markdown,links -o .firecrawl/page.json
# Ask a question about the page
firecrawl scrape "https://example.com/pricing" --query "What is the enterprise plan price?"
Options
| Option | Description |
|---|---|
-f, --format <formats> |
Output formats: markdown, html, rawHtml, links, screenshot, json |
-Q, --query <prompt> |
Ask a question about the page content (5 credits) |
-H |
Include HTTP headers in output |
--only-main-content |
Strip nav, footer, sidebar — main content only |
--wait-for <ms> |
Wait for JS rendering before scraping |
--include-tags <tags> |
Only include these HTML tags |
--exclude-tags <tags> |
Exclude these HTML tags |
-o, --output <path> |
Output file path |
Tips
- Prefer plain scrape over
--query. Scrape to a file, then usegrep,head, or read the markdown directly — you can search and reason over the full content yourself. Use--queryonly when you want a single targeted answer without saving the page (costs 5 extra credits). - Try scrape before interact. Scrape handles static pages and JS-rendered SPAs. Only escalate to
interactwhen you need interaction (clicks, form fills, pagination). - Multiple URLs are scraped concurrently — check
firecrawl --statusfor your concurrency limit. - Single format outputs raw content. Multiple formats (e.g.,
--format markdown,links) output JSON. - Always quote URLs — shell interprets
?and&as special characters. - Naming convention:
.firecrawl/{site}-{path}.md
See also
- firecrawl-search — find pages when you don't have a URL
- firecrawl-instruct — when scrape can't get the content, use
interactto click, fill forms, etc. - firecrawl-download — bulk download an entire site to local files
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.8★★★★★37 reviews- ★★★★★Harper Kim· Dec 24, 2024
firecrawl-scrape reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Harper Huang· Dec 16, 2024
Useful defaults in firecrawl-scrape — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Camila Yang· Dec 12, 2024
Keeps context tight: firecrawl-scrape is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Neel Smith· Dec 8, 2024
I recommend firecrawl-scrape for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Min Martinez· Dec 4, 2024
firecrawl-scrape is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Naina Huang· Nov 27, 2024
Useful defaults in firecrawl-scrape — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Rahul Santra· Nov 11, 2024
firecrawl-scrape reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Carlos Flores· Nov 7, 2024
I recommend firecrawl-scrape for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Luis Mensah· Nov 3, 2024
firecrawl-scrape has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Hiroshi Nasser· Oct 26, 2024
Solid pick for teams standardizing on skills: firecrawl-scrape is focused, and the summary matches what you get after install.
showing 1-10 of 37