从任意 URL(包括 JavaScript 渲染的单页应用)中提取干净的 Markdown。当用户提供 URL 并想获取其内容、说“scrape”等时使用此技能。
Scrape one or more URLs. Returns clean, LLM-optimized markdown. Multiple URLs are scraped concurrently.
bash
# 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?"
OptionDescription-f, --format <formats>Output formats: markdown, html, rawHtml, links, screenshot, json-Q, --query <prompt>Ask a question about the page content (5 credits)-HInclude HTTP headers in output--only-main-contentStrip 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
--query. Scrape to a file, then use grep, head, or read the markdown directly — you can search and reason over the full content yourself. Use --query only when you want a single targeted answer without saving the page (costs 5 extra credits).interact when you need interaction (clicks, form fills, pagination).firecrawl --status for your concurrency limit.--format markdown,links) output JSON.? and & as special characters..firecrawl/{site}-{path}.mdinteract to click, fill forms, etc.