Skip to main content
Search, scrape, interact, crawl, map, and run agent jobs directly from the terminal. The Firecrawl CLI works standalone or with skills that AI coding agents like Claude Code, Antigravity, and OpenCode can discover and use automatically.

Installation

If you are using an AI agent like Claude Code, you can install the Firecrawl skills below and the agent will set them up for you.
  • --all installs every Firecrawl skill segment (CLI, build, workflows) to every detected AI coding agent
  • --browser opens the browser for Firecrawl authentication automatically
After installing the skills, restart your agent for it to discover them.
You can also manually install the Firecrawl CLI globally using npm:
CLI

Authentication

Before using the CLI, you need to authenticate with your Firecrawl API key.
Some CLI commands work without logging in. With no API key configured, supported commands fall back to the keyless free tier — free, but rate-limited per IP. See Rate Limits for the current keyless command list and caveats. Sign up for a free key for 1,000 credits and higher limits; the CLI uses it automatically once configured.

Login

CLI

View Configuration

CLI

Logout

CLI

Self-Hosted / Local Development

For self-hosted Firecrawl instances or local development, use the --api-url option:
CLI
When using a custom API URL (anything other than https://api.firecrawl.dev), API key authentication is automatically skipped, allowing you to use local instances without an API key.

Check Status

Verify installation, authentication, and view rate limits:
CLI
Output when ready:
  • Concurrency: Maximum parallel jobs. Run parallel operations close to this limit but not above.
  • Credits: Remaining API credits. Each scrape/crawl consumes credits.

Commands

The hidden firecrawl browser command is deprecated for agent workflows. Use firecrawl scrape <url> first, then firecrawl interact ... with the resulting scrape session.

Scrape

Scrape a single URL and extract its content in various formats.
Use --only-main-content to get clean output without navigation, footers, and ads. This is recommended for most use cases where you want just the article or main page content.
CLI

Output Formats

CLI

Scrape Options

CLI
Available Options:
Search the web and optionally scrape the results.
CLI

Search Options

CLI
Available Options:

Map

Discover all URLs on a website quickly.
CLI

Map Options

CLI
Available Options:

Interact

Scrape a page, then interact with it using natural language or code. Interact uses the most recent scrape by default, or you can pass a specific scrape ID.
CLI
Available Options:

Crawl

Crawl an entire website starting from a URL.
CLI

Check Crawl Status

CLI

Crawl Options

CLI
Available Options:

Monitor

Create recurring scrapes or crawls that diff each run against the previous snapshot. Add a goal when you want Firecrawl to judge which changed pages are meaningful for your use case.
CLI
Monitor goals should stay short and faithful to the user’s intent: say what should trigger an alert, restate any stated scope, and include exclusions only when they are obvious or explicitly requested. If the user asks for “any change”, keep the goal broad. Available Options:

Agent

Search and gather data from the web using natural language prompts.
CLI

Agent Options

CLI
Available Options:

Credit Usage

Check your team’s credit balance and usage.
CLI

Version

Display the CLI version.
CLI

Global Options

These options are available for all commands:

Output Handling

The CLI outputs to stdout by default, making it easy to pipe or redirect:
CLI

Format Behavior

  • Single format: Outputs raw content (markdown text, HTML, etc.)
  • Multiple formats: Outputs JSON with all requested data
CLI

Examples

Quick Scrape

CLI

Full Site Crawl

CLI

Site Discovery

CLI

Research Workflow

CLI

Agent

CLI

Combine with Other Tools

CLI

Telemetry

The CLI collects anonymous usage data during authentication to help improve the product:
  • CLI version, OS, and Node.js version
  • Development tool detection (e.g., Cursor, VS Code, Claude Code)
No command data, URLs, or file contents are collected via the CLI. To disable telemetry, set the environment variable:
CLI

Open Source

The Firecrawl CLI and all three skill segments are open source on GitHub:
Are you an AI agent that needs a Firecrawl API key? See firecrawl.dev/agent-onboarding/SKILL.md for automated onboarding instructions.