# Table of Contents - [Quickstart | Firecrawl](#quickstart-firecrawl) - [FIRE-1 AI Agent (Beta) | Firecrawl](#fire-1-ai-agent-beta-firecrawl) - [Cancel Agent - Firecrawl Docs](#cancel-agent-firecrawl-docs) - [Get Agent Status - Firecrawl Docs](#get-agent-status-firecrawl-docs) - [Agent - Firecrawl Docs](#agent-firecrawl-docs) - [Advanced Scraping Guide | Firecrawl](#advanced-scraping-guide-firecrawl) - [Batch Scrape - Firecrawl Docs](#batch-scrape-firecrawl-docs) - [Get Batch Scrape Status - Firecrawl Docs](#get-batch-scrape-status-firecrawl-docs) - [Get Crawl Errors - Firecrawl Docs](#get-crawl-errors-firecrawl-docs) - [Get Batch Scrape Errors - Firecrawl Docs](#get-batch-scrape-errors-firecrawl-docs) - [Crawl Params Preview - Firecrawl Docs](#crawl-params-preview-firecrawl-docs) - [Cancel Crawl - Firecrawl Docs](#cancel-crawl-firecrawl-docs) - [Cancel Batch Scrape - Firecrawl Docs](#cancel-batch-scrape-firecrawl-docs) - [Credit Usage - Firecrawl Docs](#credit-usage-firecrawl-docs) - [Historical Token Usage - Firecrawl Docs](#historical-token-usage-firecrawl-docs) - [Token Usage - Firecrawl Docs](#token-usage-firecrawl-docs) - [Get Crawl Status - Firecrawl Docs](#get-crawl-status-firecrawl-docs) - [Get Extract Status - Firecrawl Docs](#get-extract-status-firecrawl-docs) - [Crawl - Firecrawl Docs](#crawl-firecrawl-docs) - [Cancel Batch Scrape - Firecrawl Docs](#cancel-batch-scrape-firecrawl-docs) - [Open Source vs Cloud | Firecrawl](#open-source-vs-cloud-firecrawl) - [Cancel Crawl - Firecrawl Docs](#cancel-crawl-firecrawl-docs) - [Batch Scrape - Firecrawl Docs](#batch-scrape-firecrawl-docs) - [Extract - Firecrawl Docs](#extract-firecrawl-docs) - [Get Active Crawls - Firecrawl Docs](#get-active-crawls-firecrawl-docs) - [Get Batch Scrape Errors - Firecrawl Docs](#get-batch-scrape-errors-firecrawl-docs) - [Token Usage - Firecrawl Docs](#token-usage-firecrawl-docs) - [Queue Status - Firecrawl Docs](#queue-status-firecrawl-docs) - [Get Extract Status - Firecrawl Docs](#get-extract-status-firecrawl-docs) - [Historical Credit Usage - Firecrawl Docs](#historical-credit-usage-firecrawl-docs) - [Queue Status - Firecrawl Docs](#queue-status-firecrawl-docs) - [Historical Credit Usage - Firecrawl Docs](#historical-credit-usage-firecrawl-docs) - [Credit Usage - Firecrawl Docs](#credit-usage-firecrawl-docs) - [Map - Firecrawl Docs](#map-firecrawl-docs) - [Full-Stack Templates - Firecrawl Docs](#full-stack-templates-firecrawl-docs) - [Get Batch Scrape Status - Firecrawl Docs](#get-batch-scrape-status-firecrawl-docs) - [Map - Firecrawl Docs](#map-firecrawl-docs) - [Historical Token Usage - Firecrawl Docs](#historical-token-usage-firecrawl-docs) - [Crawl - Firecrawl Docs](#crawl-firecrawl-docs) - [Self-hosting | Firecrawl](#self-hosting-firecrawl) - [Search - Firecrawl Docs](#search-firecrawl-docs) - [Running locally | Firecrawl](#running-locally-firecrawl) - [Get Crawl Errors - Firecrawl Docs](#get-crawl-errors-firecrawl-docs) - [Get Active Crawls - Firecrawl Docs](#get-active-crawls-firecrawl-docs) - [Scrape - Firecrawl Docs](#scrape-firecrawl-docs) - [Agente - Firecrawl Docs](#agente-firecrawl-docs) - [Extract - Firecrawl Docs](#extract-firecrawl-docs) - [Agente de IA FIRE-1 (Beta) | Firecrawl](#agente-de-ia-fire-1-beta-firecrawl) - [Scrape - Firecrawl Docs](#scrape-firecrawl-docs) - [Get Crawl Status - Firecrawl Docs](#get-crawl-status-firecrawl-docs) - [Search - Firecrawl Docs](#search-firecrawl-docs) - [Firecrawl + Make - Firecrawl Docs](#firecrawl-make-firecrawl-docs) - [Obtener el estado del agente - Firecrawl Docs](#obtener-el-estado-del-agente-firecrawl-docs) - [Cancelar agente - Firecrawl Docs](#cancelar-agente-firecrawl-docs) - [Introduction - Firecrawl Docs](#introduction-firecrawl-docs) - [Scraping Etsy - Firecrawl Docs](#scraping-etsy-firecrawl-docs) - [MCP Web Search & Scrape in Cursor - Firecrawl Docs](#mcp-web-search-scrape-in-cursor-firecrawl-docs) - [MCP Web Search & Scrape in Claude Code - Firecrawl Docs](#mcp-web-search-scrape-in-claude-code-firecrawl-docs) - [Authenticated Scraping - Firecrawl Docs](#authenticated-scraping-firecrawl-docs) - [MCP Web Search & Scrape in ChatGPT - Firecrawl Docs](#mcp-web-search-scrape-in-chatgpt-firecrawl-docs) - [MCP Web Search & Scrape in Factory AI - Firecrawl Docs](#mcp-web-search-scrape-in-factory-ai-firecrawl-docs) - [Firecrawl + Zapier - Firecrawl Docs](#firecrawl-zapier-firecrawl-docs) - [Agent Development Kit (ADK) - Firecrawl Docs](#agent-development-kit-adk-firecrawl-docs) - [Firecrawl + Dify - Firecrawl Docs](#firecrawl-dify-firecrawl-docs) - [MCP Web Search & Scrape in Windsurf - Firecrawl Docs](#mcp-web-search-scrape-in-windsurf-firecrawl-docs) - [SDKs | Firecrawl](#sdks-firecrawl) - [Page Not Found](#page-not-found) - [Deep Research - Firecrawl Docs](#deep-research-firecrawl-docs) - [Limites de débit | Firecrawl](#limites-de-d-bit-firecrawl) - [Rate Limits | Firecrawl](#rate-limits-firecrawl) - [SEO Platforms - Firecrawl Docs](#seo-platforms-firecrawl-docs) - [Webhooks | Firecrawl](#webhooks-firecrawl) - [Auto-hébergement | Firecrawl](#auto-h-bergement-firecrawl) - [Webhook Testing | Firecrawl](#webhook-testing-firecrawl) - [Webhooks | Firecrawl](#webhooks-firecrawl) - [Introduction - Firecrawl Docs](#introduction-firecrawl-docs) - [Tests des webhooks | Firecrawl](#tests-des-webhooks-firecrawl) - [Modèles full stack - Firecrawl Docs](#mod-les-full-stack-firecrawl-docs) - [SDKs | Firecrawl](#sdks-firecrawl) - [Recherche approfondie - Firecrawl Docs](#recherche-approfondie-firecrawl-docs) - [Webhook Security | Firecrawl](#webhook-security-firecrawl) - [AI Platforms - Firecrawl Docs](#ai-platforms-firecrawl-docs) --- # Quickstart | Firecrawl [Skip to main content](https://docs.firecrawl.dev/introduction#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... Ctrl KAsk AI Search... Navigation Get Started Quickstart [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Welcome to Firecrawl](https://docs.firecrawl.dev/introduction#welcome-to-firecrawl) * [How to use it?](https://docs.firecrawl.dev/introduction#how-to-use-it) * [API Key](https://docs.firecrawl.dev/introduction#api-key) * [Features](https://docs.firecrawl.dev/introduction#features) * [Powerful Capabilities](https://docs.firecrawl.dev/introduction#powerful-capabilities) * [Installing Firecrawl](https://docs.firecrawl.dev/introduction#installing-firecrawl) * [Scraping](https://docs.firecrawl.dev/introduction#scraping) * [Response](https://docs.firecrawl.dev/introduction#response) * [Crawling](https://docs.firecrawl.dev/introduction#crawling) * [Usage](https://docs.firecrawl.dev/introduction#usage) * [Get Crawl Status](https://docs.firecrawl.dev/introduction#get-crawl-status) * [Response](https://docs.firecrawl.dev/introduction#response-2) * [JSON mode](https://docs.firecrawl.dev/introduction#json-mode) * [Search](https://docs.firecrawl.dev/introduction#search) * [Response](https://docs.firecrawl.dev/introduction#response-3) * [Extracting without schema](https://docs.firecrawl.dev/introduction#extracting-without-schema) * [Interacting with the page with Actions](https://docs.firecrawl.dev/introduction#interacting-with-the-page-with-actions) * [Example](https://docs.firecrawl.dev/introduction#example) * [Output](https://docs.firecrawl.dev/introduction#output) * [Open Source vs Cloud](https://docs.firecrawl.dev/introduction#open-source-vs-cloud) * [Contributing](https://docs.firecrawl.dev/introduction#contributing) ![Hero Light](https://mintcdn.com/firecrawl/vlKm1oZYK3oSRVTM/images/turn-websites-into-llm-ready-data--firecrawl.png?w=2500&fit=max&auto=format&n=vlKm1oZYK3oSRVTM&q=85&s=1fe62bc4843cf736d0462e93ae0610c8) [​](https://docs.firecrawl.dev/introduction#welcome-to-firecrawl) Welcome to Firecrawl ----------------------------------------------------------------------------------------- [Firecrawl](https://firecrawl.dev/?ref=github) is an API service that takes a URL, crawls it, and converts it into clean markdown. We crawl all accessible subpages and give you clean markdown for each. No sitemap required. [​](https://docs.firecrawl.dev/introduction#how-to-use-it) How to use it? ---------------------------------------------------------------------------- We provide an easy to use API with our hosted version. You can find the playground and documentation [here](https://firecrawl.dev/playground) . You can also self host the backend if you’d like. Check out the following resources to get started: * **API**: [Documentation](https://docs.firecrawl.dev/api-reference/introduction) * **SDKs**: [Python](https://docs.firecrawl.dev/sdks/python) , [Node](https://docs.firecrawl.dev/sdks/node) , [CLI](https://docs.firecrawl.dev/sdks/cli) * **LLM Frameworks**: [Langchain (python)](https://python.langchain.com/docs/integrations/document_loaders/firecrawl/) , [Langchain (js)](https://js.langchain.com/docs/integrations/document_loaders/web_loaders/firecrawl) , [Llama Index](https://docs.llamaindex.ai/en/latest/examples/data_connectors/WebPageDemo/#using-firecrawl-reader) , [Crew.ai](https://docs.crewai.com/) , [Composio](https://composio.dev/tools/firecrawl/all) , [PraisonAI](https://docs.praison.ai/firecrawl/) , [Superinterface](https://superinterface.ai/docs/assistants/functions/firecrawl) , [Vectorize](https://docs.vectorize.io/integrations/source-connectors/firecrawl) * **Low-code Frameworks**: [Dify](https://dify.ai/blog/dify-ai-blog-integrated-with-firecrawl) , [Langflow](https://docs.langflow.org/) , [Flowise AI](https://docs.flowiseai.com/integrations/langchain/document-loaders/firecrawl) , [Cargo](https://docs.getcargo.io/integration/firecrawl) , [Pipedream](https://pipedream.com/apps/firecrawl/) * **Community SDKs**: [Go](https://docs.firecrawl.dev/sdks/go) , [Rust](https://docs.firecrawl.dev/sdks/rust) (v1) * **Others**: [Zapier](https://zapier.com/apps/firecrawl/integrations) , [Pabbly Connect](https://www.pabbly.com/connect/integrations/firecrawl/) * **Self-host:** To self-host refer to guide [here](https://docs.firecrawl.dev/contributing/self-host) . Want an SDK or Integration? Let us know by opening an [issue](https://github.com/firecrawl/firecrawl/issues) . ### [​](https://docs.firecrawl.dev/introduction#api-key) API Key To use the API, you need to sign up on [Firecrawl](https://firecrawl.dev/) and get an API key. ### [​](https://docs.firecrawl.dev/introduction#features) Features * [**Scrape**](https://docs.firecrawl.dev/introduction#scraping) : scrapes a URL and get its content in LLM-ready format (markdown, summary, structured data via [json mode](https://docs.firecrawl.dev/introduction#json-mode) , screenshot, html) * [**Crawl**](https://docs.firecrawl.dev/introduction#crawling) : scrapes all the URLs of a web page and return content in LLM-ready format * [**Map**](https://docs.firecrawl.dev/features/map) : input a website and get all the website urls - extremely fast * [**Search**](https://docs.firecrawl.dev/features/search) : search the web and get full content from results * [**Extract**](https://docs.firecrawl.dev/features/extract) : get structured data from single page, multiple pages or entire websites with AI. ### [​](https://docs.firecrawl.dev/introduction#powerful-capabilities) Powerful Capabilities * **LLM-ready formats**: markdown, summary, structured data, screenshot, HTML, links, metadata, images * **The hard stuff**: proxies, anti-bot mechanisms, dynamic content (js-rendered), output parsing, orchestration * **Lightning fast**: Get results in seconds—built for speed and high-throughput use cases. * **Customizability**: exclude tags, custom headers support, max crawl depth, etc… * **Media parsing**: pdfs, docx, images. * **Reliability first**: designed to get the data you need - no matter how hard it is. * **Actions**: click, scroll, input, wait and more before extracting data You can find all of Firecrawl’s capabilities and how to use them in our [documentation](https://docs.firecrawl.dev/api-reference/v2-introduction) [​](https://docs.firecrawl.dev/introduction#installing-firecrawl) Installing Firecrawl ----------------------------------------------------------------------------------------- Python Node CLI Copy Ask AI # pip install firecrawl-py from firecrawl import Firecrawl firecrawl = Firecrawl(api_key="fc-YOUR-API-KEY") [​](https://docs.firecrawl.dev/introduction#scraping) Scraping ----------------------------------------------------------------- To scrape a single URL, use the `scrape` method. It takes the URL as a parameter and returns the scraped data as a dictionary. Python Node cURL CLI Copy Ask AI from firecrawl import Firecrawl firecrawl = Firecrawl(api_key="fc-YOUR-API-KEY") # Scrape a website: doc = firecrawl.scrape("https://firecrawl.dev", formats=["markdown", "html"]) print(doc) ### [​](https://docs.firecrawl.dev/introduction#response) Response SDKs will return the data object directly. cURL will return the payload exactly as shown below. Copy Ask AI { "success": true, "data" : { "markdown": "Launch Week I is here! [See our Day 2 Release 🚀](https://www.firecrawl.dev/blog/launch-week-i-day-2-doubled-rate-limits)[💥 Get 2 months free...",\ "html": "")\ print(status)\ \ \ #### \ \ [​](https://docs.firecrawl.dev/introduction#response-2)\ \ Response\ \ The response will be different depending on the status of the crawl. For not completed or large responses exceeding 10MB, a `next` URL parameter is provided. You must request this URL to retrieve the next 10MB of data. If the `next` parameter is absent, it indicates the end of the crawl data.\ \ Scraping\ \ Completed\ \ Copy\ \ Ask AI\ \ {\ "status": "scraping",\ "total": 36,\ "completed": 10,\ "creditsUsed": 10,\ "expiresAt": "2024-00-00T00:00:00.000Z",\ "next": "https://api.firecrawl.dev/v2/crawl/123-456-789?skip=10",\ "data": [\ {\ "markdown": "[Firecrawl Docs home page![light logo](https://mintlify.s3-us-west-1.amazonaws.com/firecrawl/logo/light.svg)!...",\ "html": "...",\ "metadata": {\ "title": "Build a 'Chat with website' using Groq Llama 3 | Firecrawl",\ "language": "en",\ "sourceURL": "https://docs.firecrawl.dev/learn/rag-llama3",\ "description": "Learn how to use Firecrawl, Groq Llama 3, and Langchain to build a 'Chat with your website' bot.",\ "ogLocaleAlternate": [],\ "statusCode": 200\ }\ },\ ...\ ]\ }\ \ \ [​](https://docs.firecrawl.dev/introduction#json-mode)\ \ JSON mode\ -------------------------------------------------------------------\ \ With JSON mode, you can easily extract structured data from any URL. We support pydantic schemas to make it easier for you too. Here is how you to use it:\ \ Python\ \ Node\ \ cURL\ \ Copy\ \ Ask AI\ \ from firecrawl import Firecrawl\ from pydantic import BaseModel\ \ app = Firecrawl(api_key="fc-YOUR-API-KEY")\ \ class CompanyInfo(BaseModel):\ company_mission: str\ supports_sso: bool\ is_open_source: bool\ is_in_yc: bool\ \ result = app.scrape(\ 'https://firecrawl.dev',\ formats=[{\ "type": "json",\ "schema": CompanyInfo.model_json_schema()\ }],\ only_main_content=False,\ timeout=120000\ )\ \ print(result)\ \ \ Output:\ \ JSON\ \ Copy\ \ Ask AI\ \ {\ "success": true,\ "data": {\ "json": {\ "company_mission": "AI-powered web scraping and data extraction",\ "supports_sso": true,\ "is_open_source": true,\ "is_in_yc": true\ },\ "metadata": {\ "title": "Firecrawl",\ "description": "AI-powered web scraping and data extraction",\ "robots": "follow, index",\ "ogTitle": "Firecrawl",\ "ogDescription": "AI-powered web scraping and data extraction",\ "ogUrl": "https://firecrawl.dev/",\ "ogImage": "https://firecrawl.dev/og.png",\ "ogLocaleAlternate": [],\ "ogSiteName": "Firecrawl",\ "sourceURL": "https://firecrawl.dev/"\ },\ }\ }\ \ \ [​](https://docs.firecrawl.dev/introduction#search)\ \ Search\ -------------------------------------------------------------\ \ Firecrawl’s search API allows you to perform web searches and optionally scrape the search results in one operation.\ \ * Choose specific output formats (markdown, HTML, links, screenshots)\ * Choose specific sources (web, news, images)\ * Search the web with customizable parameters (location, etc.)\ \ For details, see the [Search Endpoint API Reference](https://docs.firecrawl.dev/api-reference/endpoint/search)\ .\ \ Python\ \ Node\ \ CLI\ \ Copy\ \ Ask AI\ \ from firecrawl import Firecrawl\ \ firecrawl = Firecrawl(api_key="fc-YOUR-API-KEY")\ \ results = firecrawl.search(\ query="firecrawl",\ limit=3,\ )\ print(results)\ \ \ ### \ \ [​](https://docs.firecrawl.dev/introduction#response-3)\ \ Response\ \ SDKs will return the data object directly. cURL will return the complete payload.\ \ JSON\ \ Copy\ \ Ask AI\ \ {\ "success": true,\ "data": {\ "web": [\ {\ "url": "https://www.firecrawl.dev/",\ "title": "Firecrawl - The Web Data API for AI",\ "description": "The web crawling, scraping, and search API for AI. Built for scale. Firecrawl delivers the entire internet to AI agents and builders.",\ "position": 1\ },\ {\ "url": "https://github.com/mendableai/firecrawl",\ "title": "mendableai/firecrawl: Turn entire websites into LLM-ready ... - GitHub",\ "description": "Firecrawl is an API service that takes a URL, crawls it, and converts it into clean markdown or structured data.",\ "position": 2\ },\ ...\ ],\ "images": [\ {\ "title": "Quickstart | Firecrawl",\ "imageUrl": "https://mintlify.s3.us-west-1.amazonaws.com/firecrawl/logo/logo.png",\ "imageWidth": 5814,\ "imageHeight": 1200,\ "url": "https://docs.firecrawl.dev/",\ "position": 1\ },\ ...\ ],\ "news": [\ {\ "title": "Y Combinator startup Firecrawl is ready to pay $1M to hire three AI agents as employees",\ "url": "https://techcrunch.com/2025/05/17/y-combinator-startup-firecrawl-is-ready-to-pay-1m-to-hire-three-ai-agents-as-employees/",\ "snippet": "It's now placed three new ads on YC's job board for “AI agents only” and has set aside a $1 million budget total to make it happen.",\ "date": "3 months ago",\ "position": 1\ },\ ...\ ]\ }\ }\ \ \ ### \ \ [​](https://docs.firecrawl.dev/introduction#extracting-without-schema)\ \ Extracting without schema\ \ You can now extract without a schema by just passing a `prompt` to the endpoint. The llm chooses the structure of the data.\ \ Python\ \ Node\ \ cURL\ \ Copy\ \ Ask AI\ \ from firecrawl import Firecrawl\ \ app = Firecrawl(api_key="fc-YOUR-API-KEY")\ \ result = app.scrape(\ 'https://firecrawl.dev',\ formats=[{\ "type": "json",\ "prompt": "Extract the company mission from the page."\ }],\ only_main_content=False,\ timeout=120000\ )\ \ print(result)\ \ \ Output:\ \ JSON\ \ Copy\ \ Ask AI\ \ {\ "success": true,\ "data": {\ "json": {\ "company_mission": "AI-powered web scraping and data extraction",\ },\ "metadata": {\ "title": "Firecrawl",\ "description": "AI-powered web scraping and data extraction",\ "robots": "follow, index",\ "ogTitle": "Firecrawl",\ "ogDescription": "AI-powered web scraping and data extraction",\ "ogUrl": "https://firecrawl.dev/",\ "ogImage": "https://firecrawl.dev/og.png",\ "ogLocaleAlternate": [],\ "ogSiteName": "Firecrawl",\ "sourceURL": "https://firecrawl.dev/"\ },\ }\ }\ \ \ [​](https://docs.firecrawl.dev/introduction#interacting-with-the-page-with-actions)\ \ Interacting with the page with Actions\ -----------------------------------------------------------------------------------------------------------------------------\ \ Firecrawl allows you to perform various actions on a web page before scraping its content. This is particularly useful for interacting with dynamic content, navigating through pages, or accessing content that requires user interaction. Here is an example of how to use actions to navigate to google.com, search for Firecrawl, click on the first result, and take a screenshot. It is important to almost always use the `wait` action before/after executing other actions to give enough time for the page to load.\ \ ### \ \ [​](https://docs.firecrawl.dev/introduction#example)\ \ Example\ \ Python\ \ Node\ \ cURL\ \ Copy\ \ Ask AI\ \ from firecrawl import Firecrawl\ \ firecrawl = Firecrawl(api_key="fc-YOUR-API-KEY")\ \ doc = firecrawl.scrape(\ url="https://example.com/login",\ formats=["markdown"],\ actions=[\ {"type": "write", "text": "john@example.com"},\ {"type": "press", "key": "Tab"},\ {"type": "write", "text": "secret"},\ {"type": "click", "selector": 'button[type="submit"]'},\ {"type": "wait", "milliseconds": 1500},\ {"type": "screenshot", "fullPage": True},\ ],\ )\ \ print(doc.markdown, doc.screenshot)\ \ \ ### \ \ [​](https://docs.firecrawl.dev/introduction#output)\ \ Output\ \ JSON\ \ Copy\ \ Ask AI\ \ {\ "success": true,\ "data": {\ "markdown": "Our first Launch Week is over! [See the recap 🚀](blog/firecrawl-launch-week-1-recap)...",\ "actions": {\ "screenshots": [\ "https://alttmdsdujxrfnakrkyi.supabase.co/storage/v1/object/public/media/screenshot-75ef2d87-31e0-4349-a478-fb432a29e241.png"\ ],\ "scrapes": [\ {\ "url": "https://www.firecrawl.dev/",\ "html": "

Firecrawl

"\ }\ ]\ },\ "metadata": {\ "title": "Home - Firecrawl",\ "description": "Firecrawl crawls and converts any website into clean markdown.",\ "language": "en",\ "keywords": "Firecrawl,Markdown,Data,Mendable,Langchain",\ "robots": "follow, index",\ "ogTitle": "Firecrawl",\ "ogDescription": "Turn any website into LLM-ready data.",\ "ogUrl": "https://www.firecrawl.dev/",\ "ogImage": "https://www.firecrawl.dev/og.png?123",\ "ogLocaleAlternate": [],\ "ogSiteName": "Firecrawl",\ "sourceURL": "http://google.com",\ "statusCode": 200\ }\ }\ }\ \ \ [​](https://docs.firecrawl.dev/introduction#open-source-vs-cloud)\ \ Open Source vs Cloud\ -----------------------------------------------------------------------------------------\ \ Firecrawl is open source available under the [AGPL-3.0 license](https://github.com/mendableai/firecrawl/blob/main/LICENSE)\ . To deliver the best possible product, we offer a hosted version of Firecrawl alongside our open-source offering. The cloud solution allows us to continuously innovate and maintain a high-quality, sustainable service for all users. Firecrawl Cloud is available at [firecrawl.dev](https://firecrawl.dev/)\ and offers a range of features that are not available in the open source version:\ \ ![Firecrawl Cloud vs Open Source](https://mintcdn.com/firecrawl/vlKm1oZYK3oSRVTM/images/open-source-cloud.png?w=2500&fit=max&auto=format&n=vlKm1oZYK3oSRVTM&q=85&s=0f6f34e97633cabdc17cbc28d7af2bb9)\ \ [​](https://docs.firecrawl.dev/introduction#contributing)\ \ Contributing\ -------------------------------------------------------------------------\ \ We love contributions! Please read our [contributing guide](https://github.com/mendableai/firecrawl/blob/main/CONTRIBUTING.md)\ before submitting a pull request.\ \ [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/introduction.mdx)\ [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/introduction)\ \ [Firecrawl MCP Server\ \ Next](https://docs.firecrawl.dev/mcp-server)\ \ Ctrl+I\ \ Assistant\ \ Responses are generated using AI and may contain mistakes. --- # FIRE-1 AI Agent (Beta) | Firecrawl [Skip to main content](https://docs.firecrawl.dev/agents/fire-1#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Agentic Features FIRE-1 Agent (Beta) [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Crawl](https://docs.firecrawl.dev/features/crawl) * [Map](https://docs.firecrawl.dev/features/map) * [Search](https://docs.firecrawl.dev/features/search) ##### Agentic Features * [Extract](https://docs.firecrawl.dev/features/extract) * [FIRE-1 (Beta)](https://docs.firecrawl.dev/agents/fire-1) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [What FIRE-1 Can Do:](https://docs.firecrawl.dev/agents/fire-1#what-fire-1-can-do%3A) * [How to use FIRE-1](https://docs.firecrawl.dev/agents/fire-1#how-to-use-fire-1) * [Billing](https://docs.firecrawl.dev/agents/fire-1#billing) * [Rate limits](https://docs.firecrawl.dev/agents/fire-1#rate-limits) FIRE-1 is an AI agent that enhances Firecrawl’s scraping capabilities. It can controls browser actions and navigates complex website structures to enable comprehensive data extraction beyond traditional scraping methods. ### [​](https://docs.firecrawl.dev/agents/fire-1#what-fire-1-can-do:) What FIRE-1 Can Do: * Plan and take actions to uncover data * Interact with buttons, links, inputs, and dynamic elements. * Get multiple pages of data that require pagination, multiple steps, etc. [​](https://docs.firecrawl.dev/agents/fire-1#how-to-use-fire-1) How to use FIRE-1 ------------------------------------------------------------------------------------ You can leverage the FIRE-1 agent with the `/v1/extract` endpoint for complex extraction tasks that require navigation across multiple pages or interaction with elements. **Example:** Python Node curl Copy Ask AI from firecrawl import FirecrawlApp app = FirecrawlApp(api_key="fc-YOUR_API_KEY") # Extract data from a website: extract_result = app.extract(['firecrawl.dev'], prompt="Extract all user comments from this forum thread.", schema={ "type": "object", "properties": { "comments": { "type": "array", "items": { "type": "object", "properties": { "author": {"type": "string"}, "comment_text": {"type": "string"} }, "required": ["author", "comment_text"] } } }, "required": ["comments"] }, agent={ "model": "FIRE-1" } ) print(extract_result) [​](https://docs.firecrawl.dev/agents/fire-1#billing) Billing ---------------------------------------------------------------- The cost of using FIRE-1 is non-deterministic. See our [credit calculator](https://www.firecrawl.dev/extract-calculator) to learn about the base cost of each Extract request. **Why is FIRE-1 more expensive?** FIRE-1 leverages advanced browser automation and AI planning to interact with complex web pages, which requires more compute resources than standard extraction. [​](https://docs.firecrawl.dev/agents/fire-1#rate-limits) Rate limits ------------------------------------------------------------------------ * `/extract`: 10 requests per minute [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/agents/fire-1.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/agents/fire-1) [Extract\ \ Previous](https://docs.firecrawl.dev/features/extract) [Overview\ \ Next](https://docs.firecrawl.dev/webhooks/overview) ⌘I --- # Cancel Agent - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Agent Endpoints Cancel Agent [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Cancel an agent job cURL Copy Ask AI curl --request DELETE \ --url https://api.firecrawl.dev/v2/agent/{jobId} \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true } DELETE / agent / {jobId} Try it Cancel an agent job cURL Copy Ask AI curl --request DELETE \ --url https://api.firecrawl.dev/v2/agent/{jobId} \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete#parameter-job-id) jobId string required The ID of the agent job #### Response 200 - application/json Agent job cancelled successfully [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete#response-success) success boolean [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/agent-delete.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/agent-delete) [Get Agent Status\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) [Extract\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/extract) ⌘I --- # Get Agent Status - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/agent-get#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Agent Endpoints Get Agent Status [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get the status of an agent job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/agent/{jobId} \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true, "status": "processing", "data": {}, "error": "", "expiresAt": "2023-11-07T05:31:56Z", "creditsUsed": 123 } GET / agent / {jobId} Try it Get the status of an agent job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/agent/{jobId} \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true, "status": "processing", "data": {}, "error": "", "expiresAt": "2023-11-07T05:31:56Z", "creditsUsed": 123 } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-get#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-get#parameter-job-id) jobId string required The ID of the agent job #### Response 200 - application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-get#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-get#response-status) status enum Available options: `processing`, `completed`, `failed` [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-get#response-data) data object The extracted data (only present when status is completed) [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-get#response-error) error string Error message (only present when status is failed) [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-get#response-expires-at) expiresAt string [​](https://docs.firecrawl.dev/api-reference/endpoint/agent-get#response-credits-used) creditsUsed number [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/agent-get.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/agent-get) [Agent\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/agent) [Cancel Agent\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ⌘I --- # Agent - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/agent#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Agent Endpoints Agent [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Start an agent task for agentic data extraction cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/agent \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "prompt": "", "urls": [\ ""\ ], "schema": {}, "maxCredits": 123, "strictConstrainToURLs": true, "model": "spark-1-mini" } ' 200 402 429 Copy Ask AI { "success": true, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } POST / agent Try it Start an agent task for agentic data extraction cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/agent \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "prompt": "", "urls": [\ ""\ ], "schema": {}, "maxCredits": 123, "strictConstrainToURLs": true, "model": "spark-1-mini" } ' 200 402 429 Copy Ask AI { "success": true, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/agent#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/endpoint/agent#body-prompt) prompt string required The prompt describing what data to extract Maximum string length: `10000` [​](https://docs.firecrawl.dev/api-reference/endpoint/agent#body-urls) urls string\[\] Optional list of URLs to constrain the agent to [​](https://docs.firecrawl.dev/api-reference/endpoint/agent#body-schema) schema object Optional JSON schema to structure the extracted data [​](https://docs.firecrawl.dev/api-reference/endpoint/agent#body-max-credits) maxCredits number Maximum credits to spend on this agent task [​](https://docs.firecrawl.dev/api-reference/endpoint/agent#body-strict-constrain-to-urls) strictConstrainToURLs boolean If true, agent will only visit URLs provided in the urls array [​](https://docs.firecrawl.dev/api-reference/endpoint/agent#body-model) model enum default:spark-1-mini The model to use for the agent task. spark-1-mini (default) is 60% cheaper, spark-1-pro offers higher accuracy for complex tasks Available options: `spark-1-mini`, `spark-1-pro` #### Response 200 application/json Agent task started successfully [​](https://docs.firecrawl.dev/api-reference/endpoint/agent#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/endpoint/agent#response-id) id string [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/agent.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/agent) [Get Active Crawls\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) [Get Agent Status\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) ⌘I --- # Advanced Scraping Guide | Firecrawl [Skip to main content](https://docs.firecrawl.dev/advanced-scraping-guide#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Get Started Advanced Scraping Guide [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Basic scraping with Firecrawl](https://docs.firecrawl.dev/advanced-scraping-guide#basic-scraping-with-firecrawl) * [Scraping PDFs](https://docs.firecrawl.dev/advanced-scraping-guide#scraping-pdfs) * [Scrape options](https://docs.firecrawl.dev/advanced-scraping-guide#scrape-options) * [Formats (formats)](https://docs.firecrawl.dev/advanced-scraping-guide#formats-formats) * [Full page content vs main content (onlyMainContent)](https://docs.firecrawl.dev/advanced-scraping-guide#full-page-content-vs-main-content-onlymaincontent) * [Include tags (includeTags)](https://docs.firecrawl.dev/advanced-scraping-guide#include-tags-includetags) * [Exclude tags (excludeTags)](https://docs.firecrawl.dev/advanced-scraping-guide#exclude-tags-excludetags) * [Wait for page readiness (waitFor)](https://docs.firecrawl.dev/advanced-scraping-guide#wait-for-page-readiness-waitfor) * [Freshness and cache (maxAge)](https://docs.firecrawl.dev/advanced-scraping-guide#freshness-and-cache-maxage) * [Request timeout (timeout)](https://docs.firecrawl.dev/advanced-scraping-guide#request-timeout-timeout) * [PDF parsing (parsers)](https://docs.firecrawl.dev/advanced-scraping-guide#pdf-parsing-parsers) * [Actions (actions)](https://docs.firecrawl.dev/advanced-scraping-guide#actions-actions) * [Action Execution Notes](https://docs.firecrawl.dev/advanced-scraping-guide#action-execution-notes) * [Advanced Action Examples](https://docs.firecrawl.dev/advanced-scraping-guide#advanced-action-examples) * [Example Usage](https://docs.firecrawl.dev/advanced-scraping-guide#example-usage) * [JSON extraction via formats](https://docs.firecrawl.dev/advanced-scraping-guide#json-extraction-via-formats) * [Extract endpoint](https://docs.firecrawl.dev/advanced-scraping-guide#extract-endpoint) * [Crawling multiple pages](https://docs.firecrawl.dev/advanced-scraping-guide#crawling-multiple-pages) * [Check Crawl Job](https://docs.firecrawl.dev/advanced-scraping-guide#check-crawl-job) * [Pagination/Next URL](https://docs.firecrawl.dev/advanced-scraping-guide#pagination%2Fnext-url) * [Crawl prompt and params preview](https://docs.firecrawl.dev/advanced-scraping-guide#crawl-prompt-and-params-preview) * [Crawler options](https://docs.firecrawl.dev/advanced-scraping-guide#crawler-options) * [includePaths](https://docs.firecrawl.dev/advanced-scraping-guide#includepaths) * [excludePaths](https://docs.firecrawl.dev/advanced-scraping-guide#excludepaths) * [maxDiscoveryDepth](https://docs.firecrawl.dev/advanced-scraping-guide#maxdiscoverydepth) * [limit](https://docs.firecrawl.dev/advanced-scraping-guide#limit) * [crawlEntireDomain](https://docs.firecrawl.dev/advanced-scraping-guide#crawlentiredomain) * [allowExternalLinks](https://docs.firecrawl.dev/advanced-scraping-guide#allowexternallinks) * [allowSubdomains](https://docs.firecrawl.dev/advanced-scraping-guide#allowsubdomains) * [delay](https://docs.firecrawl.dev/advanced-scraping-guide#delay) * [scrapeOptions](https://docs.firecrawl.dev/advanced-scraping-guide#scrapeoptions) * [Example Usage](https://docs.firecrawl.dev/advanced-scraping-guide#example-usage-2) * [Mapping website links](https://docs.firecrawl.dev/advanced-scraping-guide#mapping-website-links) * [Usage](https://docs.firecrawl.dev/advanced-scraping-guide#usage) * [Map Options](https://docs.firecrawl.dev/advanced-scraping-guide#map-options) * [search](https://docs.firecrawl.dev/advanced-scraping-guide#search) * [limit](https://docs.firecrawl.dev/advanced-scraping-guide#limit-2) * [sitemap](https://docs.firecrawl.dev/advanced-scraping-guide#sitemap) * [includeSubdomains](https://docs.firecrawl.dev/advanced-scraping-guide#includesubdomains) This guide will walk you through the different endpoints of Firecrawl and how to use them fully with all its parameters. [​](https://docs.firecrawl.dev/advanced-scraping-guide#basic-scraping-with-firecrawl) Basic scraping with Firecrawl ---------------------------------------------------------------------------------------------------------------------- To scrape a single page and get clean markdown content, you can use the `/scrape` endpoint. Python JavaScript cURL Copy Ask AI # pip install firecrawl-py from firecrawl import Firecrawl firecrawl = Firecrawl(api_key="fc-YOUR-API-KEY") doc = firecrawl.scrape("https://firecrawl.dev") print(doc.markdown) [​](https://docs.firecrawl.dev/advanced-scraping-guide#scraping-pdfs) Scraping PDFs -------------------------------------------------------------------------------------- Firecrawl supports PDFs. Use the `parsers` option (e.g., `parsers: ["pdf"]`) when you want to ensure PDF parsing. [​](https://docs.firecrawl.dev/advanced-scraping-guide#scrape-options) Scrape options ---------------------------------------------------------------------------------------- When using the `/scrape` endpoint, you can customize scraping with the options below. ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#formats-formats) Formats (`formats`) * **Type**: `array` * **Strings**: `["markdown", "links", "html", "rawHtml", "summary", "images"]` * **Object formats**: * JSON: `{ type: "json", prompt, schema }` * Screenshot: `{ type: "screenshot", fullPage?, quality?, viewport? }` * Change tracking: `{ type: "changeTracking", modes?, prompt?, schema?, tag? }` (requires `markdown`) * **Default**: `["markdown"]` ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#full-page-content-vs-main-content-onlymaincontent) Full page content vs main content (`onlyMainContent`) * **Type**: `boolean` * **Description**: By default the scraper returns only the main content. Set to `false` to return full page content. * **Default**: `true` ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#include-tags-includetags) Include tags (`includeTags`) * **Type**: `array` * **Description**: HTML tags/classes/ids to include in the scrape. ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#exclude-tags-excludetags) Exclude tags (`excludeTags`) * **Type**: `array` * **Description**: HTML tags/classes/ids to exclude from the scrape. ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#wait-for-page-readiness-waitfor) Wait for page readiness (`waitFor`) * **Type**: `integer` * **Description**: Milliseconds of extra wait time before scraping (use sparingly). This waiting time is in addition to Firecrawl’s smart wait feature. * **Default**: `0` ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#freshness-and-cache-maxage) Freshness and cache (`maxAge`) * **Type**: `integer` (milliseconds) * **Description**: If a cached version of the page is newer than `maxAge`, Firecrawl returns it instantly; otherwise it scrapes fresh and updates the cache. Set `0` to always fetch fresh. * **Default**: `172800000` (2 days) ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#request-timeout-timeout) Request timeout (`timeout`) * **Type**: `integer` * **Description**: Max duration in milliseconds before aborting. * **Default**: `30000` (30 seconds) ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#pdf-parsing-parsers) PDF parsing (`parsers`) * **Type**: `array` * **Description**: Control parsing behavior. To parse PDFs, set `parsers: ["pdf"]`. ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#actions-actions) Actions (`actions`) When using the /scrape endpoint, Firecrawl allows you to perform various actions on a web page before scraping its content. This is particularly useful for interacting with dynamic content, navigating through pages, or accessing content that requires user interaction. * **Type**: `array` * **Description**: Sequence of browser steps to run before scraping. * **Supported actions**: * `wait` - Wait for page to load: `{ type: "wait", milliseconds: number }` or `{ type: "wait", selector: string }` * `click` - Click an element: `{ type: "click", selector: string, all?: boolean }` * `write` - Type text into a field: `{ type: "write", text: string }` (element must be focused first with click) * `press` - Press a keyboard key: `{ type: "press", key: string }` * `scroll` - Scroll the page: `{ type: "scroll", direction: "up" | "down", selector?: string }` * `screenshot` - Capture screenshot: `{ type: "screenshot", fullPage?: boolean, quality?: number, viewport?: { width: number, height: number } }` * `scrape` - Scrape sub-element: `{ type: "scrape" }` * `executeJavascript` - Run JS code: `{ type: "executeJavascript", script: string }` * `pdf` - Generate PDF: `{ type: "pdf", format?: string, landscape?: boolean, scale?: number }` Python Node cURL Copy Ask AI from firecrawl import Firecrawl firecrawl = Firecrawl(api_key='fc-YOUR-API-KEY') doc = firecrawl.scrape('https://example.com', { 'actions': [\ { 'type': 'wait', 'milliseconds': 1000 },\ { 'type': 'click', 'selector': '#accept' },\ { 'type': 'scroll', 'direction': 'down' },\ { 'type': 'click', 'selector': '#q' },\ { 'type': 'write', 'text': 'firecrawl' },\ { 'type': 'press', 'key': 'Enter' },\ { 'type': 'wait', 'milliseconds': 2000 }\ ], 'formats': ['markdown'] }) print(doc.markdown) ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#action-execution-notes) Action Execution Notes * **Write action**: You must first focus the element using a `click` action before using `write`. The text is typed character by character to simulate keyboard input. * **Scroll selector**: If you want to scroll a specific element instead of the whole page, provide the `selector` parameter to `scroll`. * **Wait with selector**: You can wait for a specific element to be visible using `wait` with a `selector` parameter, or wait for a fixed duration using `milliseconds`. * **Actions are sequential**: Actions are executed in order, and Firecrawl waits for page interactions to complete before moving to the next action. ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#advanced-action-examples) Advanced Action Examples **Taking a screenshot:** cURL Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/scrape \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer fc-YOUR-API-KEY' \ -d '{ "url": "https://example.com", "actions": [\ { "type": "click", "selector": "#load-more" },\ { "type": "wait", "milliseconds": 1000 },\ { "type": "screenshot", "fullPage": true, "quality": 80 }\ ] }' **Clicking multiple elements:** cURL Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/scrape \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer fc-YOUR-API-KEY' \ -d '{ "url": "https://example.com", "actions": [\ { "type": "click", "selector": ".expand-button", "all": true },\ { "type": "wait", "milliseconds": 500 }\ ], "formats": ["markdown"] }' **Generating a PDF:** cURL Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/scrape \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer fc-YOUR-API-KEY' \ -d '{ "url": "https://example.com", "actions": [\ { "type": "pdf", "format": "A4", "landscape": false }\ ] }' ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#example-usage) Example Usage cURL Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/scrape \ -H ' Content-Type: application/json' \ -H 'Authorization: Bearer fc-YOUR-API-KEY' \ -d '{ "url": "https://docs.firecrawl.dev", "formats": [\ "markdown",\ "links",\ "html",\ "rawHtml",\ { "type": "screenshot", "fullPage": true, "quality": 80 }\ ], "includeTags": ["h1", "p", "a", ".main-content"], "excludeTags": ["#ad", "#footer"], "onlyMainContent": false, "waitFor": 1000, "timeout": 15000, "parsers": ["pdf"] }' In this example, the scraper will: * Return the full page content as markdown. * Include the markdown, raw HTML, HTML, links, and a screenshot in the response. * Include only the HTML tags `

`, `

`, ``, and elements with the class `.main-content`, while excluding any elements with the IDs `#ad` and `#footer`. * Wait for 1000 milliseconds (1 second) before scraping to allow the page to load. * Set the maximum duration of the scrape request to 15000 milliseconds (15 seconds). * Parse PDFs explicitly via `parsers: ["pdf"]`. Here is the API Reference: [Scrape Endpoint Documentation](https://docs.firecrawl.dev/api-reference/endpoint/scrape) [​](https://docs.firecrawl.dev/advanced-scraping-guide#json-extraction-via-formats) JSON extraction via formats ------------------------------------------------------------------------------------------------------------------ Use the JSON format object in `formats` to extract structured data in one pass: Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/scrape \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer fc-YOUR-API-KEY' \ -d '{ "url": "https://firecrawl.dev", "formats": [{\ "type": "json",\ "prompt": "Extract the features of the product",\ "schema": {"type": "object", "properties": {"features": {"type": "object"}}, "required": ["features"]}\ }] }' [​](https://docs.firecrawl.dev/advanced-scraping-guide#extract-endpoint) Extract endpoint -------------------------------------------------------------------------------------------- Use the dedicated extract job API when you want asynchronous extraction with status polling. Node Python cURL Copy Ask AI import Firecrawl from '@mendable/firecrawl-js'; const firecrawl = new Firecrawl({ apiKey: 'fc-YOUR-API-KEY' }); // Start extract job const started = await firecrawl.startExtract({ urls: ['https://docs.firecrawl.dev'], prompt: 'Extract title', schema: { type: 'object', properties: { title: { type: 'string' } }, required: ['title'] } }); // Poll status const status = await firecrawl.getExtractStatus(started.id); console.log(status.status, status.data); [​](https://docs.firecrawl.dev/advanced-scraping-guide#crawling-multiple-pages) Crawling multiple pages ---------------------------------------------------------------------------------------------------------- To crawl multiple pages, use the `/v2/crawl` endpoint. cURL Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/crawl \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer fc-YOUR-API-KEY' \ -d '{ "url": "https://docs.firecrawl.dev" }' Returns an id Copy Ask AI { "id": "1234-5678-9101" } ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#check-crawl-job) Check Crawl Job Used to check the status of a crawl job and get its result. cURL Copy Ask AI curl -X GET https://api.firecrawl.dev/v2/crawl/1234-5678-9101 \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer fc-YOUR-API-KEY' #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#pagination/next-url) Pagination/Next URL If the content is larger than 10MB or if the crawl job is still running, the response may include a `next` parameter, a URL to the next page of results. ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#crawl-prompt-and-params-preview) Crawl prompt and params preview You can provide a natural-language `prompt` to let Firecrawl derive crawl settings. Preview them first: cURL Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/crawl/params-preview \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer fc-YOUR-API-KEY' \ -d '{ "url": "https://docs.firecrawl.dev", "prompt": "Extract docs and blog" }' ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#crawler-options) Crawler options When using the `/v2/crawl` endpoint, you can customize the crawling behavior with: #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#includepaths) includePaths * **Type**: `array` * **Description**: Regex patterns to include. * **Example**: `["^/blog/.*$", "^/docs/.*$"]` #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#excludepaths) excludePaths * **Type**: `array` * **Description**: Regex patterns to exclude. * **Example**: `["^/admin/.*$", "^/private/.*$"]` #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#maxdiscoverydepth) maxDiscoveryDepth * **Type**: `integer` * **Description**: Max discovery depth for finding new URLs. #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#limit) limit * **Type**: `integer` * **Description**: Max number of pages to crawl. * **Default**: `10000` #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#crawlentiredomain) crawlEntireDomain * **Type**: `boolean` * **Description**: Explore across siblings/parents to cover the entire domain. * **Default**: `false` #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#allowexternallinks) allowExternalLinks * **Type**: `boolean` * **Description**: Follow links to external domains. * **Default**: `false` #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#allowsubdomains) allowSubdomains * **Type**: `boolean` * **Description**: Follow subdomains of the main domain. * **Default**: `false` #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#delay) delay * **Type**: `number` * **Description**: Delay in seconds between scrapes. * **Default**: `undefined` #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#scrapeoptions) scrapeOptions * **Type**: `object` * **Description**: Options for the scraper (see Formats above). * **Example**: `{ "formats": ["markdown", "links", {"type": "screenshot", "fullPage": true}], "includeTags": ["h1", "p", "a", ".main-content"], "excludeTags": ["#ad", "#footer"], "onlyMainContent": false, "waitFor": 1000, "timeout": 15000}` * **Defaults**: `formats: ["markdown"]`, caching enabled by default (maxAge ~ 2 days) ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#example-usage-2) Example Usage cURL Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/crawl \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer fc-YOUR-API-KEY' \ -d '{ "url": "https://docs.firecrawl.dev", "includePaths": ["^/blog/.*$", "^/docs/.*$"], "excludePaths": ["^/admin/.*$", "^/private/.*$"], "maxDiscoveryDepth": 2, "limit": 1000 }' [​](https://docs.firecrawl.dev/advanced-scraping-guide#mapping-website-links) Mapping website links ------------------------------------------------------------------------------------------------------ The `/v2/map` endpoint identifies URLs related to a given website. ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#usage) Usage cURL Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/map \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer fc-YOUR-API-KEY' \ -d '{ "url": "https://docs.firecrawl.dev" }' ### [​](https://docs.firecrawl.dev/advanced-scraping-guide#map-options) Map Options #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#search) search * **Type**: `string` * **Description**: Filter links containing text. #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#limit-2) limit * **Type**: `integer` * **Description**: Maximum number of links to return. * **Default**: `100` #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#sitemap) sitemap * **Type**: `"only" | "include" | "skip"` * **Description**: Control sitemap usage during mapping. * **Default**: `"include"` #### [​](https://docs.firecrawl.dev/advanced-scraping-guide#includesubdomains) includeSubdomains * **Type**: `boolean` * **Description**: Include subdomains of the website. * **Default**: `true` Here is the API Reference for it: [Map Endpoint Documentation](https://docs.firecrawl.dev/api-reference/endpoint/map) Thanks for reading! [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/advanced-scraping-guide.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/advanced-scraping-guide) [Rate Limits\ \ Previous](https://docs.firecrawl.dev/rate-limits) [Agent\ \ Next](https://docs.firecrawl.dev/features/agent) ⌘I --- # Batch Scrape - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Scrape Endpoints Batch Scrape [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Scrape multiple URLs and optionally extract information using an LLM cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/batch/scrape \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "urls": [\ ""\ ], "webhook": { "url": "", "headers": {}, "metadata": {}, "events": [\ "completed"\ ] }, "maxConcurrency": 123, "ignoreInvalidURLs": true, "formats": [\ "markdown"\ ], "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 172800000, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": true, "timeout": 30000, "parsers": [\ "pdf"\ ], "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "auto", "storeInCache": true, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "id": "", "url": "", "invalidURLs": [\ ""\ ] } POST / batch / scrape Try it Scrape multiple URLs and optionally extract information using an LLM cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/batch/scrape \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "urls": [\ ""\ ], "webhook": { "url": "", "headers": {}, "metadata": {}, "events": [\ "completed"\ ] }, "maxConcurrency": 123, "ignoreInvalidURLs": true, "formats": [\ "markdown"\ ], "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 172800000, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": true, "timeout": 30000, "parsers": [\ "pdf"\ ], "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "auto", "storeInCache": true, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "id": "", "url": "", "invalidURLs": [\ ""\ ] } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-urls) urls string\[\] required The URL to scrape [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-webhook) webhook object A webhook specification object. Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-max-concurrency) maxConcurrency integer Maximum number of concurrent scrapes. This parameter allows you to set a concurrency limit for this batch scrape. If not specified, the batch scrape adheres to your team's concurrency limit. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-ignore-invalid-urls) ignoreInvalidURLs boolean default:true If invalid URLs are specified in the urls array, they will be ignored. Instead of them failing the entire request, a batch scrape using the remaining valid URLs will be created, and the invalid URLs will be returned in the invalidURLs field of the response. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-formats) formats (Markdown · object | Summary · object | HTML · object | Raw HTML · object | Links · object | Images · object | Screenshot · object | JSON · object | Change Tracking · object | Branding · object)\[\] Output formats to include in the response. You can specify one or more formats, either as strings (e.g., `'markdown'`) or as objects with additional options (e.g., `{ type: 'json', schema: {...} }`). Some formats require specific options to be set. Example: `['markdown', { type: 'json', schema: {...} }]`. * Markdown * Summary * HTML * Raw HTML * Links * Images * Screenshot * JSON * Change Tracking * Branding Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-only-main-content) onlyMainContent boolean default:true Only return the main content of the page excluding headers, navs, footers, etc. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-include-tags) includeTags string\[\] Tags to include in the output. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-exclude-tags) excludeTags string\[\] Tags to exclude from the output. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-max-age) maxAge integer default:172800000 Returns a cached version of the page if it is younger than this age in milliseconds. If a cached version of the page is older than this value, the page will be scraped. If you do not need extremely fresh data, enabling this can speed up your scrapes by 500%. Defaults to 2 days. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-headers) headers object Headers to send with the request. Can be used to send cookies, user-agent, etc. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-wait-for) waitFor integer default:0 Specify a delay in milliseconds before fetching the content, allowing the page sufficient time to load. This waiting time is in addition to Firecrawl's smart wait feature. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-mobile) mobile boolean default:false Set to true if you want to emulate scraping from a mobile device. Useful for testing responsive pages and taking mobile screenshots. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-skip-tls-verification) skipTlsVerification boolean default:true Skip TLS certificate verification when making requests. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-timeout) timeout integer default:30000 Timeout in milliseconds for the request. Default is 30000 (30 seconds). Maximum is 300000 (300 seconds). Required range: `x <= 300000` [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-parsers) parsers object\[\] Controls how files are processed during scraping. When "pdf" is included (default), the PDF content is extracted and converted to markdown format, with billing based on the number of pages (1 credit per page). When an empty array is passed, the PDF file is returned in base64 encoding with a flat rate of 1 credit for the entire PDF. Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-actions) actions (Wait · object | Screenshot · object | Click · object | Write text · object | Press a key · object | Scroll · object | Scrape · object | Execute JavaScript · object | Generate PDF · object)\[\] Actions to perform on the page before grabbing the content * Wait * Screenshot * Click * Write text * Press a key * Scroll * Scrape * Execute JavaScript * Generate PDF Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-location) location object Location settings for the request. When specified, this will use an appropriate proxy if available and emulate the corresponding language and timezone settings. Defaults to 'US' if not specified. Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-remove-base64-images) removeBase64Images boolean default:true Removes all base 64 images from the output, which may be overwhelmingly long. The image's alt text remains in the output, but the URL is replaced with a placeholder. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-block-ads) blockAds boolean default:true Enables ad-blocking and cookie popup blocking. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-proxy) proxy enum default:auto Specifies the type of proxy to use. * basic: Proxies for scraping sites with none to basic anti-bot solutions. Fast and usually works. * stealth: Stealth proxies for scraping sites with advanced anti-bot solutions. Slower, but more reliable on certain sites. Costs up to 5 credits per request. * auto: Firecrawl will automatically retry scraping with stealth proxies if the basic proxy fails. If the retry with stealth is successful, 5 credits will be billed for the scrape. If the first attempt with basic is successful, only the regular cost will be billed. Available options: `basic`, `stealth`, `auto` [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-store-in-cache) storeInCache boolean default:true If true, the page will be stored in the Firecrawl index and cache. Setting this to false is useful if your scraping activity may have data protection concerns. Using some parameters associated with sensitive scraping (e.g. actions, headers) will force this parameter to be false. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#body-zero-data-retention) zeroDataRetention boolean default:false If true, this will enable zero data retention for this batch scrape. To enable this feature, please contact [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#7b131e170b3b1d12091e18091a0c17551f1e0d) #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#response-id) id string [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#response-url) url string [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape#response-invalid-urls-one-of-0) invalidURLs string\[\] | null If ignoreInvalidURLs is true, this is an array containing the invalid URLs that were specified in the request. If there were no invalid URLs, this will be an empty array. If ignoreInvalidURLs is false, this field will be undefined. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/batch-scrape.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/batch-scrape) [Scrape\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/scrape) [Get Batch Scrape Status\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) ⌘I --- # Get Batch Scrape Status - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Scrape Endpoints Get Batch Scrape Status [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get the status of a batch scrape job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/batch/scrape/{id} \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "status": "", "total": 123, "completed": 123, "creditsUsed": 123, "expiresAt": "2023-11-07T05:31:56Z", "next": "", "data": [\ {\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "language": "",\ "sourceURL": "",\ "keywords": "",\ "ogLocaleAlternate": [\ ""\ ],\ " ": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ] } GET / batch / scrape / {id} Try it Get the status of a batch scrape job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/batch/scrape/{id} \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "status": "", "total": 123, "completed": 123, "creditsUsed": 123, "expiresAt": "2023-11-07T05:31:56Z", "next": "", "data": [\ {\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "language": "",\ "sourceURL": "",\ "keywords": "",\ "ogLocaleAlternate": [\ ""\ ],\ " ": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ] } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get#parameter-id) id string required The ID of the batch scrape job #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get#response-status) status string The current status of the batch scrape. Can be `scraping`, `completed`, or `failed`. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get#response-total) total integer The total number of pages that were attempted to be scraped. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get#response-completed) completed integer The number of pages that have been successfully scraped. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get#response-credits-used) creditsUsed integer The number of credits used for the batch scrape. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get#response-expires-at) expiresAt string The date and time when the batch scrape will expire. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get#response-next-one-of-0) next string | null The URL to retrieve the next 10MB of data. Returned if the batch scrape is not completed or if the response is larger than 10MB. [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get#response-data) data object\[\] The data of the batch scrape. Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/batch-scrape-get.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/batch-scrape-get) [Batch Scrape\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) [Cancel Batch Scrape\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) ⌘I --- # Get Crawl Errors - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Get Crawl Errors [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get the errors of a crawl job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/crawl/{id}/errors \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "errors": [\ {\ "id": "",\ "timestamp": "",\ "url": "",\ "error": ""\ }\ ], "robotsBlocked": [\ ""\ ] } GET / crawl / {id} / errors Try it Get the errors of a crawl job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/crawl/{id}/errors \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "errors": [\ {\ "id": "",\ "timestamp": "",\ "url": "",\ "error": ""\ }\ ], "robotsBlocked": [\ ""\ ] } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors#parameter-id) id string required The ID of the crawl job #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors#response-errors) errors object\[\] Errored scrape jobs and error details Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors#response-robots-blocked) robotsBlocked string\[\] List of URLs that were attempted in scraping but were blocked by robots.txt [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/crawl-get-errors.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/crawl-get-errors) [Cancel Crawl\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) [Get Active Crawls\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ⌘I --- # Get Batch Scrape Errors - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Scrape Endpoints Get Batch Scrape Errors [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get the errors of a batch scrape job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/batch/scrape/{id}/errors \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "errors": [\ {\ "id": "",\ "timestamp": "",\ "url": "",\ "error": ""\ }\ ], "robotsBlocked": [\ ""\ ] } GET / batch / scrape / {id} / errors Try it Get the errors of a batch scrape job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/batch/scrape/{id}/errors \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "errors": [\ {\ "id": "",\ "timestamp": "",\ "url": "",\ "error": ""\ }\ ], "robotsBlocked": [\ ""\ ] } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors#parameter-id) id string required The ID of the batch scrape job #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors#response-errors) errors object\[\] Errored scrape jobs and error details Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors#response-robots-blocked) robotsBlocked string\[\] List of URLs that were attempted in scraping but were blocked by robots.txt [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/batch-scrape-get-errors.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/batch-scrape-get-errors) [Cancel Batch Scrape\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) [Search\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/search) ⌘I --- # Crawl Params Preview - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Crawl Params Preview [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Preview crawl parameters generated from natural language prompt cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/crawl/params-preview \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "prompt": "" } ' 200 400 401 500 Copy Ask AI { "success": true, "data": { "url": "", "includePaths": [\ ""\ ], "excludePaths": [\ ""\ ], "maxDepth": 123, "maxDiscoveryDepth": 123, "crawlEntireDomain": true, "allowExternalLinks": true, "allowSubdomains": true, "sitemap": "skip", "ignoreQueryParameters": true, "deduplicateSimilarURLs": true, "delay": 123, "limit": 123 } } POST / crawl / params-preview Try it Preview crawl parameters generated from natural language prompt cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/crawl/params-preview \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "prompt": "" } ' 200 400 401 500 Copy Ask AI { "success": true, "data": { "url": "", "includePaths": [\ ""\ ], "excludePaths": [\ ""\ ], "maxDepth": 123, "maxDiscoveryDepth": 123, "crawlEntireDomain": true, "allowExternalLinks": true, "allowSubdomains": true, "sitemap": "skip", "ignoreQueryParameters": true, "deduplicateSimilarURLs": true, "delay": 123, "limit": 123 } } [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview#what%E2%80%99s-new-in-v2) What’s New in v2 ------------------------------------------------------------------------------------------------------------------------ ### [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview#crawl-params-preview) Crawl Params Preview Copy Ask AI { "url": "https://example.com", "prompt": "Crawl the entire website but exclude /admin and /api" } ### [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview#response) Response Copy Ask AI { "url": "https://example.com", "prompt": "Crawl the entire website", "crawlEntireDomain": true, "excludePaths": ["/admin/.*", "/api/.*"], "sitemap": "include" } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview#body-url) url string required The URL to crawl [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview#body-prompt) prompt string required Natural language prompt describing what you want to crawl Maximum string length: `10000` #### Response 200 application/json Successful response with generated crawl parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview#response-data) data object Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/crawl-params-preview.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/crawl-params-preview) [Get Crawl Status\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) [Cancel Crawl\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) ⌘I --- # Cancel Crawl - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Cancel Crawl [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Cancel a crawl job cURL Copy Ask AI curl --request DELETE \ --url https://api.firecrawl.dev/v2/crawl/{id} \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "status": "cancelled" } DELETE / crawl / {id} Try it Cancel a crawl job cURL Copy Ask AI curl --request DELETE \ --url https://api.firecrawl.dev/v2/crawl/{id} \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "status": "cancelled" } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete#parameter-id) id string required The ID of the crawl job #### Response 200 application/json Successful cancellation [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete#response-status) status enum Available options: `cancelled` Example: `"cancelled"` [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/crawl-delete.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/crawl-delete) [Crawl Params Preview\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) [Get Crawl Errors\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) ⌘I --- # Cancel Batch Scrape - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Scrape Endpoints Cancel Batch Scrape [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Cancel a batch scrape job cURL Copy Ask AI curl --request DELETE \ --url https://api.firecrawl.dev/v2/batch/scrape/{id} \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "message": "Batch scrape job successfully cancelled." } DELETE / batch / scrape / {id} Try it Cancel a batch scrape job cURL Copy Ask AI curl --request DELETE \ --url https://api.firecrawl.dev/v2/batch/scrape/{id} \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "message": "Batch scrape job successfully cancelled." } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete#parameter-id) id string required The ID of the batch scrape job #### Response 200 application/json Successful cancellation [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete#response-message) message string Example: `"Batch scrape job successfully cancelled."` [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/batch-scrape-delete.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/batch-scrape-delete) [Get Batch Scrape Status\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) [Get Batch Scrape Errors\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ⌘I --- # Credit Usage - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Account Endpoints Credit Usage [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get remaining credits for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/team/credit-usage \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "data": { "remainingCredits": 1000, "planCredits": 500000, "billingPeriodStart": "2025-01-01T00:00:00Z", "billingPeriodEnd": "2025-01-31T23:59:59Z" } } GET / team / credit-usage Try it Get remaining credits for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/team/credit-usage \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "data": { "remainingCredits": 1000, "planCredits": 500000, "billingPeriodStart": "2025-01-01T00:00:00Z", "billingPeriodEnd": "2025-01-31T23:59:59Z" } } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage#response-data) data object Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/credit-usage.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/credit-usage) [Get Extract Status\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) [Historical Credit Usage\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) ⌘I --- # Historical Token Usage - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Account Endpoints Historical Token Usage [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get historical token usage for the authenticated team (Extract only) cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/team/token-usage/historical \ --header 'Authorization: Bearer ' 200 500 Copy Ask AI { "success": true, "periods": [\ {\ "startDate": "2025-01-01T00:00:00Z",\ "endDate": "2025-01-31T23:59:59Z",\ "apiKey": "",\ "totalTokens": 1000\ }\ ] } GET / team / token-usage / historical Try it Get historical token usage for the authenticated team (Extract only) cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/team/token-usage/historical \ --header 'Authorization: Bearer ' 200 500 Copy Ask AI { "success": true, "periods": [\ {\ "startDate": "2025-01-01T00:00:00Z",\ "endDate": "2025-01-31T23:59:59Z",\ "apiKey": "",\ "totalTokens": 1000\ }\ ] } Returns historical token usage on a month-by-month basis. The endpoint can also breaks usage down by API key optionally. We’ve simplified billing so that Extract now uses credits, just like all of the other endpoints. Each credit is worth 15 tokens. Reported token usage now includes usage from all endpoints. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Query Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical#parameter-by-api-key) byApiKey boolean default:false Get historical token usage by API key #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical#response-periods) periods object\[\] Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/token-usage-historical.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/token-usage-historical) [Token Usage\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) [Queue Status\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) ⌘I --- # Token Usage - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/token-usage#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Account Endpoints Token Usage [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get remaining tokens for the authenticated team (Extract only) cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/team/token-usage \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "data": { "remainingTokens": 1000, "planTokens": 500000, "billingPeriodStart": "2025-01-01T00:00:00Z", "billingPeriodEnd": "2025-01-31T23:59:59Z" } } GET / team / token-usage Try it Get remaining tokens for the authenticated team (Extract only) cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/team/token-usage \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "data": { "remainingTokens": 1000, "planTokens": 500000, "billingPeriodStart": "2025-01-01T00:00:00Z", "billingPeriodEnd": "2025-01-31T23:59:59Z" } } We’ve simplified billing so that Extract now uses credits, just like all of the other endpoints. Each credit is worth 15 tokens. Reported token usage now includes usage from all endpoints. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/token-usage#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/token-usage#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/endpoint/token-usage#response-data) data object Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/token-usage.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/token-usage) [Historical Credit Usage\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) [Historical Token Usage\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) ⌘I --- # Get Crawl Status - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Get Crawl Status [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get the status of a crawl job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/crawl/{id} \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "status": "", "total": 123, "completed": 123, "creditsUsed": 123, "expiresAt": "2023-11-07T05:31:56Z", "next": "", "data": [\ {\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "language": "",\ "sourceURL": "",\ "keywords": "",\ "ogLocaleAlternate": [\ ""\ ],\ " ": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ] } GET / crawl / {id} Try it Get the status of a crawl job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/crawl/{id} \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "status": "", "total": 123, "completed": 123, "creditsUsed": 123, "expiresAt": "2023-11-07T05:31:56Z", "next": "", "data": [\ {\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "language": "",\ "sourceURL": "",\ "keywords": "",\ "ogLocaleAlternate": [\ ""\ ],\ " ": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ] } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get#parameter-id) id string required The ID of the crawl job #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get#response-status) status string The current status of the crawl. Can be `scraping`, `completed`, or `failed`. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get#response-total) total integer The total number of pages that were attempted to be crawled. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get#response-completed) completed integer The number of pages that have been successfully crawled. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get#response-credits-used) creditsUsed integer The number of credits used for the crawl. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get#response-expires-at) expiresAt string The date and time when the crawl will expire. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get#response-next-one-of-0) next string | null The URL to retrieve the next 10MB of data. Returned if the crawl is not completed or if the response is larger than 10MB. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get#response-data) data object\[\] The data of the crawl. Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/crawl-get.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/crawl-get) [Crawl\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) [Crawl Params Preview\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) ⌘I --- # Get Extract Status - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/extract-get#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Extract Endpoints Get Extract Status [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get the status of an extract job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/extract/{id} \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true, "data": {}, "status": "completed", "expiresAt": "2023-11-07T05:31:56Z", "tokensUsed": 123 } GET / extract / {id} Try it Get the status of an extract job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/extract/{id} \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true, "data": {}, "status": "completed", "expiresAt": "2023-11-07T05:31:56Z", "tokensUsed": 123 } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/extract-get#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/extract-get#parameter-id) id string required The ID of the extract job #### Response 200 - application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/extract-get#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/endpoint/extract-get#response-data) data object [​](https://docs.firecrawl.dev/api-reference/endpoint/extract-get#response-status) status enum The current status of the extract job Available options: `completed`, `processing`, `failed`, `cancelled` [​](https://docs.firecrawl.dev/api-reference/endpoint/extract-get#response-expires-at) expiresAt string [​](https://docs.firecrawl.dev/api-reference/endpoint/extract-get#response-tokens-used) tokensUsed integer The number of tokens used by the extract job. Only available if the job is completed. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/extract-get.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/extract-get) [Extract\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/extract) [Credit Usage\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) ⌘I --- # Crawl - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Crawl [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Crawl multiple URLs based on options cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/crawl \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "prompt": "", "excludePaths": [\ ""\ ], "includePaths": [\ ""\ ], "maxDiscoveryDepth": 123, "sitemap": "include", "ignoreQueryParameters": false, "limit": 10000, "crawlEntireDomain": false, "allowExternalLinks": false, "allowSubdomains": false, "delay": 123, "maxConcurrency": 123, "webhook": { "url": "", "headers": {}, "metadata": {}, "events": [\ "completed"\ ] }, "scrapeOptions": { "formats": [\ "markdown"\ ], "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 172800000, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": true, "timeout": 30000, "parsers": [\ "pdf"\ ], "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "auto", "storeInCache": true }, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "id": "", "url": "" } POST / crawl Try it Crawl multiple URLs based on options cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/crawl \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "prompt": "", "excludePaths": [\ ""\ ], "includePaths": [\ ""\ ], "maxDiscoveryDepth": 123, "sitemap": "include", "ignoreQueryParameters": false, "limit": 10000, "crawlEntireDomain": false, "allowExternalLinks": false, "allowSubdomains": false, "delay": 123, "maxConcurrency": 123, "webhook": { "url": "", "headers": {}, "metadata": {}, "events": [\ "completed"\ ] }, "scrapeOptions": { "formats": [\ "markdown"\ ], "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 172800000, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": true, "timeout": 30000, "parsers": [\ "pdf"\ ], "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "auto", "storeInCache": true }, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "id": "", "url": "" } [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#what%E2%80%99s-new-in-v2) What’s New in v2 -------------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#tell-crawl-what-you-want) Tell crawl what you want Describe what to crawl in plain English: Copy Ask AI { "url": "https://example.com", "prompt": "Only crawl blog posts and docs, skip marketing pages" } This will map the prompt to a set of crawler settings to perform the crawl. ### [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#improved-sitemap-control) Improved Sitemap Control In v1, sitemap usage was a boolean. In v2, the `sitemap` option lets you choose: * `"include"` (default): Use the sitemap and also discover other pages. * `"skip"`: Ignore the sitemap entirely. ### [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#new-crawling-options) New Crawling Options * `crawlEntireDomain` - Crawl whole domain, not just child pages * `maxDiscoveryDepth` - Control crawl depth (replaces `maxDepth`) Copy Ask AI { "url": "https://example.com/features", "crawlEntireDomain": true, "maxDiscoveryDepth": 2, "sitemap": "include" } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-url) url string required The base URL to start crawling from [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-prompt) prompt string A prompt to use to generate the crawler options (all the parameters below) from natural language. Explicitly set parameters will override the generated equivalents. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-exclude-paths) excludePaths string\[\] URL pathname regex patterns that exclude matching URLs from the crawl. For example, if you set "excludePaths": \["blog/.\*"\] for the base URL firecrawl.dev, any results matching that pattern will be excluded, such as [https://www.firecrawl.dev/blog/firecrawl-launch-week-1-recap](https://www.firecrawl.dev/blog/firecrawl-launch-week-1-recap) . [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-include-paths) includePaths string\[\] URL pathname regex patterns that include matching URLs in the crawl. Only the paths that match the specified patterns will be included in the response. For example, if you set "includePaths": \["blog/.\*"\] for the base URL firecrawl.dev, only results matching that pattern will be included, such as [https://www.firecrawl.dev/blog/firecrawl-launch-week-1-recap](https://www.firecrawl.dev/blog/firecrawl-launch-week-1-recap) . [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-max-discovery-depth) maxDiscoveryDepth integer Maximum depth to crawl based on discovery order. The root site and sitemapped pages has a discovery depth of 0. For example, if you set it to 1, and you set `sitemap: 'skip'`, you will only crawl the entered URL and all URLs that are linked on that page. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-sitemap) sitemap enum default:include Sitemap mode when crawling. If you set it to 'skip', the crawler will ignore the website sitemap and only crawl the entered URL and discover pages from there onwards. Available options: `skip`, `include` [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-ignore-query-parameters) ignoreQueryParameters boolean default:false Do not re-scrape the same path with different (or none) query parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-limit) limit integer default:10000 Maximum number of pages to crawl. Default limit is 10000. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-crawl-entire-domain) crawlEntireDomain boolean default:false Allows the crawler to follow internal links to sibling or parent URLs, not just child paths. false: Only crawls deeper (child) URLs. → e.g. /features/feature-1 → /features/feature-1/tips ✅ → Won't follow /pricing or / ❌ true: Crawls any internal links, including siblings and parents. → e.g. /features/feature-1 → /pricing, /, etc. ✅ Use true for broader internal coverage beyond nested paths. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-allow-external-links) allowExternalLinks boolean default:false Allows the crawler to follow links to external websites. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-allow-subdomains) allowSubdomains boolean default:false Allows the crawler to follow links to subdomains of the main domain. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-delay) delay number Delay in seconds between scrapes. This helps respect website rate limits. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-max-concurrency) maxConcurrency integer Maximum number of concurrent scrapes. This parameter allows you to set a concurrency limit for this crawl. If not specified, the crawl adheres to your team's concurrency limit. [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-webhook) webhook object A webhook specification object. Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-scrape-options) scrapeOptions object Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#body-zero-data-retention) zeroDataRetention boolean default:false If true, this will enable zero data retention for this crawl. To enable this feature, please contact [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#6109040d112107081304021300160d4f050417) #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#response-id) id string [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post#response-url) url string [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/crawl-post.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/crawl-post) [Map\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/map) [Get Crawl Status\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) ⌘I --- # Cancel Batch Scrape - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Scrape Endpoints Cancel Batch Scrape [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Cancel a batch scrape job cURL Copy Ask AI curl --request DELETE \ --url https://api.firecrawl.dev/v1/batch/scrape/{id} \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "message": "Batch scrape job successfully cancelled." } DELETE / batch / scrape / {id} Try it Cancel a batch scrape job cURL Copy Ask AI curl --request DELETE \ --url https://api.firecrawl.dev/v1/batch/scrape/{id} \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "message": "Batch scrape job successfully cancelled." } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete#parameter-id) id string required The ID of the batch scrape job #### Response 200 application/json Successful cancellation [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete#response-message) message string Example: `"Batch scrape job successfully cancelled."` [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/batch-scrape-delete.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/batch-scrape-delete) [Get Batch Scrape Status\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) [Get Batch Scrape Errors\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ⌘I --- # Open Source vs Cloud | Firecrawl [Skip to main content](https://docs.firecrawl.dev/contributing/open-source-or-cloud#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Contributing Open Source vs Cloud [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) Firecrawl is open source available under the [AGPL-3.0 license](https://github.com/mendableai/firecrawl/blob/main/LICENSE) . To deliver the best possible product, we offer a hosted version of Firecrawl alongside our open-source offering. The cloud solution allows us to continuously innovate and maintain a high-quality, sustainable service for all users. Firecrawl Cloud is available at [firecrawl.dev](https://firecrawl.dev/) and offers a range of features that are not available in the open source version: ![Firecrawl Cloud vs Open Source](https://mintcdn.com/firecrawl/vlKm1oZYK3oSRVTM/images/open-source-cloud.png?w=2500&fit=max&auto=format&n=vlKm1oZYK3oSRVTM&q=85&s=0f6f34e97633cabdc17cbc28d7af2bb9) [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/contributing/open-source-or-cloud.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/contributing/open-source-or-cloud) [Observability & Monitoring\ \ Previous](https://docs.firecrawl.dev/use-cases/observability) [Running locally\ \ Next](https://docs.firecrawl.dev/contributing/guide) ⌘I --- # Cancel Crawl - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Cancel Crawl [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Cancel a crawl job cURL Copy Ask AI curl --request DELETE \ --url https://api.firecrawl.dev/v1/crawl/{id} \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "status": "cancelled" } DELETE / crawl / {id} Try it Cancel a crawl job cURL Copy Ask AI curl --request DELETE \ --url https://api.firecrawl.dev/v1/crawl/{id} \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "status": "cancelled" } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete#parameter-id) id string required The ID of the crawl job #### Response 200 application/json Successful cancellation [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete#response-status) status enum Available options: `cancelled` Example: `"cancelled"` [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/crawl-delete.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/crawl-delete) [Get Crawl Status\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) [Get Crawl Errors\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) ⌘I --- # Batch Scrape - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Scrape Endpoints Batch Scrape [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Scrape multiple URLs and optionally extract information using an LLM cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/batch/scrape \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "urls": [\ ""\ ], "webhook": { "url": "", "headers": {}, "metadata": {}, "events": [\ "completed"\ ] }, "maxConcurrency": 123, "ignoreInvalidURLs": false, "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 0, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": false, "timeout": 30000, "parsePDF": true, "jsonOptions": { "schema": {}, "systemPrompt": "", "prompt": "" }, "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "basic", "storeInCache": true, "formats": [\ "markdown"\ ], "changeTrackingOptions": { "modes": [\ "git-diff"\ ], "schema": {}, "prompt": "", "tag": null }, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "id": "", "url": "", "invalidURLs": [\ ""\ ] } POST / batch / scrape Try it Scrape multiple URLs and optionally extract information using an LLM cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/batch/scrape \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "urls": [\ ""\ ], "webhook": { "url": "", "headers": {}, "metadata": {}, "events": [\ "completed"\ ] }, "maxConcurrency": 123, "ignoreInvalidURLs": false, "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 0, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": false, "timeout": 30000, "parsePDF": true, "jsonOptions": { "schema": {}, "systemPrompt": "", "prompt": "" }, "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "basic", "storeInCache": true, "formats": [\ "markdown"\ ], "changeTrackingOptions": { "modes": [\ "git-diff"\ ], "schema": {}, "prompt": "", "tag": null }, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "id": "", "url": "", "invalidURLs": [\ ""\ ] } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) > is now available with improved batch processing performance and reliability. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-urls) urls string\[\] required The URL to scrape [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-webhook) webhook object A webhook specification object. Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-max-concurrency) maxConcurrency integer Maximum number of concurrent scrapes. This parameter allows you to set a concurrency limit for this batch scrape. If not specified, the batch scrape adheres to your team's concurrency limit. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-ignore-invalid-urls) ignoreInvalidURLs boolean default:false If invalid URLs are specified in the urls array, they will be ignored. Instead of them failing the entire request, a batch scrape using the remaining valid URLs will be created, and the invalid URLs will be returned in the invalidURLs field of the response. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-only-main-content) onlyMainContent boolean default:true Only return the main content of the page excluding headers, navs, footers, etc. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-include-tags) includeTags string\[\] Tags to include in the output. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-exclude-tags) excludeTags string\[\] Tags to exclude from the output. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-max-age) maxAge integer default:0 Returns a cached version of the page if it is younger than this age in milliseconds. If a cached version of the page is older than this value, the page will be scraped. If you do not need extremely fresh data, enabling this can speed up your scrapes by 500%. Defaults to 0, which disables caching. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-headers) headers object Headers to send with the request. Can be used to send cookies, user-agent, etc. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-wait-for) waitFor integer default:0 Specify a delay in milliseconds before fetching the content, allowing the page sufficient time to load. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-mobile) mobile boolean default:false Set to true if you want to emulate scraping from a mobile device. Useful for testing responsive pages and taking mobile screenshots. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-skip-tls-verification) skipTlsVerification boolean default:false Skip TLS certificate verification when making requests [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-timeout) timeout integer default:30000 Timeout in milliseconds for the request [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-parse-pdf) parsePDF boolean default:true Controls how PDF files are processed during scraping. When true, the PDF content is extracted and converted to markdown format, with billing based on the number of pages (1 credit per page). When false, the PDF file is returned in base64 encoding with a flat rate of 1 credit total. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-json-options) jsonOptions object JSON options object Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-actions) actions (Wait · object | Screenshot · object | Click · object | Write text · object | Press a key · object | Scroll · object | Scrape · object | Execute JavaScript · object | Generate PDF · object)\[\] Actions to perform on the page before grabbing the content * Wait * Screenshot * Click * Write text * Press a key * Scroll * Scrape * Execute JavaScript * Generate PDF Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-location) location object Location settings for the request. When specified, this will use an appropriate proxy if available and emulate the corresponding language and timezone settings. Defaults to 'US' if not specified. Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-remove-base64-images) removeBase64Images boolean default:true Removes all base 64 images from the output, which may be overwhelmingly long. The image's alt text remains in the output, but the URL is replaced with a placeholder. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-block-ads) blockAds boolean default:true Enables ad-blocking and cookie popup blocking. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-proxy) proxy enum Specifies the type of proxy to use. * basic: Proxies for scraping sites with none to basic anti-bot solutions. Fast and usually works. * stealth: Stealth proxies for scraping sites with advanced anti-bot solutions. Slower, but more reliable on certain sites. Costs up to 5 credits per request. * auto: Firecrawl will automatically retry scraping with stealth proxies if the basic proxy fails. If the retry with stealth is successful, 5 credits will be billed for the scrape. If the first attempt with basic is successful, only the regular cost will be billed. If you do not specify a proxy, Firecrawl will default to basic. Available options: `basic`, `stealth`, `auto` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-store-in-cache) storeInCache boolean default:true If true, the page will be stored in the Firecrawl index and cache. Setting this to false is useful if your scraping activity may have data protection concerns. Using some parameters associated with sensitive scraping (actions, headers) will force this parameter to be false. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-formats) formats enum\[\] Formats to include in the output. Available options: `markdown`, `html`, `rawHtml`, `links`, `screenshot`, `screenshot@fullPage`, `json`, `changeTracking` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-change-tracking-options) changeTrackingOptions object Options for change tracking (Beta). Only applicable when 'changeTracking' is included in formats. The 'markdown' format must also be specified when using change tracking. Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#body-zero-data-retention) zeroDataRetention boolean default:false If true, this will enable zero data retention for this batch scrape. To enable this feature, please contact [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#3a525f564a7a5c53485f59485b4d56145e5f4c) #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#response-id) id string [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#response-url) url string [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape#response-invalid-urls-one-of-0) invalidURLs string\[\] | null If ignoreInvalidURLs is true, this is an array containing the invalid URLs that were specified in the request. If there were no invalid URLs, this will be an empty array. If ignoreInvalidURLs is false, this field will be undefined. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/batch-scrape.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/batch-scrape) [Scrape\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) [Get Batch Scrape Status\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) ⌘I --- # Extract - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/extract#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Extract Endpoints Extract [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Extract structured data from pages using LLMs cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/extract \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "urls": [\ ""\ ], "prompt": "", "schema": {}, "enableWebSearch": false, "ignoreSitemap": false, "includeSubdomains": true, "showSources": false, "scrapeOptions": { "formats": [\ "markdown"\ ], "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 172800000, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": true, "timeout": 30000, "parsers": [\ "pdf"\ ], "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "auto", "storeInCache": true }, "ignoreInvalidURLs": true } ' 200 400 500 Copy Ask AI { "success": true, "id": "", "invalidURLs": [\ ""\ ] } POST / extract Try it Extract structured data from pages using LLMs cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/extract \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "urls": [\ ""\ ], "prompt": "", "schema": {}, "enableWebSearch": false, "ignoreSitemap": false, "includeSubdomains": true, "showSources": false, "scrapeOptions": { "formats": [\ "markdown"\ ], "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 172800000, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": true, "timeout": 30000, "parsers": [\ "pdf"\ ], "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "auto", "storeInCache": true }, "ignoreInvalidURLs": true } ' 200 400 500 Copy Ask AI { "success": true, "id": "", "invalidURLs": [\ ""\ ] } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#body-urls) urls string\[\] required The URLs to extract data from. URLs should be in glob format. [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#body-prompt) prompt string Prompt to guide the extraction process [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#body-schema) schema object Schema to define the structure of the extracted data. Must conform to [JSON Schema](https://json-schema.org/) . [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#body-enable-web-search) enableWebSearch boolean default:false When true, the extraction will use web search to find additional data [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#body-ignore-sitemap) ignoreSitemap boolean default:false When true, sitemap.xml files will be ignored during website scanning [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#body-include-subdomains) includeSubdomains boolean default:true When true, subdomains of the provided URLs will also be scanned [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#body-show-sources) showSources boolean default:false When true, the sources used to extract the data will be included in the response as `sources` key [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#body-scrape-options) scrapeOptions object Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#body-ignore-invalid-urls) ignoreInvalidURLs boolean default:true If invalid URLs are specified in the urls array, they will be ignored. Instead of them failing the entire request, an extract using the remaining valid URLs will be performed, and the invalid URLs will be returned in the invalidURLs field of the response. #### Response 200 application/json Successful extraction [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#response-id) id string [​](https://docs.firecrawl.dev/api-reference/endpoint/extract#response-invalid-urls-one-of-0) invalidURLs string\[\] | null If ignoreInvalidURLs is true, this is an array containing the invalid URLs that were specified in the request. If there were no invalid URLs, this will be an empty array. If ignoreInvalidURLs is false, this field will be undefined. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/extract.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/extract) [Cancel Agent\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) [Get Extract Status\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ⌘I --- # Get Active Crawls - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Get Active Crawls [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get all active crawls for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/crawl/active \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "success": true, "crawls": [\ {\ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",\ "teamId": "",\ "url": "",\ "options": {\ "scrapeOptions": {\ "formats": [\ "markdown"\ ],\ "onlyMainContent": true,\ "includeTags": [\ ""\ ],\ "excludeTags": [\ ""\ ],\ "maxAge": 172800000,\ "headers": {},\ "waitFor": 0,\ "mobile": false,\ "skipTlsVerification": true,\ "timeout": 30000,\ "parsers": [\ "pdf"\ ],\ "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ],\ "location": {\ "country": "US",\ "languages": [\ "en-US"\ ]\ },\ "removeBase64Images": true,\ "blockAds": true,\ "proxy": "auto",\ "storeInCache": true\ }\ }\ }\ ] } GET / crawl / active Try it Get all active crawls for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/crawl/active \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "success": true, "crawls": [\ {\ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",\ "teamId": "",\ "url": "",\ "options": {\ "scrapeOptions": {\ "formats": [\ "markdown"\ ],\ "onlyMainContent": true,\ "includeTags": [\ ""\ ],\ "excludeTags": [\ ""\ ],\ "maxAge": 172800000,\ "headers": {},\ "waitFor": 0,\ "mobile": false,\ "skipTlsVerification": true,\ "timeout": 30000,\ "parsers": [\ "pdf"\ ],\ "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ],\ "location": {\ "country": "US",\ "languages": [\ "en-US"\ ]\ },\ "removeBase64Images": true,\ "blockAds": true,\ "proxy": "auto",\ "storeInCache": true\ }\ }\ }\ ] } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active#response-success) success boolean required Example: `true` [​](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active#response-crawls) crawls object\[\] Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/crawl-active.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/crawl-active) [Get Crawl Errors\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) [Agent\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/agent) ⌘I --- # Get Batch Scrape Errors - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Scrape Endpoints Get Batch Scrape Errors [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Get the errors of a batch scrape job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/batch/scrape/{id}/errors \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "errors": [\ {\ "id": "",\ "timestamp": "",\ "url": "",\ "error": ""\ }\ ], "robotsBlocked": [\ ""\ ] } GET / batch / scrape / {id} / errors Try it Get the errors of a batch scrape job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/batch/scrape/{id}/errors \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "errors": [\ {\ "id": "",\ "timestamp": "",\ "url": "",\ "error": ""\ }\ ], "robotsBlocked": [\ ""\ ] } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) > is now available with improved error reporting and debugging capabilities. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors#parameter-id) id string required The ID of the batch scrape job #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors#response-errors) errors object\[\] Errored scrape jobs and error details Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors#response-robots-blocked) robotsBlocked string\[\] List of URLs that were attempted in scraping but were blocked by robots.txt [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/batch-scrape-get-errors.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/batch-scrape-get-errors) [Cancel Batch Scrape\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) [Crawl\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) ⌘I --- # Token Usage - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Account Endpoints Token Usage [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Get remaining tokens for the authenticated team (Extract only) cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/team/token-usage \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "data": { "remaining_tokens": 1000, "plan_tokens": 500000, "billing_period_start": "2025-01-01T00:00:00Z", "billing_period_end": "2025-01-31T23:59:59Z" } } GET / team / token-usage Try it Get remaining tokens for the authenticated team (Extract only) cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/team/token-usage \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "data": { "remaining_tokens": 1000, "plan_tokens": 500000, "billing_period_start": "2025-01-01T00:00:00Z", "billing_period_end": "2025-01-31T23:59:59Z" } } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage#response-data) data object Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/token-usage.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/token-usage) [Historical Credit Usage\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) [Historical Token Usage\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) ⌘I --- # Queue Status - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Account Endpoints Queue Status [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Metrics about your team's scrape queue cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/team/queue-status \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true, "jobsInQueue": 123, "activeJobsInQueue": 123, "waitingJobsInQueue": 123, "maxConcurrency": 123, "mostRecentSuccess": "2023-11-07T05:31:56Z" } GET / team / queue-status Try it Metrics about your team's scrape queue cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/team/queue-status \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true, "jobsInQueue": 123, "activeJobsInQueue": 123, "waitingJobsInQueue": 123, "maxConcurrency": 123, "mostRecentSuccess": "2023-11-07T05:31:56Z" } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Response 200 - application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status#response-jobs-in-queue) jobsInQueue number Number of jobs currently in your queue [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status#response-active-jobs-in-queue) activeJobsInQueue number Number of jobs currently active [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status#response-waiting-jobs-in-queue) waitingJobsInQueue number Number of jobs currently waiting [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status#response-max-concurrency) maxConcurrency number Maximum number of concurrent active jobs based on your plan [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status#response-most-recent-success-one-of-0) mostRecentSuccess string | null Timestamp of the most recent successful job [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/queue-status.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/queue-status) [Historical Token Usage\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) ⌘I --- # Get Extract Status - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Extract Endpoints Get Extract Status [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Get the status of an extract job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/extract/{id} \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true, "data": {}, "status": "completed", "expiresAt": "2023-11-07T05:31:56Z" } GET / extract / {id} Try it Get the status of an extract job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/extract/{id} \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true, "data": {}, "status": "completed", "expiresAt": "2023-11-07T05:31:56Z" } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get#parameter-id) id string required The ID of the extract job #### Response 200 - application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get#response-data) data object [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get#response-status) status enum The current status of the extract job Available options: `completed`, `processing`, `failed`, `cancelled` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get#response-expires-at) expiresAt string [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/extract-get.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/extract-get) [Extract\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) [Credit Usage\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) ⌘I --- # Historical Credit Usage - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Account Endpoints Historical Credit Usage [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Get historical credit usage for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/team/credit-usage/historical \ --header 'Authorization: Bearer ' 200 500 Copy Ask AI { "success": true, "periods": [\ {\ "startDate": "2025-01-01T00:00:00Z",\ "endDate": "2025-01-31T23:59:59Z",\ "apiKey": "",\ "totalCredits": 1000\ }\ ] } GET / team / credit-usage / historical Try it Get historical credit usage for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/team/credit-usage/historical \ --header 'Authorization: Bearer ' 200 500 Copy Ask AI { "success": true, "periods": [\ {\ "startDate": "2025-01-01T00:00:00Z",\ "endDate": "2025-01-31T23:59:59Z",\ "apiKey": "",\ "totalCredits": 1000\ }\ ] } Returns historical credit usage on a month-by-month basis. The endpoint can also breaks usage down by API key optionally. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Query Parameters [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical#parameter-by-api-key) byApiKey boolean default:false Get historical credit usage by API key #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical#response-periods) periods object\[\] Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/credit-usage-historical.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/credit-usage-historical) [Credit Usage\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) [Token Usage\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) ⌘I --- # Queue Status - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/queue-status#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Account Endpoints Queue Status [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Metrics about your team's scrape queue cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/team/queue-status \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true, "jobsInQueue": 123, "activeJobsInQueue": 123, "waitingJobsInQueue": 123, "maxConcurrency": 123, "mostRecentSuccess": "2023-11-07T05:31:56Z" } GET / team / queue-status Try it Metrics about your team's scrape queue cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/team/queue-status \ --header 'Authorization: Bearer ' 200 Copy Ask AI { "success": true, "jobsInQueue": 123, "activeJobsInQueue": 123, "waitingJobsInQueue": 123, "maxConcurrency": 123, "mostRecentSuccess": "2023-11-07T05:31:56Z" } Metrics about your team’s scrape queue. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/queue-status#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Response 200 - application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/queue-status#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/endpoint/queue-status#response-jobs-in-queue) jobsInQueue number Number of jobs currently in your queue [​](https://docs.firecrawl.dev/api-reference/endpoint/queue-status#response-active-jobs-in-queue) activeJobsInQueue number Number of jobs currently active [​](https://docs.firecrawl.dev/api-reference/endpoint/queue-status#response-waiting-jobs-in-queue) waitingJobsInQueue number Number of jobs currently waiting [​](https://docs.firecrawl.dev/api-reference/endpoint/queue-status#response-max-concurrency) maxConcurrency number Maximum number of concurrent active jobs based on your plan [​](https://docs.firecrawl.dev/api-reference/endpoint/queue-status#response-most-recent-success-one-of-0) mostRecentSuccess string | null Timestamp of the most recent successful job [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/queue-status.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/queue-status) [Historical Token Usage\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) ⌘I --- # Historical Credit Usage - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Account Endpoints Historical Credit Usage [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Get historical credit usage for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/team/credit-usage/historical \ --header 'Authorization: Bearer ' 200 500 Copy Ask AI { "success": true, "periods": [\ {\ "startDate": "2025-01-01T00:00:00Z",\ "endDate": "2025-01-31T23:59:59Z",\ "apiKey": "",\ "totalCredits": 1000\ }\ ] } GET / team / credit-usage / historical Try it Get historical credit usage for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v2/team/credit-usage/historical \ --header 'Authorization: Bearer ' 200 500 Copy Ask AI { "success": true, "periods": [\ {\ "startDate": "2025-01-01T00:00:00Z",\ "endDate": "2025-01-31T23:59:59Z",\ "apiKey": "",\ "totalCredits": 1000\ }\ ] } Returns historical credit usage on a month-by-month basis. The endpoint can also breaks usage down by API key optionally. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Query Parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical#parameter-by-api-key) byApiKey boolean default:false Get historical credit usage by API key #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical#response-periods) periods object\[\] Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/credit-usage-historical.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/credit-usage-historical) [Credit Usage\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) [Token Usage\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) ⌘I --- # Credit Usage - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Account Endpoints Credit Usage [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Get remaining credits for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/team/credit-usage \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "data": { "remaining_credits": 1000, "plan_credits": 500000, "billing_period_start": "2025-01-01T00:00:00Z", "billing_period_end": "2025-01-31T23:59:59Z" } } GET / team / credit-usage Try it Get remaining credits for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/team/credit-usage \ --header 'Authorization: Bearer ' 200 404 500 Copy Ask AI { "success": true, "data": { "remaining_credits": 1000, "plan_credits": 500000, "billing_period_start": "2025-01-01T00:00:00Z", "billing_period_end": "2025-01-31T23:59:59Z" } } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage#response-data) data object Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/credit-usage.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/credit-usage) [Get Extract Status\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) [Historical Credit Usage\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) ⌘I --- # Map - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/map#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Map Endpoints Map [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Map multiple URLs based on options cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/map \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "search": "", "sitemap": "include", "includeSubdomains": true, "ignoreQueryParameters": true, "limit": 5000, "location": { "country": "US", "languages": [\ "en-US"\ ] }, "timeout": 60000 } ' 200 402 429 500 Copy Ask AI { "success": true, "links": [\ {\ "url": "",\ "title": "",\ "description": ""\ }\ ] } POST / map Try it Map multiple URLs based on options cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/map \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "search": "", "sitemap": "include", "includeSubdomains": true, "ignoreQueryParameters": true, "limit": 5000, "location": { "country": "US", "languages": [\ "en-US"\ ] }, "timeout": 60000 } ' 200 402 429 500 Copy Ask AI { "success": true, "links": [\ {\ "url": "",\ "title": "",\ "description": ""\ }\ ] } [​](https://docs.firecrawl.dev/api-reference/endpoint/map#what%E2%80%99s-new-in-v2) What’s New in v2 ------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/api-reference/endpoint/map#better-sitemap-control) Better Sitemap Control Three ways to handle sitemaps: * `"include"` - Use sitemap + find other pages (default) * `"skip"` - Ignore sitemap completely * `"only"` - Only return sitemap URLs Copy Ask AI { "url": "https://example.com", "sitemap": "only" } ### [​](https://docs.firecrawl.dev/api-reference/endpoint/map#response-format-changed) Response format changed We now return the links in the `links` array of objects with enhanced metadata. Copy Ask AI { "url": "https://example.com", "links": [\ {\ "url": "https://example.com/page1",\ "title": "Page 1",\ "description": "Page 1 description"\ }\ ] } #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/map#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/endpoint/map#body-url) url string required The base URL to start crawling from [​](https://docs.firecrawl.dev/api-reference/endpoint/map#body-search) search string Specify a search query to order the results by relevance. Example: 'blog' will return URLs that contain the word 'blog' in the URL ordered by relevance. [​](https://docs.firecrawl.dev/api-reference/endpoint/map#body-sitemap) sitemap enum default:include Sitemap mode when mapping. If you set it to `skip`, the sitemap won't be used to find URLs. If you set it to `only`, only URLs that are in the sitemap will be returned. By default (`include`), the sitemap and other methods will be used together to find URLs. Available options: `skip`, `include`, `only` [​](https://docs.firecrawl.dev/api-reference/endpoint/map#body-include-subdomains) includeSubdomains boolean default:true Include subdomains of the website [​](https://docs.firecrawl.dev/api-reference/endpoint/map#body-ignore-query-parameters) ignoreQueryParameters boolean default:true Do not return URLs with query parameters [​](https://docs.firecrawl.dev/api-reference/endpoint/map#body-limit) limit integer default:5000 Maximum number of links to return Required range: `x <= 100000` [​](https://docs.firecrawl.dev/api-reference/endpoint/map#body-timeout) timeout integer Timeout in milliseconds. There is no timeout by default. [​](https://docs.firecrawl.dev/api-reference/endpoint/map#body-location) location object Location settings for the request. When specified, this will use an appropriate proxy if available and emulate the corresponding language and timezone settings. Defaults to 'US' if not specified. Show child attributes #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/map#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/endpoint/map#response-links) links object\[\] Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/map.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/map) [Search\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/search) [Crawl\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) ⌘I --- # Full-Stack Templates - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/examples#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Developer Guides Full-Stack Templates [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Official Examples](https://docs.firecrawl.dev/developer-guides/examples#official-examples) [​](https://docs.firecrawl.dev/developer-guides/examples#official-examples) Official Examples ------------------------------------------------------------------------------------------------ [](https://github.com/firecrawl/open-lovable) [](https://github.com/firecrawl/open-lovable) [Open Lovable\ ------------](https://github.com/firecrawl/open-lovable) [![Open Lovable](https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExODAwZGJzcDVmZGYxc3MyNDUycTliYnAwem1qbzhtNHh0c2JrNDdmZCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/LMYzMkNmOecj3yFw81/giphy.gif)**Use Case**: Build a RAG-powered chatbot with live web data](https://github.com/firecrawl/open-lovable) [](https://github.com/firecrawl/open-lovable) * [](https://github.com/firecrawl/open-lovable) [GitHub Repo](https://github.com/firecrawl/open-lovable) [](https://github.com/firecrawl/open-agent-builder) [](https://github.com/firecrawl/open-agent-builder) [Open Agent Builder\ ------------------](https://github.com/firecrawl/open-agent-builder) [![Demo](https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcGNoY25xY2ptZTZtcDN6czBmdXJ2dnpkdWVjcXlqNXNhdjgyZXpkaiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/tWtopK29eXAbvaDpi5/giphy.gif)**Use Case**: Build and deploy AI agents with web scraping capabilities](https://github.com/firecrawl/open-agent-builder) [](https://github.com/firecrawl/open-agent-builder) * [](https://github.com/firecrawl/open-agent-builder) [GitHub Repo](https://github.com/firecrawl/open-agent-builder) [](https://github.com/firecrawl/fireplexity) [](https://github.com/firecrawl/fireplexity) [Fireplexity\ -----------](https://github.com/firecrawl/fireplexity) [![Fireplexity](https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExNjBxbmFxamZycWRrMmVhMGFibmZuc3NuZjMxc3lpNHpuamR4OWlwcXF4NSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/QbfaTCB1OmkRmIQwzJ/giphy.gif)**Use Case**: AI search engine with real-time citations, streaming responses, and live data](https://github.com/firecrawl/fireplexity) [](https://github.com/firecrawl/fireplexity) * [](https://github.com/firecrawl/fireplexity) [GitHub Repo](https://github.com/firecrawl/fireplexity) [](https://github.com/firecrawl/firegeo) [](https://github.com/firecrawl/firegeo) [FireGEO\ -------](https://github.com/firecrawl/firegeo) [![FireGEO Demo](https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExNjh4N3VwdGw2YXg2ZXpvMHBlNDFlejd1MjBpZXBxNHZ5YXJxOGk5OSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/x2sTqbCW5m7z0qaNJM/giphy.gif)**Use Case**: SaaS starter with brand monitoring, authentication, and billing](https://github.com/firecrawl/firegeo) [](https://github.com/firecrawl/firegeo) * [](https://github.com/firecrawl/firegeo) [GitHub Repo](https://github.com/firecrawl/firegeo) [](https://github.com/firecrawl/fire-enrich) [](https://github.com/firecrawl/fire-enrich) [Fire Enrich\ -----------](https://github.com/firecrawl/fire-enrich) [![Fire Enrich](https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExNjJwMnF2cW5zbXBhbGV6NXBpb3lkZmVhMWEwY3hmdmt3d3ZtbWc5YSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/QhpbWI09KyFZ0rwD72/giphy.gif)**Use Case**: AI-powered data enrichment tool that transforms emails into rich datasets](https://github.com/firecrawl/fire-enrich) [](https://github.com/firecrawl/fire-enrich) * [](https://github.com/firecrawl/fire-enrich) [GitHub Repo](https://github.com/firecrawl/fire-enrich) [](https://github.com/firecrawl/firesearch) [](https://github.com/firecrawl/firesearch) [Firesearch\ ----------](https://github.com/firecrawl/firesearch) [![Firesearch](https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExd2F2YWo4amdieGVnOXR3aGM5ZnBlcDZvbnRjNW1vNmtpeWNhc3VtbSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Jw7Q08ll8Vh0BoApI8/giphy.gif)**Use Case**: AI-powered deep research tool with validated answers and citations](https://github.com/firecrawl/firesearch) [](https://github.com/firecrawl/firesearch) * [](https://github.com/firecrawl/firesearch) [GitHub Repo](https://github.com/firecrawl/firesearch) [](https://github.com/firecrawl/firestarter) [](https://github.com/firecrawl/firestarter) [Firestarter\ -----------](https://github.com/firecrawl/firestarter) [![Firestarter](https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExNGVhOTdxaDhxZGJ6bnAwaDB3bWp3bXpnYzN1NDBrazJ1MGpvOG51aCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ZAOM1psWWVQYeAaS38/giphy.gif)**Use Case**: Instantly create AI chatbots for any website with RAG-powered search](https://github.com/firecrawl/firestarter) [](https://github.com/firecrawl/firestarter) * [](https://github.com/firecrawl/firestarter) [GitHub Repo](https://github.com/firecrawl/firestarter) [](https://github.com/firecrawl/ai-ready-website) [](https://github.com/firecrawl/ai-ready-website) [AI Ready Website\ ----------------](https://github.com/firecrawl/ai-ready-website) [![AI Ready Website](https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExbzZyaXVlOXoyaGJmMGV5YzBlbXNod2U5emRrZ2lqZTM1eGI1aHlzZSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/irNt0XtSKmenMRqMre/giphy.gif)**Use Case**: Transform any website into AI-ready structured data](https://github.com/firecrawl/ai-ready-website) [](https://github.com/firecrawl/ai-ready-website) * [](https://github.com/firecrawl/ai-ready-website) [GitHub Repo](https://github.com/firecrawl/ai-ready-website) [](https://github.com/firecrawl/open-researcher) [](https://github.com/firecrawl/open-researcher) [Open Researcher\ ---------------](https://github.com/firecrawl/open-researcher) [![Open Researcher](https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExaGJncnpmamlzc3RnMzNpeXNwcGk1Z3kwemd6c2w1ZDdxcGZwdWJwdiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/hhNLykzY76wu7oGFU0/giphy.gif)**Use Case**: AI-powered research assistant that gathers and analyzes web data](https://github.com/firecrawl/open-researcher) [](https://github.com/firecrawl/open-researcher) * [](https://github.com/firecrawl/open-researcher) [GitHub Repo](https://github.com/firecrawl/open-researcher) [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/examples.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/examples) [Testing\ \ Previous](https://docs.firecrawl.dev/webhooks/testing) [OpenAI\ \ Next](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/openai) ⌘I --- # Get Batch Scrape Status - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Scrape Endpoints Get Batch Scrape Status [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Get the status of a batch scrape job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/batch/scrape/{id} \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "status": "", "total": 123, "completed": 123, "creditsUsed": 123, "expiresAt": "2023-11-07T05:31:56Z", "next": "", "data": [\ {\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "language": "",\ "sourceURL": "",\ "keywords": "",\ "ogLocaleAlternate": [\ ""\ ],\ " ": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ] } GET / batch / scrape / {id} Try it Get the status of a batch scrape job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/batch/scrape/{id} \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "status": "", "total": 123, "completed": 123, "creditsUsed": 123, "expiresAt": "2023-11-07T05:31:56Z", "next": "", "data": [\ {\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "language": "",\ "sourceURL": "",\ "keywords": "",\ "ogLocaleAlternate": [\ ""\ ],\ " ": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ] } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) > is now available with improved status tracking and monitoring capabilities. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get#parameter-id) id string required The ID of the batch scrape job #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get#response-status) status string The current status of the batch scrape. Can be `scraping`, `completed`, or `failed`. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get#response-total) total integer The total number of pages that were attempted to be scraped. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get#response-completed) completed integer The number of pages that have been successfully scraped. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get#response-credits-used) creditsUsed integer The number of credits used for the batch scrape. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get#response-expires-at) expiresAt string The date and time when the batch scrape will expire. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get#response-next-one-of-0) next string | null The URL to retrieve the next 10MB of data. Returned if the batch scrape is not completed or if the response is larger than 10MB. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get#response-data) data object\[\] The data of the batch scrape. Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/batch-scrape-get.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/batch-scrape-get) [Batch Scrape\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) [Cancel Batch Scrape\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) ⌘I --- # Map - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Map Endpoints Map [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Map multiple URLs based on options cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/map \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "search": "", "ignoreSitemap": true, "sitemapOnly": false, "includeSubdomains": true, "limit": 5000, "timeout": 123, "location": { "country": "US", "languages": [\ "en-US"\ ] } } ' 200 402 429 500 Copy Ask AI { "success": true, "links": [\ ""\ ] } POST / map Try it Map multiple URLs based on options cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/map \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "search": "", "ignoreSitemap": true, "sitemapOnly": false, "includeSubdomains": true, "limit": 5000, "timeout": 123, "location": { "country": "US", "languages": [\ "en-US"\ ] } } ' 200 402 429 500 Copy Ask AI { "success": true, "links": [\ ""\ ] } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/map) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#body-url) url string required The base URL to start crawling from [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#body-search) search string Search query to use for mapping. During the Alpha phase, the 'smart' part of the search functionality is limited to 500 search results. However, if map finds more results, there is no limit applied. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#body-ignore-sitemap) ignoreSitemap boolean default:true Ignore the website sitemap when crawling. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#body-sitemap-only) sitemapOnly boolean default:false Only return links found in the website sitemap [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#body-include-subdomains) includeSubdomains boolean default:true Include subdomains of the website [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#body-limit) limit integer default:5000 Maximum number of links to return Required range: `x <= 30000` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#body-timeout) timeout integer Timeout in milliseconds. There is no timeout by default. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#body-location) location object Location settings for the request. When specified, this will use an appropriate proxy if available and emulate the corresponding language and timezone settings. Defaults to 'US' if not specified. Show child attributes #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/map#response-links) links string\[\] [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/map.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/map) [Get Active Crawls\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) [Search\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ⌘I --- # Historical Token Usage - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Account Endpoints Historical Token Usage [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Get historical token usage for the authenticated team (Extract only) cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/team/token-usage/historical \ --header 'Authorization: Bearer ' 200 500 Copy Ask AI { "success": true, "periods": [\ {\ "startDate": "2025-01-01T00:00:00Z",\ "endDate": "2025-01-31T23:59:59Z",\ "apiKey": "",\ "totalTokens": 1000\ }\ ] } GET / team / token-usage / historical Try it Get historical token usage for the authenticated team (Extract only) cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/team/token-usage/historical \ --header 'Authorization: Bearer ' 200 500 Copy Ask AI { "success": true, "periods": [\ {\ "startDate": "2025-01-01T00:00:00Z",\ "endDate": "2025-01-31T23:59:59Z",\ "apiKey": "",\ "totalTokens": 1000\ }\ ] } Returns historical token usage on a month-by-month basis. The endpoint can also breaks usage down by API key optionally. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Query Parameters [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical#parameter-by-api-key) byApiKey boolean default:false Get historical token usage by API key #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical#response-success) success boolean Example: `true` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical#response-periods) periods object\[\] Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/token-usage-historical.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/token-usage-historical) [Token Usage\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) [Queue Status\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) ⌘I --- # Crawl - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Crawl [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Crawl multiple URLs based on options cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/crawl \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "excludePaths": [\ ""\ ], "includePaths": [\ ""\ ], "maxDepth": 10, "maxDiscoveryDepth": 123, "ignoreSitemap": false, "ignoreQueryParameters": false, "limit": 10000, "allowBackwardLinks": false, "crawlEntireDomain": false, "allowExternalLinks": false, "allowSubdomains": false, "delay": 123, "maxConcurrency": 123, "webhook": { "url": "", "headers": {}, "metadata": {}, "events": [\ "completed"\ ] }, "scrapeOptions": { "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 0, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": false, "timeout": 30000, "parsePDF": true, "jsonOptions": { "schema": {}, "systemPrompt": "", "prompt": "" }, "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "basic", "storeInCache": true, "formats": [\ "markdown"\ ], "changeTrackingOptions": { "modes": [\ "git-diff"\ ], "schema": {}, "prompt": "", "tag": null } }, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "id": "", "url": "" } POST / crawl Try it Crawl multiple URLs based on options cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/crawl \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "excludePaths": [\ ""\ ], "includePaths": [\ ""\ ], "maxDepth": 10, "maxDiscoveryDepth": 123, "ignoreSitemap": false, "ignoreQueryParameters": false, "limit": 10000, "allowBackwardLinks": false, "crawlEntireDomain": false, "allowExternalLinks": false, "allowSubdomains": false, "delay": 123, "maxConcurrency": 123, "webhook": { "url": "", "headers": {}, "metadata": {}, "events": [\ "completed"\ ] }, "scrapeOptions": { "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 0, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": false, "timeout": 30000, "parsePDF": true, "jsonOptions": { "schema": {}, "systemPrompt": "", "prompt": "" }, "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "basic", "storeInCache": true, "formats": [\ "markdown"\ ], "changeTrackingOptions": { "modes": [\ "git-diff"\ ], "schema": {}, "prompt": "", "tag": null } }, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "id": "", "url": "" } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-url) url string required The base URL to start crawling from [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-exclude-paths) excludePaths string\[\] URL pathname regex patterns that exclude matching URLs from the crawl. For example, if you set "excludePaths": \["blog/.\*"\] for the base URL firecrawl.dev, any results matching that pattern will be excluded, such as [https://www.firecrawl.dev/blog/firecrawl-launch-week-1-recap](https://www.firecrawl.dev/blog/firecrawl-launch-week-1-recap) . [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-include-paths) includePaths string\[\] URL pathname regex patterns that include matching URLs in the crawl. Only the paths that match the specified patterns will be included in the response. For example, if you set "includePaths": \["blog/.\*"\] for the base URL firecrawl.dev, only results matching that pattern will be included, such as [https://www.firecrawl.dev/blog/firecrawl-launch-week-1-recap](https://www.firecrawl.dev/blog/firecrawl-launch-week-1-recap) . [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-max-depth) maxDepth integer default:10 Maximum absolute depth to crawl from the base of the entered URL. Basically, the max number of slashes the pathname of a scraped URL may contain. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-max-discovery-depth) maxDiscoveryDepth integer Maximum depth to crawl based on discovery order. The root site and sitemapped pages has a discovery depth of 0. For example, if you set it to 1, and you set ignoreSitemap, you will only crawl the entered URL and all URLs that are linked on that page. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-ignore-sitemap) ignoreSitemap boolean default:false Ignore the website sitemap when crawling [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-ignore-query-parameters) ignoreQueryParameters boolean default:false Do not re-scrape the same path with different (or none) query parameters [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-limit) limit integer default:10000 Maximum number of pages to crawl. Default limit is 10000. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-allow-backward-links) allowBackwardLinks boolean default:false deprecated ⚠️ DEPRECATED: Use 'crawlEntireDomain' instead. Allows the crawler to follow internal links to sibling or parent URLs, not just child paths. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-crawl-entire-domain) crawlEntireDomain boolean default:false Allows the crawler to follow internal links to sibling or parent URLs, not just child paths. false: Only crawls deeper (child) URLs. → e.g. /features/feature-1 → /features/feature-1/tips ✅ → Won't follow /pricing or / ❌ true: Crawls any internal links, including siblings and parents. → e.g. /features/feature-1 → /pricing, /, etc. ✅ Use true for broader internal coverage beyond nested paths. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-allow-external-links) allowExternalLinks boolean default:false Allows the crawler to follow links to external websites. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-allow-subdomains) allowSubdomains boolean default:false Allows the crawler to follow links to subdomains of the main domain. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-delay) delay number Delay in seconds between scrapes. This helps respect website rate limits. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-max-concurrency) maxConcurrency integer Maximum number of concurrent scrapes. This parameter allows you to set a concurrency limit for this crawl. If not specified, the crawl adheres to your team's concurrency limit. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-webhook) webhook object A webhook specification object. Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-scrape-options) scrapeOptions object Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#body-zero-data-retention) zeroDataRetention boolean default:false If true, this will enable zero data retention for this crawl. To enable this feature, please contact [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#4c2429203c0c2a253e292f3e2d3b206228293a) #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#response-id) id string [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post#response-url) url string [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/crawl-post.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/crawl-post) [Get Batch Scrape Errors\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) [Get Crawl Status\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) ⌘I --- # Self-hosting | Firecrawl [Skip to main content](https://docs.firecrawl.dev/contributing/self-host#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Contributing Self-hosting [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Contributor?](https://docs.firecrawl.dev/contributing/self-host#contributor) * [Self-hosting Firecrawl](https://docs.firecrawl.dev/contributing/self-host#self-hosting-firecrawl) * [Why?](https://docs.firecrawl.dev/contributing/self-host#why) * [Considerations](https://docs.firecrawl.dev/contributing/self-host#considerations) * [Steps](https://docs.firecrawl.dev/contributing/self-host#steps) * [Troubleshooting](https://docs.firecrawl.dev/contributing/self-host#troubleshooting) * [Supabase client is not configured](https://docs.firecrawl.dev/contributing/self-host#supabase-client-is-not-configured) * [You’re bypassing authentication](https://docs.firecrawl.dev/contributing/self-host#you%E2%80%99re-bypassing-authentication) * [Docker containers fail to start](https://docs.firecrawl.dev/contributing/self-host#docker-containers-fail-to-start) * [Connection issues with Redis](https://docs.firecrawl.dev/contributing/self-host#connection-issues-with-redis) * [API endpoint does not respond](https://docs.firecrawl.dev/contributing/self-host#api-endpoint-does-not-respond) * [Install Firecrawl on a Kubernetes Cluster (Simple Version)](https://docs.firecrawl.dev/contributing/self-host#install-firecrawl-on-a-kubernetes-cluster-simple-version) #### [​](https://docs.firecrawl.dev/contributing/self-host#contributor) Contributor? Welcome to [Firecrawl](https://firecrawl.dev/) 🔥! Here are some instructions on how to get the project locally so you can run it on your own and contribute. If you’re contributing, note that the process is similar to other open-source repos, i.e., fork Firecrawl, make changes, run tests, PR. If you have any questions or would like help getting on board, join our Discord community [here](https://discord.gg/gSmWdAkdwd) for more information or submit an issue on Github [here](https://github.com/mendableai/firecrawl/issues/new/choose) ! [​](https://docs.firecrawl.dev/contributing/self-host#self-hosting-firecrawl) Self-hosting Firecrawl ------------------------------------------------------------------------------------------------------- Refer to [SELF\_HOST.md](https://github.com/mendableai/firecrawl/blob/main/SELF_HOST.md) for instructions on how to run it locally. [​](https://docs.firecrawl.dev/contributing/self-host#why) Why? ------------------------------------------------------------------ Self-hosting Firecrawl is particularly beneficial for organizations with stringent security policies that require data to remain within controlled environments. Here are some key reasons to consider self-hosting: * **Enhanced Security and Compliance:** By self-hosting, you ensure that all data handling and processing complies with internal and external regulations, keeping sensitive information within your secure infrastructure. Note that Firecrawl is a Mendable product and relies on SOC2 Type2 certification, which means that the platform adheres to high industry standards for managing data security. * **Customizable Services:** Self-hosting allows you to tailor the services, such as the Playwright service, to meet specific needs or handle particular use cases that may not be supported by the standard cloud offering. * **Learning and Community Contribution:** By setting up and maintaining your own instance, you gain a deeper understanding of how Firecrawl works, which can also lead to more meaningful contributions to the project. ### [​](https://docs.firecrawl.dev/contributing/self-host#considerations) Considerations However, there are some limitations and additional responsibilities to be aware of: 1. **Limited Access to Fire-engine:** Currently, self-hosted instances of Firecrawl do not have access to Fire-engine, which includes advanced features for handling IP blocks, robot detection mechanisms, and more. This means that while you can manage basic scraping tasks, more complex scenarios might require additional configuration or might not be supported. 2. **Manual Configuration Required:** If you need to use scraping methods beyond the basic fetch and Playwright options, you will need to manually configure these in the `.env` file. This requires a deeper understanding of the technologies and might involve more setup time. Self-hosting Firecrawl is ideal for those who need full control over their scraping and data processing environments but comes with the trade-off of additional maintenance and configuration efforts. [​](https://docs.firecrawl.dev/contributing/self-host#steps) Steps --------------------------------------------------------------------- 1. First, start by installing the dependencies * Docker [instructions](https://docs.docker.com/get-docker/) 2. Set environment variables Create an `.env` in the root directory you can copy over the template in `apps/api/.env.example` To start, we wont set up authentication, or any optional sub services (pdf parsing, JS blocking support, AI features) Copy Ask AI # .env # ===== Required ENVS ====== PORT=3002 HOST=0.0.0.0 # Note: PORT is used by both the main API server and worker liveness check endpoint # To turn on DB authentication, you need to set up Supabase. USE_DB_AUTHENTICATION=false # ===== Optional ENVS ====== ## === AI features (JSON format on scrape, /extract API) === # Provide your OpenAI API key here to enable AI features # OPENAI_API_KEY= # Experimental: Use Ollama # OLLAMA_BASE_URL=http://localhost:11434/api # MODEL_NAME=deepseek-r1:7b # MODEL_EMBEDDING_NAME=nomic-embed-text # Experimental: Use any OpenAI-compatible API # OPENAI_BASE_URL=https://example.com/v1 # OPENAI_API_KEY= ## === Proxy === # PROXY_SERVER can be a full URL (e.g. http://0.1.2.3:1234) or just an IP and port combo (e.g. 0.1.2.3:1234) # Do not uncomment PROXY_USERNAME and PROXY_PASSWORD if your proxy is unauthenticated # PROXY_SERVER= # PROXY_USERNAME= # PROXY_PASSWORD= ## === /search API === # You can specify a SearXNG server with the JSON format enabled, if you'd like to use that instead of direct Google. # You can also customize the engines and categories parameters, but the defaults should also work just fine. # SEARXNG_ENDPOINT=http://your.searxng.server # SEARXNG_ENGINES= # SEARXNG_CATEGORIES= ## === Other === # Supabase Setup (used to support DB authentication, advanced logging, etc.) # SUPABASE_ANON_TOKEN= # SUPABASE_URL= # SUPABASE_SERVICE_TOKEN= # Use if you've set up authentication and want to test with a real API key # TEST_API_KEY= # This key lets you access the queue admin panel. Change this if your deployment is publicly accessible. BULL_AUTH_KEY=CHANGEME # This is now autoconfigured by the docker-compose.yaml. You shouldn't need to set it. # PLAYWRIGHT_MICROSERVICE_URL=http://playwright-service:3000/scrape # REDIS_URL=redis://redis:6379 # REDIS_RATE_LIMIT_URL=redis://redis:6379 # Set if you have a llamaparse key you'd like to use to parse pdfs # LLAMAPARSE_API_KEY= # Set if you'd like to send server health status messages to Slack # SLACK_WEBHOOK_URL= # Set if you'd like to send posthog events like job logs # POSTHOG_API_KEY= # POSTHOG_HOST= ## === System Resource Configuration === # Maximum CPU usage threshold (0.0-1.0). Worker will reject new jobs when CPU usage exceeds this value. # Default: 0.8 (80%) # MAX_CPU=0.8 # Maximum RAM usage threshold (0.0-1.0). Worker will reject new jobs when memory usage exceeds this value. # Default: 0.8 (80%) # MAX_RAM=0.8 # Set if you'd like to allow local webhooks to be sent to your self-hosted instance # ALLOW_LOCAL_WEBHOOKS=true 3. _(Optional) Running with TypeScript Playwright Service_ * Update the `docker-compose.yml` file to change the Playwright service: Copy Ask AI build: apps/playwright-service TO Copy Ask AI build: apps/playwright-service-ts * Set the `PLAYWRIGHT_MICROSERVICE_URL` in your `.env` file: Copy Ask AI PLAYWRIGHT_MICROSERVICE_URL=http://localhost:3000/scrape * Don’t forget to set the proxy server in your `.env` file as needed. 4. Build and run the Docker containers: Copy Ask AI docker compose build docker compose up This will run a local instance of Firecrawl which can be accessed at `http://localhost:3002`. You should be able to see the Bull Queue Manager UI on `http://localhost:3002/admin/@/queues`. 5. _(Optional)_ Test the API If you’d like to test the crawl endpoint, you can run this: Copy Ask AI curl -X POST http://localhost:3002/v2/crawl \ -H 'Content-Type: application/json' \ -d '{ "url": "https://docs.firecrawl.dev" }' [​](https://docs.firecrawl.dev/contributing/self-host#troubleshooting) Troubleshooting ----------------------------------------------------------------------------------------- This section provides solutions to common issues you might encounter while setting up or running your self-hosted instance of Firecrawl. ### [​](https://docs.firecrawl.dev/contributing/self-host#supabase-client-is-not-configured) Supabase client is not configured **Symptom:** Copy Ask AI [YYYY-MM-DDTHH:MM:SS.SSSz]ERROR - Attempted to access Supabase client when it's not configured. [YYYY-MM-DDTHH:MM:SS.SSSz]ERROR - Error inserting scrape event: Error: Supabase client is not configured. **Explanation:** This error occurs because the Supabase client setup is not completed. You should be able to scrape and crawl with no problems. Right now it’s not possible to configure Supabase in self-hosted instances. ### [​](https://docs.firecrawl.dev/contributing/self-host#you%E2%80%99re-bypassing-authentication) You’re bypassing authentication **Symptom:** Copy Ask AI [YYYY-MM-DDTHH:MM:SS.SSSz]WARN - You're bypassing authentication **Explanation:** This error occurs because the Supabase client setup is not completed. You should be able to scrape and crawl with no problems. Right now it’s not possible to configure Supabase in self-hosted instances. ### [​](https://docs.firecrawl.dev/contributing/self-host#docker-containers-fail-to-start) Docker containers fail to start **Symptom:** Docker containers exit unexpectedly or fail to start. **Solution:** Check the Docker logs for any error messages using the command: Copy Ask AI docker logs [container_name] * Ensure all required environment variables are set correctly in the .env file. * Verify that all Docker services defined in docker-compose.yml are correctly configured and the necessary images are available. ### [​](https://docs.firecrawl.dev/contributing/self-host#connection-issues-with-redis) Connection issues with Redis **Symptom:** Errors related to connecting to Redis, such as timeouts or “Connection refused”. **Solution:** * Ensure that the Redis service is up and running in your Docker environment. * Verify that the REDIS\_URL and REDIS\_RATE\_LIMIT\_URL in your .env file point to the correct Redis instance. * Check network settings and firewall rules that may block the connection to the Redis port. ### [​](https://docs.firecrawl.dev/contributing/self-host#api-endpoint-does-not-respond) API endpoint does not respond **Symptom:** API requests to the Firecrawl instance timeout or return no response. **Solution:** * Ensure that the Firecrawl service is running by checking the Docker container status. * Verify that the PORT and HOST settings in your .env file are correct and that no other service is using the same port. * Check the network configuration to ensure that the host is accessible from the client making the API request. By addressing these common issues, you can ensure a smoother setup and operation of your self-hosted Firecrawl instance. [​](https://docs.firecrawl.dev/contributing/self-host#install-firecrawl-on-a-kubernetes-cluster-simple-version) Install Firecrawl on a Kubernetes Cluster (Simple Version) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Read the [examples/kubernetes-cluster-install/README.md](https://github.com/firecrawl/firecrawl/tree/main/examples/kubernetes/cluster-install#readme) for instructions on how to install Firecrawl on a Kubernetes Cluster. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/contributing/self-host.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/contributing/self-host) [Running locally\ \ Previous](https://docs.firecrawl.dev/contributing/guide) ⌘I --- # Search - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/search#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Search Endpoints Search [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Search and optionally scrape search results cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/search \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "query": "", "limit": 5, "sources": [\ "web"\ ], "categories": [\ {\ "type": "github"\ }\ ], "tbs": "", "location": "", "country": "US", "timeout": 60000, "ignoreInvalidURLs": false, "scrapeOptions": {} } ' 200 408 500 Copy Ask AI { "success": true, "data": { "web": [\ {\ "title": "",\ "description": "",\ "url": "",\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "sourceURL": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ], "images": [\ {\ "title": "",\ "imageUrl": "",\ "imageWidth": 123,\ "imageHeight": 123,\ "url": "",\ "position": 123\ }\ ], "news": [\ {\ "title": "",\ "snippet": "",\ "url": "",\ "date": "",\ "imageUrl": "",\ "position": 123,\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "sourceURL": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ] }, "warning": "", "id": "", "creditsUsed": 123 } POST / search Try it Search and optionally scrape search results cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/search \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "query": "", "limit": 5, "sources": [\ "web"\ ], "categories": [\ {\ "type": "github"\ }\ ], "tbs": "", "location": "", "country": "US", "timeout": 60000, "ignoreInvalidURLs": false, "scrapeOptions": {} } ' 200 408 500 Copy Ask AI { "success": true, "data": { "web": [\ {\ "title": "",\ "description": "",\ "url": "",\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "sourceURL": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ], "images": [\ {\ "title": "",\ "imageUrl": "",\ "imageWidth": 123,\ "imageHeight": 123,\ "url": "",\ "position": 123\ }\ ], "news": [\ {\ "title": "",\ "snippet": "",\ "url": "",\ "date": "",\ "imageUrl": "",\ "position": 123,\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "sourceURL": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ] }, "warning": "", "id": "", "creditsUsed": 123 } [​](https://docs.firecrawl.dev/api-reference/endpoint/search#what%E2%80%99s-new-in-v2) What’s New in v2 ---------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/api-reference/endpoint/search#search-multiple-sources) Search Multiple Sources Search web, images, and news at once: Copy Ask AI { "query": "firecrawl web scraping", "sources": [ "web", "images", "news" ] } ### [​](https://docs.firecrawl.dev/api-reference/endpoint/search#response-format-changed) Response Format Changed v1: flat list of results. v2: organized by source type: Copy Ask AI { "success": true, "data": { "web": [/* web results */], "images": [/* image results */], "news": [/* news results */] } } ### [​](https://docs.firecrawl.dev/api-reference/endpoint/search#new-features) New Features * Filter by time ranges (“past week”, “past month”) * Target specific countries/regions * Category Filtering: Search within GitHub repositories or research websites * Results capped at 500 during alpha The search endpoint combines web search with Firecrawl’s scraping capabilities to return full page content for any query. Include `scrapeOptions` with `formats: [{"type": "markdown"}]` to get complete markdown content for each search result otherwise you will default to getting the results (url, title, description). You can also use other formats like `{"type": "summary"}` for condensed content. [​](https://docs.firecrawl.dev/api-reference/endpoint/search#supported-query-operators) Supported query operators -------------------------------------------------------------------------------------------------------------------- We support a variety of query operators that allow you to filter your searches better. | Operator | Functionality | Examples | | --- | --- | --- | | `""` | Non-fuzzy matches a string of text | `"Firecrawl"` | | `-` | Excludes certain keywords or negates other operators | `-bad`, `-site:firecrawl.dev` | | `site:` | Only returns results from a specified website | `site:firecrawl.dev` | | `inurl:` | Only returns results that include a word in the URL | `inurl:firecrawl` | | `allinurl:` | Only returns results that include multiple words in the URL | `allinurl:git firecrawl` | | `intitle:` | Only returns results that include a word in the title of the page | `intitle:Firecrawl` | | `allintitle:` | Only returns results that include multiple words in the title of the page | `allintitle:firecrawl playground` | | `related:` | Only returns results that are related to a specific domain | `related:firecrawl.dev` | | `imagesize:` | Only returns images with exact dimensions | `imagesize:1920x1080` | | `larger:` | Only returns images larger than specified dimensions | `larger:1920x1080` | [​](https://docs.firecrawl.dev/api-reference/endpoint/search#location-parameter) Location Parameter ------------------------------------------------------------------------------------------------------ Use the `location` parameter to get geo-targeted search results. Format: `"string"`. Examples: `"Germany"`, `"San Francisco,California,United States"`. See the [complete list of supported locations](https://firecrawl.dev/search_locations.json) for all available countries and languages. [​](https://docs.firecrawl.dev/api-reference/endpoint/search#country-parameter) Country Parameter ---------------------------------------------------------------------------------------------------- Use the `country` parameter to specify the country for search results using ISO country codes. Default: `"US"`. Examples: `"US"`, `"DE"`, `"FR"`, `"JP"`, `"UK"`, `"CA"`. Copy Ask AI { "query": "restaurants", "country": "DE" } [​](https://docs.firecrawl.dev/api-reference/endpoint/search#categories-parameter) Categories Parameter ---------------------------------------------------------------------------------------------------------- Filter search results by specific categories using the `categories` parameter: * **`github`**: Search within GitHub repositories, code, issues, and documentation * **`research`**: Search academic and research websites (arXiv, Nature, IEEE, PubMed, etc.) * **`pdf`**: Search for PDFs ### [​](https://docs.firecrawl.dev/api-reference/endpoint/search#example-usage) Example Usage Copy Ask AI { "query": "machine learning", "categories": ["github", "research"], "limit": 10 } ### [​](https://docs.firecrawl.dev/api-reference/endpoint/search#category-response) Category Response Each result includes a `category` field indicating its source: Copy Ask AI { "success": true, "data": { "web": [\ {\ "url": "https://github.com/example/ml-project",\ "title": "Machine Learning Project",\ "description": "Implementation of ML algorithms",\ "category": "github"\ },\ {\ "url": "https://arxiv.org/abs/2024.12345",\ "title": "ML Research Paper",\ "description": "Latest advances in machine learning",\ "category": "research"\ }\ ] } } [​](https://docs.firecrawl.dev/api-reference/endpoint/search#time-based-search) Time-Based Search ---------------------------------------------------------------------------------------------------- Use the `tbs` parameter to filter results by time periods, including custom date ranges. See the [Search Feature documentation](https://docs.firecrawl.dev/features/search#time-based-search) for detailed examples and supported formats. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/search#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/endpoint/search#body-query) query string required The search query [​](https://docs.firecrawl.dev/api-reference/endpoint/search#body-limit) limit integer default:5 Maximum number of results to return Required range: `1 <= x <= 100` [​](https://docs.firecrawl.dev/api-reference/endpoint/search#body-sources) sources (Web · object | Images · object | News · object)\[\] Sources to search. Will determine the arrays available in the response. Defaults to \['web'\]. * Web * Images * News Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/search#body-categories) categories (GitHub · object | Research · object | PDF · object)\[\] Categories to filter results by. Defaults to \[\], which means results will not be filtered by any categories. * GitHub * Research * PDF Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/search#body-tbs) tbs string Time-based search parameter. Supports predefined time ranges (`qdr:h`, `qdr:d`, `qdr:w`, `qdr:m`, `qdr:y`) and custom date ranges (`cdr:1,cd_min:MM/DD/YYYY,cd_max:MM/DD/YYYY`) [​](https://docs.firecrawl.dev/api-reference/endpoint/search#body-location) location string Location parameter for search results (e.g. `San Francisco,California,United States`). For best results, set both this and the `country` parameter. [​](https://docs.firecrawl.dev/api-reference/endpoint/search#body-country) country string default:US ISO country code for geo-targeting search results (e.g. `US`). For best results, set both this and the `location` parameter. [​](https://docs.firecrawl.dev/api-reference/endpoint/search#body-timeout) timeout integer default:60000 Timeout in milliseconds [​](https://docs.firecrawl.dev/api-reference/endpoint/search#body-ignore-invalid-urls) ignoreInvalidURLs boolean default:false Excludes URLs from the search results that are invalid for other Firecrawl endpoints. This helps reduce errors if you are piping data from search into other Firecrawl API endpoints. [​](https://docs.firecrawl.dev/api-reference/endpoint/search#body-scrape-options) scrapeOptions object Options for scraping search results Show child attributes #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/search#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/endpoint/search#response-data) data object The search results. The arrays available will depend on the sources you specified in the request. By default, the `web` array will be returned. Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/search#response-warning-one-of-0) warning string | null Warning message if any issues occurred [​](https://docs.firecrawl.dev/api-reference/endpoint/search#response-id) id string The ID of the search job [​](https://docs.firecrawl.dev/api-reference/endpoint/search#response-credits-used) creditsUsed integer The number of credits used for the search [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/search.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/search) [Get Batch Scrape Errors\ \ Previous](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) [Map\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/map) ⌘I --- # Running locally | Firecrawl [Skip to main content](https://docs.firecrawl.dev/contributing/guide#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Contributing Running locally [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Running the project locally](https://docs.firecrawl.dev/contributing/guide#running-the-project-locally) * [Installing dependencies](https://docs.firecrawl.dev/contributing/guide#installing-dependencies) * [Running the project](https://docs.firecrawl.dev/contributing/guide#running-the-project) * [Terminal 1 - setting up redis](https://docs.firecrawl.dev/contributing/guide#terminal-1-setting-up-redis) * [Terminal 2 - setting up the service](https://docs.firecrawl.dev/contributing/guide#terminal-2-setting-up-the-service) * [Terminal 3 - sending our first request.](https://docs.firecrawl.dev/contributing/guide#terminal-3-sending-our-first-request) * [Alternative: Using Docker Compose](https://docs.firecrawl.dev/contributing/guide#alternative%3A-using-docker-compose) * [Tests:](https://docs.firecrawl.dev/contributing/guide#tests%3A) Welcome to [Firecrawl](https://firecrawl.dev/) 🔥! Here are some instructions on how to get the project locally, so you can run it on your own (and contribute) If you’re contributing, note that the process is similar to other open source repos i.e. (fork firecrawl, make changes, run tests, PR). If you have any questions, and would like help gettin on board, reach out to [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#87efe2ebf7c7e1eef5e2e4f5e6f0eba9e4e8ea) for more or submit an issue! [​](https://docs.firecrawl.dev/contributing/guide#running-the-project-locally) Running the project locally ------------------------------------------------------------------------------------------------------------- First, start by installing dependencies: 1. node.js [instructions](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs) 2. pnpm [instructions](https://pnpm.io/installation) 3. redis [instructions](https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/) 4. postgresql 5. Docker (optional) (for running postgres) You need to set up the PostgreSQL database by running the SQL file at `apps/nuq-postgres/nuq.sql`. Easiest way is to use the docker image inside `apps/nuq-postgres`. With Docker running, build the image: Copy Ask AI docker build -t nuq-postgres . and then run: Copy Ask AI docker run --name nuqdb \ -e POSTGRES_PASSWORD=postgres \ -p 5433:5432 \ -v nuq-data:/var/lib/postgresql/data \ -d nuq-postgres Set environment variables in a .env in the /apps/api/ directory you can copy over the template in .env.example. To start, we wont set up authentication, or any optional sub services (pdf parsing, JS blocking support, AI features ) .env: Copy Ask AI # ===== Required ENVS ====== NUM_WORKERS_PER_QUEUE=8 PORT=3002 HOST=0.0.0.0 REDIS_URL=redis://localhost:6379 REDIS_RATE_LIMIT_URL=redis://localhost:6379 ## To turn on DB authentication, you need to set up supabase. USE_DB_AUTHENTICATION=false ## Using the PostgreSQL for queuing -- change if credentials, host, or DB is different NUQ_DATABASE_URL=postgres://postgres:postgres@localhost:5433/postgres # ===== Optional ENVS ====== # Supabase Setup (used to support DB authentication, advanced logging, etc.) SUPABASE_ANON_TOKEN= SUPABASE_URL= SUPABASE_SERVICE_TOKEN= # Other Optionals TEST_API_KEY= # use if you've set up authentication and want to test with a real API key OPENAI_API_KEY= # add for LLM dependednt features (image alt generation, etc.) BULL_AUTH_KEY= @ PLAYWRIGHT_MICROSERVICE_URL= # set if you'd like to run a playwright fallback LLAMAPARSE_API_KEY= #Set if you have a llamaparse key you'd like to use to parse pdfs SLACK_WEBHOOK_URL= # set if you'd like to send slack server health status messages POSTHOG_API_KEY= # set if you'd like to send posthog events like job logs POSTHOG_HOST= # set if you'd like to send posthog events like job logs ### [​](https://docs.firecrawl.dev/contributing/guide#installing-dependencies) Installing dependencies First, install the dependencies using pnpm. Copy Ask AI # cd apps/api # to make sure you're in the right folder pnpm install # make sure you have pnpm version 9+! ### [​](https://docs.firecrawl.dev/contributing/guide#running-the-project) Running the project You’re going to need to open 3 terminals. ### [​](https://docs.firecrawl.dev/contributing/guide#terminal-1-setting-up-redis) Terminal 1 - setting up redis Run the command anywhere within your project Copy Ask AI redis-server ### [​](https://docs.firecrawl.dev/contributing/guide#terminal-2-setting-up-the-service) Terminal 2 - setting up the service Now, navigate to the apps/api/ directory and run: Copy Ask AI pnpm start # if you are going to use the [llm-extract feature](https://github.com/firecrawl/firecrawl/pull/586/), you should also export OPENAI_API_KEY=sk-______ This will start the workers who are responsible for processing crawl jobs. ### [​](https://docs.firecrawl.dev/contributing/guide#terminal-3-sending-our-first-request) Terminal 3 - sending our first request. Alright: now let’s send our first request. Copy Ask AI curl -X GET http://localhost:3002/test This should return the response Hello, world! If you’d like to test the crawl endpoint, you can run this Copy Ask AI curl -X POST http://localhost:3002/v1/crawl \ -H 'Content-Type: application/json' \ -d '{ "url": "https://mendable.ai" }' ### [​](https://docs.firecrawl.dev/contributing/guide#alternative:-using-docker-compose) Alternative: Using Docker Compose For a simpler setup, you can use Docker Compose to run all services: 1. Prerequisites: Make sure you have Docker and Docker Compose installed 2. Copy the `.env.example` file to `.env` in the `/apps/api/` directory and configure as needed 3. From the root directory, run: Copy Ask AI docker compose up This will start Redis, the API server, and workers automatically in the correct configuration. [​](https://docs.firecrawl.dev/contributing/guide#tests:) Tests: ------------------------------------------------------------------- The best way to do this is run the test with `npm run test:snips`. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/contributing/guide.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/contributing/guide) [Open Source vs Cloud\ \ Previous](https://docs.firecrawl.dev/contributing/open-source-or-cloud) [Self-hosting\ \ Next](https://docs.firecrawl.dev/contributing/self-host) ⌘I --- # Get Crawl Errors - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Get Crawl Errors [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Get the errors of a crawl job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/crawl/{id}/errors \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "errors": [\ {\ "id": "",\ "timestamp": "",\ "url": "",\ "error": ""\ }\ ], "robotsBlocked": [\ ""\ ] } GET / crawl / {id} / errors Try it Get the errors of a crawl job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/crawl/{id}/errors \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "errors": [\ {\ "id": "",\ "timestamp": "",\ "url": "",\ "error": ""\ }\ ], "robotsBlocked": [\ ""\ ] } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors#parameter-id) id string required The ID of the crawl job #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors#response-errors) errors object\[\] Errored scrape jobs and error details Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors#response-robots-blocked) robotsBlocked string\[\] List of URLs that were attempted in scraping but were blocked by robots.txt [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/crawl-get-errors.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/crawl-get-errors) [Cancel Crawl\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) [Get Active Crawls\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ⌘I --- # Get Active Crawls - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Get Active Crawls [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Get all active crawls for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/crawl/active \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "success": true, "crawls": [\ {\ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",\ "teamId": "",\ "url": "",\ "options": {\ "scrapeOptions": {\ "onlyMainContent": true,\ "includeTags": [\ ""\ ],\ "excludeTags": [\ ""\ ],\ "maxAge": 0,\ "headers": {},\ "waitFor": 0,\ "mobile": false,\ "skipTlsVerification": false,\ "timeout": 30000,\ "parsePDF": true,\ "jsonOptions": {\ "schema": {},\ "systemPrompt": "",\ "prompt": ""\ },\ "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ],\ "location": {\ "country": "US",\ "languages": [\ "en-US"\ ]\ },\ "removeBase64Images": true,\ "blockAds": true,\ "proxy": "basic",\ "storeInCache": true,\ "formats": [\ "markdown"\ ],\ "changeTrackingOptions": {\ "modes": [\ "git-diff"\ ],\ "schema": {},\ "prompt": "",\ "tag": null\ }\ }\ }\ }\ ] } GET / crawl / active Try it Get all active crawls for the authenticated team cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/crawl/active \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "success": true, "crawls": [\ {\ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",\ "teamId": "",\ "url": "",\ "options": {\ "scrapeOptions": {\ "onlyMainContent": true,\ "includeTags": [\ ""\ ],\ "excludeTags": [\ ""\ ],\ "maxAge": 0,\ "headers": {},\ "waitFor": 0,\ "mobile": false,\ "skipTlsVerification": false,\ "timeout": 30000,\ "parsePDF": true,\ "jsonOptions": {\ "schema": {},\ "systemPrompt": "",\ "prompt": ""\ },\ "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ],\ "location": {\ "country": "US",\ "languages": [\ "en-US"\ ]\ },\ "removeBase64Images": true,\ "blockAds": true,\ "proxy": "basic",\ "storeInCache": true,\ "formats": [\ "markdown"\ ],\ "changeTrackingOptions": {\ "modes": [\ "git-diff"\ ],\ "schema": {},\ "prompt": "",\ "tag": null\ }\ }\ }\ }\ ] } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active#response-success) success boolean required Example: `true` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active#response-crawls) crawls object\[\] Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/crawl-active.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/crawl-active) [Get Crawl Errors\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) [Map\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ⌘I --- # Scrape - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/endpoint/scrape#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Scrape Endpoints Scrape [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) Scrape a single URL and optionally extract information using an LLM cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/scrape \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "formats": [\ "markdown"\ ], "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 172800000, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": true, "timeout": 30000, "parsers": [\ "pdf"\ ], "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "auto", "storeInCache": true, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "data": { "markdown": "", "summary": "", "html": "", "rawHtml": "", "screenshot": "", "links": [\ ""\ ], "actions": { "screenshots": [\ ""\ ], "scrapes": [\ {\ "url": "",\ "html": ""\ }\ ], "javascriptReturns": [\ {\ "type": "",\ "value": ""\ }\ ], "pdfs": [\ ""\ ] }, "metadata": { "title": "", "description": "", "language": "", "sourceURL": "", "keywords": "", "ogLocaleAlternate": [\ ""\ ], " ": "", "statusCode": 123, "error": "" }, "warning": "", "changeTracking": { "previousScrapeAt": "2023-11-07T05:31:56Z", "changeStatus": "new", "visibility": "visible", "diff": "", "json": {} }, "branding": {} } } POST / scrape Try it Scrape a single URL and optionally extract information using an LLM cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v2/scrape \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "formats": [\ "markdown"\ ], "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 172800000, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": true, "timeout": 30000, "parsers": [\ "pdf"\ ], "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "auto", "storeInCache": true, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "data": { "markdown": "", "summary": "", "html": "", "rawHtml": "", "screenshot": "", "links": [\ ""\ ], "actions": { "screenshots": [\ ""\ ], "scrapes": [\ {\ "url": "",\ "html": ""\ }\ ], "javascriptReturns": [\ {\ "type": "",\ "value": ""\ }\ ], "pdfs": [\ ""\ ] }, "metadata": { "title": "", "description": "", "language": "", "sourceURL": "", "keywords": "", "ogLocaleAlternate": [\ ""\ ], " ": "", "statusCode": 123, "error": "" }, "warning": "", "changeTracking": { "previousScrapeAt": "2023-11-07T05:31:56Z", "changeStatus": "new", "visibility": "visible", "diff": "", "json": {} }, "branding": {} } } [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#what%E2%80%99s-new-in-v2) What’s New in v2 ---------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#new-formats) New Formats * `"summary"` - Get a concise summary of the page content * JSON extraction now uses object format: `{ type: "json", prompt, schema }` * Screenshot format now uses object format: `{ type: "screenshot", fullPage, quality, viewport }` * `"images"` - Extract all image URLs from the page * `"branding"` - Extract brand identity including colors, fonts, typography, spacing, and UI components ### [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#key-improvements) Key Improvements * **Faster by default**: Requests are cached with `maxAge` defaulting to 2 days * **Sensible defaults**: `blockAds`, `skipTlsVerification`, and `removeBase64Images` are enabled by default * **Enhanced screenshot options**: Full control over screenshot parameters using object format [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#browser-actions) Browser Actions ------------------------------------------------------------------------------------------------ You can perform browser interactions before scraping by using the `actions` parameter. This allows you to: * Wait for elements to load * Click buttons or links * Fill form fields * Press keys * Scroll pages * Take screenshots * Execute custom JavaScript * Generate PDFs Supported actions include `wait`, `click`, `write`, `press`, `scroll`, `screenshot`, `scrape`, `executeJavascript`, and `pdf`. For detailed documentation with examples, see the [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide#actions-actions) . #### Authorizations [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-url) url string required The URL to scrape [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-formats) formats (Markdown · object | Summary · object | HTML · object | Raw HTML · object | Links · object | Images · object | Screenshot · object | JSON · object | Change Tracking · object | Branding · object)\[\] Output formats to include in the response. You can specify one or more formats, either as strings (e.g., `'markdown'`) or as objects with additional options (e.g., `{ type: 'json', schema: {...} }`). Some formats require specific options to be set. Example: `['markdown', { type: 'json', schema: {...} }]`. * Markdown * Summary * HTML * Raw HTML * Links * Images * Screenshot * JSON * Change Tracking * Branding Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-only-main-content) onlyMainContent boolean default:true Only return the main content of the page excluding headers, navs, footers, etc. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-include-tags) includeTags string\[\] Tags to include in the output. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-exclude-tags) excludeTags string\[\] Tags to exclude from the output. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-max-age) maxAge integer default:172800000 Returns a cached version of the page if it is younger than this age in milliseconds. If a cached version of the page is older than this value, the page will be scraped. If you do not need extremely fresh data, enabling this can speed up your scrapes by 500%. Defaults to 2 days. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-headers) headers object Headers to send with the request. Can be used to send cookies, user-agent, etc. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-wait-for) waitFor integer default:0 Specify a delay in milliseconds before fetching the content, allowing the page sufficient time to load. This waiting time is in addition to Firecrawl's smart wait feature. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-mobile) mobile boolean default:false Set to true if you want to emulate scraping from a mobile device. Useful for testing responsive pages and taking mobile screenshots. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-skip-tls-verification) skipTlsVerification boolean default:true Skip TLS certificate verification when making requests. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-timeout) timeout integer default:30000 Timeout in milliseconds for the request. Default is 30000 (30 seconds). Maximum is 300000 (300 seconds). Required range: `x <= 300000` [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-parsers) parsers object\[\] Controls how files are processed during scraping. When "pdf" is included (default), the PDF content is extracted and converted to markdown format, with billing based on the number of pages (1 credit per page). When an empty array is passed, the PDF file is returned in base64 encoding with a flat rate of 1 credit for the entire PDF. Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-actions) actions (Wait · object | Screenshot · object | Click · object | Write text · object | Press a key · object | Scroll · object | Scrape · object | Execute JavaScript · object | Generate PDF · object)\[\] Actions to perform on the page before grabbing the content * Wait * Screenshot * Click * Write text * Press a key * Scroll * Scrape * Execute JavaScript * Generate PDF Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-location) location object Location settings for the request. When specified, this will use an appropriate proxy if available and emulate the corresponding language and timezone settings. Defaults to 'US' if not specified. Show child attributes [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-remove-base64-images) removeBase64Images boolean default:true Removes all base 64 images from the output, which may be overwhelmingly long. The image's alt text remains in the output, but the URL is replaced with a placeholder. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-block-ads) blockAds boolean default:true Enables ad-blocking and cookie popup blocking. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-proxy) proxy enum default:auto Specifies the type of proxy to use. * basic: Proxies for scraping sites with none to basic anti-bot solutions. Fast and usually works. * stealth: Stealth proxies for scraping sites with advanced anti-bot solutions. Slower, but more reliable on certain sites. Costs up to 5 credits per request. * auto: Firecrawl will automatically retry scraping with stealth proxies if the basic proxy fails. If the retry with stealth is successful, 5 credits will be billed for the scrape. If the first attempt with basic is successful, only the regular cost will be billed. Available options: `basic`, `stealth`, `auto` [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-store-in-cache) storeInCache boolean default:true If true, the page will be stored in the Firecrawl index and cache. Setting this to false is useful if your scraping activity may have data protection concerns. Using some parameters associated with sensitive scraping (e.g. actions, headers) will force this parameter to be false. [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#body-zero-data-retention) zeroDataRetention boolean default:false If true, this will enable zero data retention for this scrape. To enable this feature, please contact [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#e38b868f93a3858a9186809182948fcd878695) #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/endpoint/scrape#response-data) data object Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/endpoint/scrape.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/endpoint/scrape) [Introduction\ \ Previous](https://docs.firecrawl.dev/api-reference/v2-introduction) [Batch Scrape\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) ⌘I --- # Agente - Firecrawl Docs [Saltar al contenido principal](https://docs.firecrawl.dev/es/api-reference/endpoint/agent#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![ES](https://d3gk2c5xim1je2.cloudfront.net/flags/ES.svg) Español Buscar... ⌘KAsk AI Buscar... Navigation Endpoints del agente Agente [Documentación](https://docs.firecrawl.dev/es/introduction) [SDKs](https://docs.firecrawl.dev/es/sdks/overview) [Integraciones](https://www.firecrawl.dev/app) [Referencia de la API](https://docs.firecrawl.dev/es/api-reference/v2-introduction) * [Entorno de pruebas](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Comunidad](https://discord.gg/gSmWdAkdwd) * [Registro de cambios](https://firecrawl.dev/changelog) ##### Uso de la API * [Introducción](https://docs.firecrawl.dev/es/api-reference/v2-introduction) ##### Endpoints de scraping * [POST\ \ Scrape](https://docs.firecrawl.dev/es/api-reference/endpoint/scrape) * [POST\ \ Raspado en lote](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape) * [GET\ \ Obtener el estado de la captura por lotes](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancelar extracción en lote](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Obtener errores de raspado por lotes](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape-get-errors) ##### Endpoints de búsqueda * [POST\ \ Búsqueda](https://docs.firecrawl.dev/es/api-reference/endpoint/search) ##### Endpoints de mapeo * [POST\ \ Mapear](https://docs.firecrawl.dev/es/api-reference/endpoint/map) ##### Endpoints de rastreo * [POST\ \ Crawl](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-post) * [GET\ \ Obtener el estado del rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-get) * [POST\ \ Vista previa de parámetros de rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancelar rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-delete) * [GET\ \ Obtener errores del rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-get-errors) * [GET\ \ Obtener rastreos activos](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-active) ##### Endpoints del agente * [POST\ \ Agente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent) * [GET\ \ Obtener el estado del agente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get) * [DEL\ \ Cancelar agente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-delete) ##### Endpoints de extracción * [POST\ \ Extraer](https://docs.firecrawl.dev/es/api-reference/endpoint/extract) * [GET\ \ Obtener el estado de extracción](https://docs.firecrawl.dev/es/api-reference/endpoint/extract-get) ##### Endpoints de cuenta * [GET\ \ Uso de créditos](https://docs.firecrawl.dev/es/api-reference/endpoint/credit-usage) * [GET\ \ Uso histórico de créditos](https://docs.firecrawl.dev/es/api-reference/endpoint/credit-usage-historical) * [GET\ \ Uso de tokens](https://docs.firecrawl.dev/es/api-reference/endpoint/token-usage) * [GET\ \ Uso histórico de tokens](https://docs.firecrawl.dev/es/api-reference/endpoint/token-usage-historical) * [GET\ \ Estado de la cola](https://docs.firecrawl.dev/es/api-reference/endpoint/queue-status) Inicia una tarea de agente para la extracción de datos mediante agentes cURL Copiar Preguntar a la IA curl --request POST \ --url https://api.firecrawl.dev/v2/agent \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "prompt": "", "urls": [\ ""\ ], "schema": {}, "maxCredits": 123, "strictConstrainToURLs": true, "model": "spark-1-mini" } ' 200 402 429 Copiar Preguntar a la IA { "success": true, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } POST / agent Pruébalo Inicia una tarea de agente para la extracción de datos mediante agentes cURL Copiar Preguntar a la IA curl --request POST \ --url https://api.firecrawl.dev/v2/agent \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "prompt": "", "urls": [\ ""\ ], "schema": {}, "maxCredits": 123, "strictConstrainToURLs": true, "model": "spark-1-mini" } ' 200 402 429 Copiar Preguntar a la IA { "success": true, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } #### Autorizaciones [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent#authorization-authorization) Authorization string header requerido Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Cuerpo application/json [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent#body-prompt) prompt string requerido El prompt que describe los datos que se van a extraer Maximum string length: `10000` [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent#body-urls) urls string\[\] Lista opcional de URLs a las que se limitará el agente [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent#body-schema) schema object Esquema JSON opcional para estructurar los datos extraídos [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent#body-max-credits) maxCredits number Límite máximo de créditos para esta tarea del agente [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent#body-strict-constrain-to-urls) strictConstrainToURLs boolean Si es true, el agente solo visitará las URL proporcionadas en el array urls [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent#body-model) model enum predeterminado:spark-1-mini El modelo que utilizará el agente para la tarea. spark-1-mini (predeterminado) es un 60 % más barato; spark-1-pro ofrece mayor precisión para tareas complejas. Opciones disponibles: `spark-1-mini`, `spark-1-pro` #### Respuesta 200 application/json La tarea del agente se inició correctamente [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent#response-success) success boolean [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent#response-id) id string [Sugerir cambios](https://github.com/firecrawl/firecrawl-docs/edit/main/es/api-reference/endpoint/agent.mdx) [Reportar problema](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/es/api-reference/endpoint/agent) [Obtener rastreos activos\ \ Anterior](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-active) [Obtener el estado del agente\ \ Siguiente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get) ⌘I --- # Extract - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Extract Endpoints Extract [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Extract structured data from pages using LLMs cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/extract \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "urls": [\ ""\ ], "prompt": "", "schema": {}, "enableWebSearch": false, "ignoreSitemap": false, "includeSubdomains": true, "showSources": false, "scrapeOptions": { "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 0, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": false, "timeout": 30000, "parsePDF": true, "jsonOptions": { "schema": {}, "systemPrompt": "", "prompt": "" }, "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "basic", "storeInCache": true, "formats": [\ "markdown"\ ], "changeTrackingOptions": { "modes": [\ "git-diff"\ ], "schema": {}, "prompt": "", "tag": null } }, "ignoreInvalidURLs": false } ' 200 400 500 Copy Ask AI { "success": true, "id": "", "invalidURLs": [\ ""\ ] } POST / extract Try it Extract structured data from pages using LLMs cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/extract \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "urls": [\ ""\ ], "prompt": "", "schema": {}, "enableWebSearch": false, "ignoreSitemap": false, "includeSubdomains": true, "showSources": false, "scrapeOptions": { "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 0, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": false, "timeout": 30000, "parsePDF": true, "jsonOptions": { "schema": {}, "systemPrompt": "", "prompt": "" }, "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "basic", "storeInCache": true, "formats": [\ "markdown"\ ], "changeTrackingOptions": { "modes": [\ "git-diff"\ ], "schema": {}, "prompt": "", "tag": null } }, "ignoreInvalidURLs": false } ' 200 400 500 Copy Ask AI { "success": true, "id": "", "invalidURLs": [\ ""\ ] } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/extract) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#body-urls) urls string\[\] required The URLs to extract data from. URLs should be in glob format. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#body-prompt) prompt string Prompt to guide the extraction process [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#body-schema) schema object Schema to define the structure of the extracted data. Must conform to [JSON Schema](https://json-schema.org/) . [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#body-enable-web-search) enableWebSearch boolean default:false When true, the extraction will use web search to find additional data [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#body-ignore-sitemap) ignoreSitemap boolean default:false When true, sitemap.xml files will be ignored during website scanning [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#body-include-subdomains) includeSubdomains boolean default:true When true, subdomains of the provided URLs will also be scanned [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#body-show-sources) showSources boolean default:false When true, the sources used to extract the data will be included in the response as `sources` key [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#body-scrape-options) scrapeOptions object Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#body-ignore-invalid-urls) ignoreInvalidURLs boolean default:false If invalid URLs are specified in the urls array, they will be ignored. Instead of them failing the entire request, an extract using the remaining valid URLs will be performed, and the invalid URLs will be returned in the invalidURLs field of the response. #### Response 200 application/json Successful extraction [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#response-id) id string [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract#response-invalid-urls-one-of-0) invalidURLs string\[\] | null If ignoreInvalidURLs is true, this is an array containing the invalid URLs that were specified in the request. If there were no invalid URLs, this will be an empty array. If ignoreInvalidURLs is false, this field will be undefined. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/extract.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/extract) [Search\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) [Get Extract Status\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ⌘I --- # Agente de IA FIRE-1 (Beta) | Firecrawl [Saltar al contenido principal](https://docs.firecrawl.dev/es/agents/fire-1#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![ES](https://d3gk2c5xim1je2.cloudfront.net/flags/ES.svg) Español Buscar... ⌘KAsk AI Buscar... Navigation Funciones de agente Agente FIRE-1 (Beta) [Documentación](https://docs.firecrawl.dev/es/introduction) [SDKs](https://docs.firecrawl.dev/es/sdks/overview) [Integraciones](https://www.firecrawl.dev/app) [Referencia de la API](https://docs.firecrawl.dev/es/v1/api-reference/introduction) * [Entorno de pruebas](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Comunidad](https://discord.gg/gSmWdAkdwd) * [Registro de cambios](https://firecrawl.dev/changelog) ##### Primeros pasos * [Guía rápida](https://docs.firecrawl.dev/es/introduction) * [Servidor MCP](https://docs.firecrawl.dev/es/mcp-server) * [Migración de v1 a v2](https://docs.firecrawl.dev/es/migrate-to-v2) * [Límites de tasa](https://docs.firecrawl.dev/es/rate-limits) * [Guía avanzada de scraping](https://docs.firecrawl.dev/es/advanced-scraping-guide) ##### Novedades * Agente ##### Características estándar * Extracción * [Rastrear](https://docs.firecrawl.dev/es/features/crawl) * [Mapa](https://docs.firecrawl.dev/es/features/map) * [Búsqueda](https://docs.firecrawl.dev/es/features/search) ##### Funciones de agente * [Extracción](https://docs.firecrawl.dev/es/features/extract) * [FIRE-1 (Beta)](https://docs.firecrawl.dev/es/agents/fire-1) ##### Webhooks * [Descripción general](https://docs.firecrawl.dev/es/webhooks/overview) * [Tipos de eventos](https://docs.firecrawl.dev/es/webhooks/events) * [Seguridad](https://docs.firecrawl.dev/es/webhooks/security) * [Pruebas](https://docs.firecrawl.dev/es/webhooks/testing) ##### Cómo contribuir * [Código abierto vs nube](https://docs.firecrawl.dev/es/contributing/open-source-or-cloud) * [Ejecución local](https://docs.firecrawl.dev/es/contributing/guide) * [Alojamiento propio](https://docs.firecrawl.dev/es/contributing/self-host) En esta página * [Qué puede hacer FIRE-1:](https://docs.firecrawl.dev/es/agents/fire-1#qu%C3%A9-puede-hacer-fire-1%3A) * [Cómo usar FIRE-1](https://docs.firecrawl.dev/es/agents/fire-1#c%C3%B3mo-usar-fire-1) * [Facturación](https://docs.firecrawl.dev/es/agents/fire-1#facturaci%C3%B3n) * [Límites de tasa](https://docs.firecrawl.dev/es/agents/fire-1#l%C3%ADmites-de-tasa) FIRE-1 es un agente de IA que potencia las capacidades de scraping de Firecrawl. Puede controlar acciones del navegador y navegar por estructuras web complejas para permitir una extracción de datos más completa, más allá de los métodos tradicionales de scraping. ### [​](https://docs.firecrawl.dev/es/agents/fire-1#qu%C3%A9-puede-hacer-fire-1:) Qué puede hacer FIRE-1: * Planificar y realizar acciones para descubrir datos * Interactuar con botones, enlaces, campos de entrada y elementos dinámicos. * Obtener varias páginas de datos que requieren paginación, varios pasos, etc. [​](https://docs.firecrawl.dev/es/agents/fire-1#c%C3%B3mo-usar-fire-1) Cómo usar FIRE-1 ------------------------------------------------------------------------------------------ Puedes usar el agente FIRE-1 con el endpoint `/v1/extract` para tareas de extracción complejas que requieren navegar por múltiples páginas o interactuar con elementos. **Ejemplo:** Node curl Copiar Preguntar a la IA import FirecrawlApp, { ExtractResponse } from '@mendable/firecrawl-js'; const app = new FirecrawlApp({apiKey: "fc-YOUR_API_KEY"}); // Extrae de un sitio web usando un esquema y un prompt: const extractResult = await app.extract(['https://example-forum.com/topic/123'], { prompt: "Extrae todos los comentarios de usuario de este hilo del foro.", schema: { type: "object", properties: { comments: { type: "array", items: { type: "object", properties: { author: {type: "string"}, comment_text: {type: "string"} }, required: ["author", "comment_text"] } } }, required: ["comments"] }, agent: { model: 'FIRE-1' } }) as ExtractResponse; if (!extractResult.success) { throw new Error(`No se pudo extraer: ${extractResult.error}`) } console.log(extractResult) [​](https://docs.firecrawl.dev/es/agents/fire-1#facturaci%C3%B3n) Facturación -------------------------------------------------------------------------------- El costo de usar FIRE-1 es no determinista. Consulta nuestra [calculadora de créditos](https://www.firecrawl.dev/extract-calculator) para conocer el costo base de cada solicitud de Extract. **¿Por qué FIRE-1 es más costoso?** FIRE-1 utiliza automatización avanzada del navegador y planificación con IA para interactuar con páginas web complejas, lo que requiere más recursos de computación que la extracción estándar. [​](https://docs.firecrawl.dev/es/agents/fire-1#l%C3%ADmites-de-tasa) Límites de tasa ---------------------------------------------------------------------------------------- * `/extract`: 10 solicitudes por minuto [Sugerir cambios](https://github.com/firecrawl/firecrawl-docs/edit/main/es/agents/fire-1.mdx) [Reportar problema](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/es/agents/fire-1) [Extracción\ \ Anterior](https://docs.firecrawl.dev/es/features/extract) [Descripción general\ \ Siguiente](https://docs.firecrawl.dev/es/webhooks/overview) ⌘I --- # Scrape - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Scrape Endpoints Scrape [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Scrape a single URL and optionally extract information using an LLM cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/scrape \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 0, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": false, "timeout": 30000, "parsePDF": true, "jsonOptions": { "schema": {}, "systemPrompt": "", "prompt": "" }, "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "basic", "storeInCache": true, "formats": [\ "markdown"\ ], "changeTrackingOptions": { "modes": [\ "git-diff"\ ], "schema": {}, "prompt": "", "tag": null }, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "data": { "markdown": "", "html": "", "rawHtml": "", "screenshot": "", "links": [\ ""\ ], "actions": { "screenshots": [\ ""\ ], "scrapes": [\ {\ "url": "",\ "html": ""\ }\ ], "javascriptReturns": [\ {\ "type": "",\ "value": ""\ }\ ], "pdfs": [\ ""\ ] }, "metadata": { "title": "", "description": "", "language": "", "sourceURL": "", "keywords": "", "ogLocaleAlternate": [\ ""\ ], " ": "", "statusCode": 123, "error": "" }, "llm_extraction": {}, "warning": "", "changeTracking": { "previousScrapeAt": "2023-11-07T05:31:56Z", "changeStatus": "new", "visibility": "visible", "diff": "", "json": {} } } } POST / scrape Try it Scrape a single URL and optionally extract information using an LLM cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/scrape \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "url": "", "onlyMainContent": true, "includeTags": [\ ""\ ], "excludeTags": [\ ""\ ], "maxAge": 0, "headers": {}, "waitFor": 0, "mobile": false, "skipTlsVerification": false, "timeout": 30000, "parsePDF": true, "jsonOptions": { "schema": {}, "systemPrompt": "", "prompt": "" }, "actions": [\ {\ "type": "wait",\ "milliseconds": 2,\ "selector": "#my-element"\ }\ ], "location": { "country": "US", "languages": [\ "en-US"\ ] }, "removeBase64Images": true, "blockAds": true, "proxy": "basic", "storeInCache": true, "formats": [\ "markdown"\ ], "changeTrackingOptions": { "modes": [\ "git-diff"\ ], "schema": {}, "prompt": "", "tag": null }, "zeroDataRetention": false } ' 200 402 429 500 Copy Ask AI { "success": true, "data": { "markdown": "", "html": "", "rawHtml": "", "screenshot": "", "links": [\ ""\ ], "actions": { "screenshots": [\ ""\ ], "scrapes": [\ {\ "url": "",\ "html": ""\ }\ ], "javascriptReturns": [\ {\ "type": "",\ "value": ""\ }\ ], "pdfs": [\ ""\ ] }, "metadata": { "title": "", "description": "", "language": "", "sourceURL": "", "keywords": "", "ogLocaleAlternate": [\ ""\ ], " ": "", "statusCode": 123, "error": "" }, "llm_extraction": {}, "warning": "", "changeTracking": { "previousScrapeAt": "2023-11-07T05:31:56Z", "changeStatus": "new", "visibility": "visible", "diff": "", "json": {} } } } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/scrape) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-url) url string required The URL to scrape [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-only-main-content) onlyMainContent boolean default:true Only return the main content of the page excluding headers, navs, footers, etc. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-include-tags) includeTags string\[\] Tags to include in the output. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-exclude-tags) excludeTags string\[\] Tags to exclude from the output. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-max-age) maxAge integer default:0 Returns a cached version of the page if it is younger than this age in milliseconds. If a cached version of the page is older than this value, the page will be scraped. If you do not need extremely fresh data, enabling this can speed up your scrapes by 500%. Defaults to 0, which disables caching. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-headers) headers object Headers to send with the request. Can be used to send cookies, user-agent, etc. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-wait-for) waitFor integer default:0 Specify a delay in milliseconds before fetching the content, allowing the page sufficient time to load. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-mobile) mobile boolean default:false Set to true if you want to emulate scraping from a mobile device. Useful for testing responsive pages and taking mobile screenshots. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-skip-tls-verification) skipTlsVerification boolean default:false Skip TLS certificate verification when making requests [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-timeout) timeout integer default:30000 Timeout in milliseconds for the request [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-parse-pdf) parsePDF boolean default:true Controls how PDF files are processed during scraping. When true, the PDF content is extracted and converted to markdown format, with billing based on the number of pages (1 credit per page). When false, the PDF file is returned in base64 encoding with a flat rate of 1 credit total. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-json-options) jsonOptions object JSON options object Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-actions) actions (Wait · object | Screenshot · object | Click · object | Write text · object | Press a key · object | Scroll · object | Scrape · object | Execute JavaScript · object | Generate PDF · object)\[\] Actions to perform on the page before grabbing the content * Wait * Screenshot * Click * Write text * Press a key * Scroll * Scrape * Execute JavaScript * Generate PDF Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-location) location object Location settings for the request. When specified, this will use an appropriate proxy if available and emulate the corresponding language and timezone settings. Defaults to 'US' if not specified. Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-remove-base64-images) removeBase64Images boolean default:true Removes all base 64 images from the output, which may be overwhelmingly long. The image's alt text remains in the output, but the URL is replaced with a placeholder. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-block-ads) blockAds boolean default:true Enables ad-blocking and cookie popup blocking. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-proxy) proxy enum Specifies the type of proxy to use. * basic: Proxies for scraping sites with none to basic anti-bot solutions. Fast and usually works. * stealth: Stealth proxies for scraping sites with advanced anti-bot solutions. Slower, but more reliable on certain sites. Costs up to 5 credits per request. * auto: Firecrawl will automatically retry scraping with stealth proxies if the basic proxy fails. If the retry with stealth is successful, 5 credits will be billed for the scrape. If the first attempt with basic is successful, only the regular cost will be billed. If you do not specify a proxy, Firecrawl will default to basic. Available options: `basic`, `stealth`, `auto` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-store-in-cache) storeInCache boolean default:true If true, the page will be stored in the Firecrawl index and cache. Setting this to false is useful if your scraping activity may have data protection concerns. Using some parameters associated with sensitive scraping (actions, headers) will force this parameter to be false. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-formats) formats enum\[\] Formats to include in the output. Available options: `markdown`, `html`, `rawHtml`, `links`, `screenshot`, `screenshot@fullPage`, `json`, `changeTracking` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-change-tracking-options) changeTrackingOptions object Options for change tracking (Beta). Only applicable when 'changeTracking' is included in formats. The 'markdown' format must also be specified when using change tracking. Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#body-zero-data-retention) zeroDataRetention boolean default:false If true, this will enable zero data retention for this scrape. To enable this feature, please contact [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#d2bab7bea292b4bba0b7b1a0b3a5befcb6b7a4) #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape#response-data) data object Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/scrape.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/scrape) [Introduction\ \ Previous](https://docs.firecrawl.dev/v1/api-reference/introduction) [Batch Scrape\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) ⌘I --- # Get Crawl Status - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Crawl Endpoints Get Crawl Status [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Get the status of a crawl job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/crawl/{id} \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "status": "", "total": 123, "completed": 123, "creditsUsed": 123, "expiresAt": "2023-11-07T05:31:56Z", "next": "", "data": [\ {\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "language": "",\ "sourceURL": "",\ "keywords": "",\ "ogLocaleAlternate": [\ ""\ ],\ " ": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ] } GET / crawl / {id} Try it Get the status of a crawl job cURL Copy Ask AI curl --request GET \ --url https://api.firecrawl.dev/v1/crawl/{id} \ --header 'Authorization: Bearer ' 200 402 429 500 Copy Ask AI { "status": "", "total": 123, "completed": 123, "creditsUsed": 123, "expiresAt": "2023-11-07T05:31:56Z", "next": "", "data": [\ {\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "language": "",\ "sourceURL": "",\ "keywords": "",\ "ogLocaleAlternate": [\ ""\ ],\ " ": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ] } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) > is now available with improved features and performance. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Path Parameters [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get#parameter-id) id string required The ID of the crawl job #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get#response-status) status string The current status of the crawl. Can be `scraping`, `completed`, or `failed`. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get#response-total) total integer The total number of pages that were attempted to be crawled. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get#response-completed) completed integer The number of pages that have been successfully crawled. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get#response-credits-used) creditsUsed integer The number of credits used for the crawl. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get#response-expires-at) expiresAt string The date and time when the crawl will expire. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get#response-next-one-of-0) next string | null The URL to retrieve the next 10MB of data. Returned if the crawl is not completed or if the response is larger than 10MB. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get#response-data) data object\[\] The data of the crawl. Show child attributes [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/crawl-get.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/crawl-get) [Crawl\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) [Cancel Crawl\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) ⌘I --- # Search - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Search Endpoints Search [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/v1/api-reference/introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/v1/api-reference/introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/v1-endpoint/crawl-active) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/v1-endpoint/search) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/v1-endpoint/queue-status) Search and optionally scrape search results cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/search \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "query": "", "limit": 5, "tbs": "", "location": "", "timeout": 60000, "ignoreInvalidURLs": false, "scrapeOptions": {} } ' 200 408 500 Copy Ask AI { "success": true, "data": [\ {\ "title": "",\ "description": "",\ "url": "",\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "sourceURL": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ], "warning": "", "id": "" } POST / search Try it Search and optionally scrape search results cURL Copy Ask AI curl --request POST \ --url https://api.firecrawl.dev/v1/search \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "query": "", "limit": 5, "tbs": "", "location": "", "timeout": 60000, "ignoreInvalidURLs": false, "scrapeOptions": {} } ' 200 408 500 Copy Ask AI { "success": true, "data": [\ {\ "title": "",\ "description": "",\ "url": "",\ "markdown": "",\ "html": "",\ "rawHtml": "",\ "links": [\ ""\ ],\ "screenshot": "",\ "metadata": {\ "title": "",\ "description": "",\ "sourceURL": "",\ "statusCode": 123,\ "error": ""\ }\ }\ ], "warning": "", "id": "" } > Note: A new [v2 version of this API](https://docs.firecrawl.dev/api-reference/endpoint/search) > is now available with improved features and performance. The search endpoint combines web search with Firecrawl’s scraping capabilities to return full page content for any query. Include `scrapeOptions` with `formats: ["markdown"]` to get complete markdown content for each search result otherwise you will default to getting the results (url, title, description). [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#supported-query-operators) Supported query operators ----------------------------------------------------------------------------------------------------------------------- We support a variety of query operators that allow you to filter your searches better. | Operator | Functionality | Examples | | --- | --- | --- | | `""` | Non-fuzzy matches a string of text | `"Firecrawl"` | | `-` | Excludes certain keywords or negates other operators | `-bad`, `-site:firecrawl.dev` | | `site:` | Only returns results from a specified website | `site:firecrawl.dev` | | `inurl:` | Only returns results that include a word in the URL | `inurl:firecrawl` | | `allinurl:` | Only returns results that include multiple words in the URL | `allinurl:git firecrawl` | | `intitle:` | Only returns results that include a word in the title of the page | `intitle:Firecrawl` | | `allintitle:` | Only returns results that include multiple words in the title of the page | `allintitle:firecrawl playground` | | `related:` | Only returns results that are related to a specific domain | `related:firecrawl.dev` | [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#location-parameter) Location Parameter --------------------------------------------------------------------------------------------------------- Use the `location` parameter to get geo-targeted search results. Format: `"string"`. Examples: `"Germany"`, `"San Francisco,California,United States"`. See the [complete list of supported locations](https://firecrawl.dev/search_locations.json) for all available countries and languages. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#time-based-search) Time-Based Search ------------------------------------------------------------------------------------------------------- Use the `tbs` parameter to filter results by time periods, including custom date ranges. See the [Search Feature documentation](https://docs.firecrawl.dev/features/search#time-based-search) for detailed examples and supported formats. #### Authorizations [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#authorization-authorization) Authorization string header required Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Body application/json [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#body-query) query string required The search query [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#body-limit) limit integer default:5 Maximum number of results to return Required range: `1 <= x <= 100` [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#body-tbs) tbs string Time-based search parameter. Supports predefined time ranges (`qdr:h`, `qdr:d`, `qdr:w`, `qdr:m`, `qdr:y`) and custom date ranges (`cdr:1,cd_min:MM/DD/YYYY,cd_max:MM/DD/YYYY`) [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#body-location) location string Location parameter for search results [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#body-timeout) timeout integer default:60000 Timeout in milliseconds [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#body-ignore-invalid-urls) ignoreInvalidURLs boolean default:false Excludes URLs from the search results that are invalid for other Firecrawl endpoints. This helps reduce errors if you are piping data from search into other Firecrawl API endpoints. [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#body-scrape-options) scrapeOptions object Options for scraping search results Show child attributes #### Response 200 application/json Successful response [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#response-success) success boolean [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#response-data) data object\[\] Show child attributes [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#response-warning-one-of-0) warning string | null Warning message if any issues occurred [​](https://docs.firecrawl.dev/api-reference/v1-endpoint/search#response-id) id string The ID of the search job [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v1-endpoint/search.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v1-endpoint/search) [Map\ \ Previous](https://docs.firecrawl.dev/api-reference/v1-endpoint/map) [Extract\ \ Next](https://docs.firecrawl.dev/api-reference/v1-endpoint/extract) ⌘I --- # Firecrawl + Make - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Workflow Automation Firecrawl + Make [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * [Firecrawl + n8n](https://docs.firecrawl.dev/developer-guides/workflow-automation/n8n) * [Firecrawl + Zapier](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier) * [Firecrawl + Make](https://docs.firecrawl.dev/developer-guides/workflow-automation/make) * [Firecrawl + Dify](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify) * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Make Integration Overview](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#make-integration-overview) * [Firecrawl Modules in Make](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#firecrawl-modules-in-make) * [Popular App Integrations](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#popular-app-integrations) * [Common Workflow Patterns](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#common-workflow-patterns) * [Getting Started](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#getting-started) * [Firecrawl Actions Overview](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#firecrawl-actions-overview) * [Best Practices](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#best-practices) * [Industry Use Cases](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#industry-use-cases) * [Make vs Zapier vs n8n](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#make-vs-zapier-vs-n8n) **Official Make Integration:** [make.com/en/integrations/firecrawl](https://www.make.com/en/integrations/firecrawl) Connect with 3,000+ apps • Visual workflow builder • Enterprise-grade automation • AI-powered scenarios [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#make-integration-overview) Make Integration Overview -------------------------------------------------------------------------------------------------------------------------------- Make (formerly Integromat) provides a verified, officially supported Firecrawl integration maintained by Mendable. Visual Workflow Builder ----------------------- Design complex automations with Make’s intuitive visual interface Enterprise Ready ---------------- Scale securely with enterprise-grade automation and controls [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#firecrawl-modules-in-make) Firecrawl Modules in Make -------------------------------------------------------------------------------------------------------------------------------- Actions (7 modules) ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#crawl-a-website) Crawl a Website Crawl a URL and get its content from multiple pages * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#extract-a-website) Extract a Website Extract structured data from pages using LLMs * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#scrape-a-website) Scrape a Website Scrape a URL and get its content from a single page * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#map-a-website) Map a Website Map multiple URLs based on options * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#search-a-website) Search a Website Web search with Firecrawl’s scraping capabilities * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#get-crawl-status) Get Crawl Status Get the status of a given crawl event ID * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#get-extract-status) Get Extract Status Get the status of a given extraction event ID Search (1 module) ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#search-a-website-2) Search a Website Full-page content retrieval for any search query Advanced ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#make-an-api-call) Make an API Call Perform arbitrary authorized API calls for custom use cases [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#popular-app-integrations) Popular App Integrations ------------------------------------------------------------------------------------------------------------------------------ * Data Storage * Communication * CRM & Sales * AI Tools **Google Sheets** - Track and log scraped data in spreadsheets**Airtable** - Build structured databases with scraped content**Google Drive** - Store scraped files and reports**Notion** - Organize research and web data **Slack** - Get alerts for website changes and updates**Telegram Bot** - Instant notifications for monitoring**Gmail** - Email reports and digests**Microsoft 365 Email** - Enterprise email automation **HubSpot CRM** - Enrich leads with web data**monday.com** - Track competitor intelligence**ClickUp** - Manage research tasks **OpenAI (ChatGPT, DALL-E)** - Analyze and summarize scraped content**Google Gemini AI** - Process and extract insights**Perplexity AI** - Enhanced research workflows**Make AI Agents** - Build adaptive AI-powered automations [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#common-workflow-patterns) Common Workflow Patterns ------------------------------------------------------------------------------------------------------------------------------ Competitor Monitoring --------------------- **Schedule** → Firecrawl (Scrape) → Google Sheets (Log) → Slack (Alert)Track competitor websites and get instant notifications Lead Enrichment --------------- **Google Forms** → Firecrawl (Scrape company site) → HubSpot CRM (Update)Automatically enrich leads with company data Content Aggregation ------------------- **Schedule** → Firecrawl (Crawl blog) → OpenAI (Summarize) → Gmail (Send digest)Automated content curation and distribution Price Monitoring ---------------- **Schedule (Hourly)** → Firecrawl (Scrape) → Filter → Telegram (Alert)Real-time price tracking and alerts [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#getting-started) Getting Started ------------------------------------------------------------------------------------------------------------ 1 Sign up for Firecrawl Get your API key at [firecrawl.dev](https://firecrawl.dev/) 2 Create a Scenario in Make Log into [Make](https://make.com/) and click “Create a new scenario” 3 Add Firecrawl Module Search for “Firecrawl” and select your desired action 4 Connect with API Key Add your Firecrawl API key to authenticate 5 Configure & Test Set up your workflow parameters and run a test [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#firecrawl-actions-overview) Firecrawl Actions Overview ---------------------------------------------------------------------------------------------------------------------------------- | Module | Use Case | Best For | | --- | --- | --- | | **Scrape a Website** | Single-page data extraction | Quick data capture | | **Crawl a Website** | Multi-page content collection | Full site scraping | | **Extract a Website** | AI-powered structured extraction | Complex data needs | | **Search a Website** | Search + full content | Research automation | | **Map a Website** | URL discovery | SEO analysis | [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#best-practices) Best Practices ---------------------------------------------------------------------------------------------------------- Performance ----------- * Use **Scrape** for single pages (fastest) * Use **Crawl** with limits for large sites * Schedule appropriately to avoid rate limits * Add error handling modules Cost Optimization ----------------- * Schedule strategically (hourly/daily/weekly) * Use filters to prevent unnecessary runs * Set crawl limits to control API usage * Test in Firecrawl playground first [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#industry-use-cases) Industry Use Cases ------------------------------------------------------------------------------------------------------------------ E-commerce * Competitor price monitoring * Product availability tracking * Review aggregation and analysis * Inventory level monitoring Real Estate * Listing aggregation from multiple sources * Market trend analysis * Property data enrichment * Competitive pricing intelligence Marketing * Competitor content monitoring * SEO performance tracking * Backlink analysis * Social media mention tracking Finance * Market data collection * News and sentiment aggregation * Regulatory filing monitoring * Stock price tracking HR & Recruitment * Job posting aggregation * Company research automation * Candidate background enrichment * Salary benchmarking [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/make#make-vs-zapier-vs-n8n) Make vs Zapier vs n8n ------------------------------------------------------------------------------------------------------------------------ | Feature | Make | Zapier | n8n | | --- | --- | --- | --- | | **Setup** | Visual builder, cloud | No-code, cloud | Self-hosted or cloud | | **Pricing** | Operations-based | Per-task pricing | Flat monthly | | **Integrations** | 3,000+ apps | 8,000+ apps | 400+ integrations | | **Complexity** | Advanced workflows | Simple workflows | Complex workflows | | **Best For** | Visual automation, mid-complexity | Quick automation | Developer control | | **Learning Curve** | Moderate | Easy | Moderate-Advanced | **Pro Tip:** Make excels at visual workflow design and complex automations. Perfect for teams that need more control than Zapier but prefer visual building over n8n’s code-first approach. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/workflow-automation/make.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/workflow-automation/make) [Firecrawl + Zapier\ \ Previous](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier) [Firecrawl + Dify\ \ Next](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify) ⌘I --- # Obtener el estado del agente - Firecrawl Docs [Saltar al contenido principal](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![ES](https://d3gk2c5xim1je2.cloudfront.net/flags/ES.svg) Español Buscar... ⌘KAsk AI Buscar... Navigation Endpoints del agente Obtener el estado del agente [Documentación](https://docs.firecrawl.dev/es/introduction) [SDKs](https://docs.firecrawl.dev/es/sdks/overview) [Integraciones](https://www.firecrawl.dev/app) [Referencia de la API](https://docs.firecrawl.dev/es/api-reference/v2-introduction) * [Entorno de pruebas](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Comunidad](https://discord.gg/gSmWdAkdwd) * [Registro de cambios](https://firecrawl.dev/changelog) ##### Uso de la API * [Introducción](https://docs.firecrawl.dev/es/api-reference/v2-introduction) ##### Endpoints de scraping * [POST\ \ Scrape](https://docs.firecrawl.dev/es/api-reference/endpoint/scrape) * [POST\ \ Raspado en lote](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape) * [GET\ \ Obtener el estado de la captura por lotes](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancelar extracción en lote](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Obtener errores de raspado por lotes](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape-get-errors) ##### Endpoints de búsqueda * [POST\ \ Búsqueda](https://docs.firecrawl.dev/es/api-reference/endpoint/search) ##### Endpoints de mapeo * [POST\ \ Mapear](https://docs.firecrawl.dev/es/api-reference/endpoint/map) ##### Endpoints de rastreo * [POST\ \ Crawl](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-post) * [GET\ \ Obtener el estado del rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-get) * [POST\ \ Vista previa de parámetros de rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancelar rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-delete) * [GET\ \ Obtener errores del rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-get-errors) * [GET\ \ Obtener rastreos activos](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-active) ##### Endpoints del agente * [POST\ \ Agente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent) * [GET\ \ Obtener el estado del agente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get) * [DEL\ \ Cancelar agente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-delete) ##### Endpoints de extracción * [POST\ \ Extraer](https://docs.firecrawl.dev/es/api-reference/endpoint/extract) * [GET\ \ Obtener el estado de extracción](https://docs.firecrawl.dev/es/api-reference/endpoint/extract-get) ##### Endpoints de cuenta * [GET\ \ Uso de créditos](https://docs.firecrawl.dev/es/api-reference/endpoint/credit-usage) * [GET\ \ Uso histórico de créditos](https://docs.firecrawl.dev/es/api-reference/endpoint/credit-usage-historical) * [GET\ \ Uso de tokens](https://docs.firecrawl.dev/es/api-reference/endpoint/token-usage) * [GET\ \ Uso histórico de tokens](https://docs.firecrawl.dev/es/api-reference/endpoint/token-usage-historical) * [GET\ \ Estado de la cola](https://docs.firecrawl.dev/es/api-reference/endpoint/queue-status) Obtener el estado de una tarea de agente cURL Copiar Preguntar a la IA curl --request GET \ --url https://api.firecrawl.dev/v2/agent/{jobId} \ --header 'Authorization: Bearer ' 200 Copiar Preguntar a la IA { "success": true, "status": "processing", "data": {}, "error": "", "expiresAt": "2023-11-07T05:31:56Z", "creditsUsed": 123 } GET / agent / {jobId} Pruébalo Obtener el estado de una tarea de agente cURL Copiar Preguntar a la IA curl --request GET \ --url https://api.firecrawl.dev/v2/agent/{jobId} \ --header 'Authorization: Bearer ' 200 Copiar Preguntar a la IA { "success": true, "status": "processing", "data": {}, "error": "", "expiresAt": "2023-11-07T05:31:56Z", "creditsUsed": 123 } #### Autorizaciones [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get#authorization-authorization) Authorization string header requerido Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Parámetros de ruta [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get#parameter-job-id) jobId string requerido El ID de la tarea del agente #### Respuesta 200 - application/json Respuesta correcta [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get#response-success) success boolean [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get#response-status) status enum Opciones disponibles: `processing`, `completed`, `failed` [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get#response-data) data object Los datos extraídos (solo disponibles cuando el estado es "completed") [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get#response-error) error string Mensaje de error (solo presente cuando el estado es `failed`) [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get#response-expires-at) expiresAt string [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get#response-credits-used) creditsUsed number [Sugerir cambios](https://github.com/firecrawl/firecrawl-docs/edit/main/es/api-reference/endpoint/agent-get.mdx) [Reportar problema](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/es/api-reference/endpoint/agent-get) [Agente\ \ Anterior](https://docs.firecrawl.dev/es/api-reference/endpoint/agent) [Cancelar agente\ \ Siguiente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-delete) ⌘I --- # Cancelar agente - Firecrawl Docs [Saltar al contenido principal](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-delete#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![ES](https://d3gk2c5xim1je2.cloudfront.net/flags/ES.svg) Español Buscar... ⌘KAsk AI Buscar... Navigation Endpoints del agente Cancelar agente [Documentación](https://docs.firecrawl.dev/es/introduction) [SDKs](https://docs.firecrawl.dev/es/sdks/overview) [Integraciones](https://www.firecrawl.dev/app) [Referencia de la API](https://docs.firecrawl.dev/es/api-reference/v2-introduction) * [Entorno de pruebas](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Comunidad](https://discord.gg/gSmWdAkdwd) * [Registro de cambios](https://firecrawl.dev/changelog) ##### Uso de la API * [Introducción](https://docs.firecrawl.dev/es/api-reference/v2-introduction) ##### Endpoints de scraping * [POST\ \ Scrape](https://docs.firecrawl.dev/es/api-reference/endpoint/scrape) * [POST\ \ Raspado en lote](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape) * [GET\ \ Obtener el estado de la captura por lotes](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancelar extracción en lote](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Obtener errores de raspado por lotes](https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape-get-errors) ##### Endpoints de búsqueda * [POST\ \ Búsqueda](https://docs.firecrawl.dev/es/api-reference/endpoint/search) ##### Endpoints de mapeo * [POST\ \ Mapear](https://docs.firecrawl.dev/es/api-reference/endpoint/map) ##### Endpoints de rastreo * [POST\ \ Crawl](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-post) * [GET\ \ Obtener el estado del rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-get) * [POST\ \ Vista previa de parámetros de rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancelar rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-delete) * [GET\ \ Obtener errores del rastreo](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-get-errors) * [GET\ \ Obtener rastreos activos](https://docs.firecrawl.dev/es/api-reference/endpoint/crawl-active) ##### Endpoints del agente * [POST\ \ Agente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent) * [GET\ \ Obtener el estado del agente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get) * [DEL\ \ Cancelar agente](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-delete) ##### Endpoints de extracción * [POST\ \ Extraer](https://docs.firecrawl.dev/es/api-reference/endpoint/extract) * [GET\ \ Obtener el estado de extracción](https://docs.firecrawl.dev/es/api-reference/endpoint/extract-get) ##### Endpoints de cuenta * [GET\ \ Uso de créditos](https://docs.firecrawl.dev/es/api-reference/endpoint/credit-usage) * [GET\ \ Uso histórico de créditos](https://docs.firecrawl.dev/es/api-reference/endpoint/credit-usage-historical) * [GET\ \ Uso de tokens](https://docs.firecrawl.dev/es/api-reference/endpoint/token-usage) * [GET\ \ Uso histórico de tokens](https://docs.firecrawl.dev/es/api-reference/endpoint/token-usage-historical) * [GET\ \ Estado de la cola](https://docs.firecrawl.dev/es/api-reference/endpoint/queue-status) Cancelar una tarea del agente cURL Copiar Preguntar a la IA curl --request DELETE \ --url https://api.firecrawl.dev/v2/agent/{jobId} \ --header 'Authorization: Bearer ' 200 Copiar Preguntar a la IA { "success": true } DELETE / agent / {jobId} Pruébalo Cancelar una tarea del agente cURL Copiar Preguntar a la IA curl --request DELETE \ --url https://api.firecrawl.dev/v2/agent/{jobId} \ --header 'Authorization: Bearer ' 200 Copiar Preguntar a la IA { "success": true } #### Autorizaciones [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-delete#authorization-authorization) Authorization string header requerido Bearer authentication header of the form `Bearer `, where `` is your auth token. #### Parámetros de ruta [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-delete#parameter-job-id) jobId string requerido El ID de la tarea del agente #### Respuesta 200 - application/json Tarea del agente cancelada correctamente [​](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-delete#response-success) success boolean [Sugerir cambios](https://github.com/firecrawl/firecrawl-docs/edit/main/es/api-reference/endpoint/agent-delete.mdx) [Reportar problema](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/es/api-reference/endpoint/agent-delete) [Obtener el estado del agente\ \ Anterior](https://docs.firecrawl.dev/es/api-reference/endpoint/agent-get) [Extraer\ \ Siguiente](https://docs.firecrawl.dev/es/api-reference/endpoint/extract) ⌘I --- # Introduction - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/api-reference/v2-introduction#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Using the API Introduction [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Using the API * [Introduction](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Scrape Endpoints * [POST\ \ Scrape](https://docs.firecrawl.dev/api-reference/endpoint/scrape) * [POST\ \ Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape) * [GET\ \ Get Batch Scrape Status](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get) * [DEL\ \ Cancel Batch Scrape](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-delete) * [GET\ \ Get Batch Scrape Errors](https://docs.firecrawl.dev/api-reference/endpoint/batch-scrape-get-errors) ##### Search Endpoints * [POST\ \ Search](https://docs.firecrawl.dev/api-reference/endpoint/search) ##### Map Endpoints * [POST\ \ Map](https://docs.firecrawl.dev/api-reference/endpoint/map) ##### Crawl Endpoints * [POST\ \ Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) * [GET\ \ Get Crawl Status](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get) * [POST\ \ Crawl Params Preview](https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview) * [DEL\ \ Cancel Crawl](https://docs.firecrawl.dev/api-reference/endpoint/crawl-delete) * [GET\ \ Get Crawl Errors](https://docs.firecrawl.dev/api-reference/endpoint/crawl-get-errors) * [GET\ \ Get Active Crawls](https://docs.firecrawl.dev/api-reference/endpoint/crawl-active) ##### Agent Endpoints * [POST\ \ Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent) * [GET\ \ Get Agent Status](https://docs.firecrawl.dev/api-reference/endpoint/agent-get) * [DEL\ \ Cancel Agent](https://docs.firecrawl.dev/api-reference/endpoint/agent-delete) ##### Extract Endpoints * [POST\ \ Extract](https://docs.firecrawl.dev/api-reference/endpoint/extract) * [GET\ \ Get Extract Status](https://docs.firecrawl.dev/api-reference/endpoint/extract-get) ##### Account Endpoints * [GET\ \ Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage) * [GET\ \ Historical Credit Usage](https://docs.firecrawl.dev/api-reference/endpoint/credit-usage-historical) * [GET\ \ Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage) * [GET\ \ Historical Token Usage](https://docs.firecrawl.dev/api-reference/endpoint/token-usage-historical) * [GET\ \ Queue Status](https://docs.firecrawl.dev/api-reference/endpoint/queue-status) On this page * [Features](https://docs.firecrawl.dev/api-reference/v2-introduction#features) * [Agentic Features](https://docs.firecrawl.dev/api-reference/v2-introduction#agentic-features) * [Base URL](https://docs.firecrawl.dev/api-reference/v2-introduction#base-url) * [Authentication](https://docs.firecrawl.dev/api-reference/v2-introduction#authentication) * [Response codes](https://docs.firecrawl.dev/api-reference/v2-introduction#response-codes) * [Rate limit](https://docs.firecrawl.dev/api-reference/v2-introduction#rate-limit) [​](https://docs.firecrawl.dev/api-reference/v2-introduction#features) Features ---------------------------------------------------------------------------------- [Scrape\ ------\ \ Extract content from any webpage in markdown or json format.](https://docs.firecrawl.dev/api-reference/endpoint/scrape) [Crawl\ -----\ \ Crawl entire websites, extract their content and metadata.](https://docs.firecrawl.dev/api-reference/endpoint/crawl-post) [Map\ ---\ \ Get a complete list of URLs from any website quickly and reliably.](https://docs.firecrawl.dev/api-reference/endpoint/map) [Search\ ------\ \ Search the web and get full page content in any format.](https://docs.firecrawl.dev/api-reference/endpoint/search) [​](https://docs.firecrawl.dev/api-reference/v2-introduction#agentic-features) Agentic Features -------------------------------------------------------------------------------------------------- [Extract\ -------\ \ Extract structured data from entire webpages using natural language.](https://docs.firecrawl.dev/api-reference/endpoint/extract) [​](https://docs.firecrawl.dev/api-reference/v2-introduction#base-url) Base URL ---------------------------------------------------------------------------------- All requests contain the following base URL: Copy Ask AI https://api.firecrawl.dev [​](https://docs.firecrawl.dev/api-reference/v2-introduction#authentication) Authentication ---------------------------------------------------------------------------------------------- For authentication, it’s required to include an Authorization header. The header should contain `Bearer fc-123456789`, where `fc-123456789` represents your API Key. Copy Ask AI Authorization: Bearer fc-123456789 ​ [​](https://docs.firecrawl.dev/api-reference/v2-introduction#response-codes) Response codes ---------------------------------------------------------------------------------------------- Firecrawl employs conventional HTTP status codes to signify the outcome of your requests. Typically, 2xx HTTP status codes denote success, 4xx codes represent failures related to the user, and 5xx codes signal infrastructure problems. | Status | Description | | --- | --- | | 200 | Request was successful. | | 400 | Verify the correctness of the parameters. | | 401 | The API key was not provided. | | 402 | Payment required | | 404 | The requested resource could not be located. | | 429 | The rate limit has been surpassed. | | 5xx | Signifies a server error with Firecrawl. | Refer to the Error Codes section for a detailed explanation of all potential API errors. ​ [​](https://docs.firecrawl.dev/api-reference/v2-introduction#rate-limit) Rate limit -------------------------------------------------------------------------------------- The Firecrawl API has a rate limit to ensure the stability and reliability of the service. The rate limit is applied to all endpoints and is based on the number of requests made within a specific time frame. When you exceed the rate limit, you will receive a 429 response code. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/api-reference/v2-introduction.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/v2-introduction) [Scrape\ \ Next](https://docs.firecrawl.dev/api-reference/endpoint/scrape) ⌘I --- # Scraping Etsy - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Common Sites Scraping Etsy [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * [Scraping Amazon](https://docs.firecrawl.dev/developer-guides/common-sites/amazon) * [Scraping Etsy](https://docs.firecrawl.dev/developer-guides/common-sites/etsy) * [Scraping GitHub](https://docs.firecrawl.dev/developer-guides/common-sites/github) * [Scraping Wikipedia](https://docs.firecrawl.dev/developer-guides/common-sites/wikipedia) * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Setup](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#setup) * [Overview](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#overview) * [Scrape with JSON Mode](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#scrape-with-json-mode) * [Search](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#search) * [Scrape](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#scrape) * [Map](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#map) * [Crawl](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#crawl) * [Batch Scrape](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#batch-scrape) Etsy is a global marketplace for unique and creative goods. This guide shows you how to extract product listings, shop information, reviews, and trending items using Firecrawl. [​](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#setup) Setup --------------------------------------------------------------------------------- Copy Ask AI npm install @mendable/firecrawl-js zod [​](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#overview) Overview --------------------------------------------------------------------------------------- When scraping Etsy, you’ll typically want to: * Extract product listings and variations * Get shop information and ratings * Monitor trending items and categories * Track pricing and sales data * Extract customer reviews [​](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#scrape-with-json-mode) Scrape with JSON Mode ----------------------------------------------------------------------------------------------------------------- Extract structured listing data using Zod schemas. Copy Ask AI import FirecrawlApp from '@mendable/firecrawl-js'; import { z } from 'zod'; // Define Zod schema const ListingSchema = z.object({ title: z.string(), price: z.string(), shopName: z.string(), rating: z.number() }); const firecrawl = new FirecrawlApp({ apiKey: process.env.FIRECRAWL_API_KEY }); const result = await firecrawl.scrape('https://www.etsy.com/listing/1844315896/handmade-925-sterling-silver-jewelry-set', { formats: [{\ type: 'json',\ schema: z.toJSONSchema(ListingSchema)\ }], }); // Parse and validate with Zod const jsonData = typeof result.json === 'string' ? JSON.parse(result.json) : result.json; const validated = ListingSchema.parse(jsonData); console.log('✅ Validated listing data:'); console.log(validated); [​](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#search) Search ----------------------------------------------------------------------------------- Find products on Etsy marketplace. Copy Ask AI import FirecrawlApp from '@mendable/firecrawl-js'; const firecrawl = new FirecrawlApp({ apiKey: process.env.FIRECRAWL_API_KEY }); const searchResult = await firecrawl.search('handmade jewelry site:etsy.com', { limit: 10, sources: [{ type: 'web' }], // { type: 'news' }, { type: 'images' } scrapeOptions: { formats: ['markdown'] } }); console.log(searchResult); [​](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#scrape) Scrape ----------------------------------------------------------------------------------- Scrape a single Etsy product listing. Copy Ask AI import FirecrawlApp from '@mendable/firecrawl-js'; const firecrawl = new FirecrawlApp({ apiKey: process.env.FIRECRAWL_API_KEY }); const result = await firecrawl.scrape('https://www.etsy.com/listing/1844315896/handmade-925-sterling-silver-jewelry-set', { formats: ['markdown'], // i.e. html, links, etc. onlyMainContent: true }); console.log(result); [​](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#map) Map ----------------------------------------------------------------------------- Discover all available URLs in an Etsy shop or category. Note: Map returns URLs only, without content. Copy Ask AI import FirecrawlApp from '@mendable/firecrawl-js'; const firecrawl = new FirecrawlApp({ apiKey: process.env.FIRECRAWL_API_KEY }); const mapResult = await firecrawl.map('https://www.etsy.com/shop/YourShopName'); console.log(mapResult.links); // Returns array of URLs without content [​](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#crawl) Crawl --------------------------------------------------------------------------------- Crawl multiple pages from Etsy shop or category. Copy Ask AI import FirecrawlApp from '@mendable/firecrawl-js'; const firecrawl = new FirecrawlApp({ apiKey: process.env.FIRECRAWL_API_KEY }); const crawlResult = await firecrawl.crawl('https://www.etsy.com/c/jewelry', { limit: 10, scrapeOptions: { formats: ['markdown'] } }); console.log(crawlResult.data); [​](https://docs.firecrawl.dev/developer-guides/common-sites/etsy#batch-scrape) Batch Scrape ----------------------------------------------------------------------------------------------- Scrape multiple Etsy listing URLs simultaneously. Copy Ask AI import FirecrawlApp from '@mendable/firecrawl-js'; const firecrawl = new FirecrawlApp({ apiKey: process.env.FIRECRAWL_API_KEY }); // Wait for completion const job = await firecrawl.batchScrape([\ 'https://www.etsy.com/listing/1844315896/handmade-925-sterling-silver-jewelry-set',\ 'https://www.etsy.com/market/handmade_jewelry',\ 'https://www.etsy.com/market/jewelry_handmade'], { options: { formats: ['markdown'] }, pollInterval: 2, timeout: 120 } ); console.log(job.status, job.completed, job.total); console.log(job); [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/common-sites/etsy.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/common-sites/etsy) [Scraping Amazon\ \ Previous](https://docs.firecrawl.dev/developer-guides/common-sites/amazon) [Scraping GitHub\ \ Next](https://docs.firecrawl.dev/developer-guides/common-sites/github) ⌘I --- # MCP Web Search & Scrape in Cursor - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation MCP Setup Guides MCP Web Search & Scrape in Cursor [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * [MCP Web Search & Scrape in ChatGPT](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt) * [MCP Web Search & Scrape in Claude Code](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code) * [MCP Web Search & Scrape in Cursor](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor) * [MCP Web Search & Scrape in Windsurf](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf) * [MCP Web Search & Scrape in Factory AI](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai) * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Quick Setup](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#quick-setup) * [1\. Get Your API Key](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#1-get-your-api-key) * [2\. Add to Cursor](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#2-add-to-cursor) * [3\. Restart Cursor](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#3-restart-cursor) * [Quick Demo](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#quick-demo) Add web scraping and search capabilities to Cursor with Firecrawl MCP. [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#quick-setup) Quick Setup --------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#1-get-your-api-key) 1\. Get Your API Key Sign up at [firecrawl.dev/app](https://firecrawl.dev/app) and copy your API key. ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#2-add-to-cursor) 2\. Add to Cursor Open Settings (`Cmd+,`), search for “MCP”, and add: Copy Ask AI { "mcpServers": { "firecrawl": { "command": "npx", "args": ["-y", "firecrawl-mcp"], "env": { "FIRECRAWL_API_KEY": "your_api_key_here" } } } } Replace `your_api_key_here` with your actual Firecrawl API key. ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#3-restart-cursor) 3\. Restart Cursor Done! You can now search and scrape the web from Cursor. [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor#quick-demo) Quick Demo ------------------------------------------------------------------------------------------------- Try these in Cursor Chat (`Cmd+K`): **Search:** Copy Ask AI Search for TypeScript best practices 2025 **Scrape:** Copy Ask AI Scrape firecrawl.dev and tell me what it does **Get docs:** Copy Ask AI Scrape the React hooks documentation and explain useEffect Cursor will automatically use Firecrawl tools. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/mcp-setup-guides/cursor.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/mcp-setup-guides/cursor) [MCP Web Search & Scrape in Claude Code\ \ Previous](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code) [MCP Web Search & Scrape in Windsurf\ \ Next](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf) ⌘I --- # MCP Web Search & Scrape in Claude Code - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation MCP Setup Guides MCP Web Search & Scrape in Claude Code [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * [MCP Web Search & Scrape in ChatGPT](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt) * [MCP Web Search & Scrape in Claude Code](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code) * [MCP Web Search & Scrape in Cursor](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor) * [MCP Web Search & Scrape in Windsurf](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf) * [MCP Web Search & Scrape in Factory AI](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai) * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Quick Setup](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code#quick-setup) * [1\. Get Your API Key](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code#1-get-your-api-key) * [2\. Add Firecrawl MCP Server](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code#2-add-firecrawl-mcp-server) * [Quick Demo](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code#quick-demo) Add web scraping and search capabilities to Claude Code with Firecrawl MCP. [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code#quick-setup) Quick Setup -------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code#1-get-your-api-key) 1\. Get Your API Key Sign up at [firecrawl.dev/app](https://firecrawl.dev/app) and copy your API key. ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code#2-add-firecrawl-mcp-server) 2\. Add Firecrawl MCP Server Copy Ask AI claude mcp add firecrawl -e FIRECRAWL_API_KEY=your-api-key -- npx -y firecrawl-mcp Replace `your-api-key` with your actual Firecrawl API key. Done! You can now search and scrape the web from Claude Code. [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code#quick-demo) Quick Demo ------------------------------------------------------------------------------------------------------ Try these in Claude Code: **Search the web:** Copy Ask AI Search for the latest Next.js 15 features **Scrape a page:** Copy Ask AI Scrape firecrawl.dev and tell me what it does **Get documentation:** Copy Ask AI Find and scrape the Stripe API docs for payment intents Claude will automatically use Firecrawl’s search and scrape tools to get the information. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/mcp-setup-guides/claude-code.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/mcp-setup-guides/claude-code) [MCP Web Search & Scrape in ChatGPT\ \ Previous](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt) [MCP Web Search & Scrape in Cursor\ \ Next](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor) ⌘I --- # Authenticated Scraping - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Advanced Guides Authenticated Scraping [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides * [Authenticated Scraping](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping) ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Overview](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#overview) * [Setup](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#setup) * [Method 1: Cookie-Based Authentication](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#method-1%3A-cookie-based-authentication) * [Step 1: Extract Cookies from DevTools](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#step-1%3A-extract-cookies-from-devtools) * [Step 2: Use Cookies with Firecrawl](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#step-2%3A-use-cookies-with-firecrawl) * [Best Practices](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#best-practices) * [Troubleshooting](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#troubleshooting) **Important:** Only use authenticated scraping on systems where you have explicit permission from both parties (yourself and the platform owner), such as internal, self-hosted tools or resources you fully control. Do not use authentication on platforms unless you are certain it abides by the site’s Terms and Conditions and get written permission when in doubt. Using session cookies improperly can violate terms of service or laws; always confirm you are authorized to access protected content in this way. [​](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#overview) Overview ------------------------------------------------------------------------------------------------------------ The recommended approach for authenticated scraping is **cookie-based authentication**, where you: 1. Login manually to your application 2. Extract the session cookie from DevTools 3. Use the cookie with Firecrawl to access protected pages **Cookie Expiration Times:** * **Internal tools**: Often 7-30 days or longer * **Other tools**: Often hours or minutes Internal tools typically have longer cookie lifespans, making this method ideal for recurring scraping tasks. * * * [​](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#setup) Setup ------------------------------------------------------------------------------------------------------ 1 Get API Key Get your Firecrawl API key from [firecrawl.dev/app](https://firecrawl.dev/app) 2 Install Dependencies npm Copy Ask AI npm install @mendable/firecrawl-js **Node.js < v20**: If you’re using Node.js version 19 or earlier, you’ll also need to install `dotenv`: Copy Ask AI npm install dotenv And import it with `import 'dotenv/config'` at the top of your file. 3 Configure Environment Create a `.env` file: .env Copy Ask AI FIRECRAWL_API_KEY=your_firecrawl_api_key * * * [​](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#method-1:-cookie-based-authentication) Method 1: Cookie-Based Authentication ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#step-1:-extract-cookies-from-devtools) Step 1: Extract Cookies from DevTools **Demo Application**: You can practice with our demo app at [https://firecrawl-auth.vercel.app](https://firecrawl-auth.vercel.app/) * Email: `[[email protected]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection) ` * Password: `password123` 1 Login to Your Application Navigate to [https://firecrawl-auth.vercel.app](https://firecrawl-auth.vercel.app/) and login with the credentials above 2 Open DevTools Press `F12` or right-click → “Inspect” 3 Navigate to Application Tab Click the **Application** tab (Chrome) or **Storage** tab (Firefox) 4 Find and Copy Cookie 1. Expand **Cookies** in the sidebar 2. Click on your domain 3. Find the `auth-token` cookie 4. Double-click the **Value** and copy it ![DevTools Cookies View](https://mintcdn.com/firecrawl/NR4iESBjjsDFYTef/images/guides/dev-tools-cookie.png?w=2500&fit=max&auto=format&n=NR4iESBjjsDFYTef&q=85&s=316b0b9e399cc8d86f228856ebd1d90a) For the demo app, the cookie looks like: Copy Ask AI auth-token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJleGFtcGxlLXVzZXItaWQiLCJlbWFpbCI6InRlc3RAZXhhbXBsZS5jb20ifQ.example-signature-hash **Important:** Cookies are sensitive credentials. Never share them publicly or commit them to version control. Treat them like passwords. ### [​](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#step-2:-use-cookies-with-firecrawl) Step 2: Use Cookies with Firecrawl Copy Ask AI import FirecrawlApp from "@mendable/firecrawl-js"; const app = new FirecrawlApp({ apiKey: process.env.FIRECRAWL_API_KEY }); const result = await app.scrape("https://firecrawl-auth.vercel.app/dashboard", { formats: ["markdown", "screenshot"], headers: { Cookie: 'auth-token=COOKIE_GOES_HERE' }, waitFor: 3000, // Wait 3 extra seconds for the page to load }); console.log("=== Markdown ===\n" + result.markdown + "\n\n=== Screenshot URL ===\n" + result.screenshot); [​](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#best-practices) Best Practices ------------------------------------------------------------------------------------------------------------------------ Cookie Security --------------- * Store cookies in environment variables * Never commit cookies to git * Rotate cookies regularly * Use `.gitignore` for `.env` files Cookie Expiration ----------------- * Check expiration times in DevTools * Set up alerts before expiration * Re-extract cookies when they expire * Consider using form-based auth for short-lived cookies Rate Limiting ------------- * Respect the application’s rate limits * Add delays between requests * Monitor for 429 (Too Many Requests) errors * Use exponential backoff for retries Error Handling -------------- * Check for 401/403 errors (expired cookies) * Validate response content * Log authentication failures * Have fallback authentication methods * * * [​](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping#troubleshooting) Troubleshooting -------------------------------------------------------------------------------------------------------------------------- Getting 401 Unauthorized Errors **Possible causes:** * Cookie has expired * Cookie was copied incorrectly * Application requires additional headers * Session was invalidated on the server **Solutions:** * Re-extract cookies from DevTools after a fresh login * Check if you need multiple cookies (session + CSRF token) * Verify the cookie domain matches your target URL Cookie Not Working **Check these:** * Is the cookie name correct? * Did you copy the entire cookie value? * Does the cookie have the correct domain? * Is there a `Path` restriction on the cookie? * Are there multiple cookies required? **Pro tip:** Copy all cookies from DevTools and test with all of them, then remove one by one to find which are required. Session Expires Too Quickly **For short-lived sessions:** * Use form-based authentication instead * Automate the login process with actions * Set up a cron job to refresh cookies * Consider requesting longer session times from your internal tool’s admin **Cookie Lifespan for Internal Tools:** Many internal tools set cookies with 7-30 day expiration times, making them ideal for recurring scraping tasks. Check your cookie’s `Expires` field in DevTools to see how long it’s valid. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/advanced-guides/authenticated-scraping.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/advanced-guides/authenticated-scraping) [Firecrawl + Dify\ \ Previous](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify) [Use Cases\ \ Next](https://docs.firecrawl.dev/use-cases/overview) ⌘I --- # MCP Web Search & Scrape in ChatGPT - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation MCP Setup Guides MCP Web Search & Scrape in ChatGPT [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * [MCP Web Search & Scrape in ChatGPT](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt) * [MCP Web Search & Scrape in Claude Code](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code) * [MCP Web Search & Scrape in Cursor](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor) * [MCP Web Search & Scrape in Windsurf](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf) * [MCP Web Search & Scrape in Factory AI](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai) * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Quick Setup](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#quick-setup) * [1\. Get Your API Key](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#1-get-your-api-key) * [2\. Enable Developer Mode](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#2-enable-developer-mode) * [3\. Create the Connector](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#3-create-the-connector) * [4\. Verify Setup](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#4-verify-setup) * [5\. Access Firecrawl Tools](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#5-access-firecrawl-tools) * [Quick Demo](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#quick-demo) * [Tool Confirmation](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#tool-confirmation) MCP support in ChatGPT is currently a beta feature. The interface and availability may change as OpenAI continues development. **Availability:** Developer mode with MCP connectors is not available on the Free tier and requires a paid ChatGPT subscription. Availability and features vary by plan and region. See [OpenAI’s documentation on Developer Mode](https://help.openai.com/en/articles/12584461-developer-mode-apps-and-full-mcp-connectors-in-chatgpt-beta) for current availability and setup instructions. Add web scraping and search capabilities to ChatGPT with Firecrawl MCP. [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#quick-setup) Quick Setup ---------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#1-get-your-api-key) 1\. Get Your API Key Sign up at [firecrawl.dev/app/api-keys](https://www.firecrawl.dev/app/api-keys) and copy your API key. ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#2-enable-developer-mode) 2\. Enable Developer Mode Open ChatGPT settings by clicking your username in the bottom left corner, or navigate directly to [chatgpt.com/#settings](https://chatgpt.com/#settings) . In the settings modal, scroll to the bottom and select **Advanced Settings**. Toggle **Developer mode** to ON. ![ChatGPT settings showing Advanced Settings with Developer mode toggle](https://mintcdn.com/firecrawl/e91Oa3vXXDn3n55i/images/integrations/mcp/chatgpt/enable-developer-mode.gif?s=97d95853a91c99232edecbfac0cef9ee) ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#3-create-the-connector) 3\. Create the Connector With Developer mode enabled, go to the **Apps & Connectors** tab in the same settings modal. Click the **Create** button in the top right corner. ![Apps & Connectors tab with Create button highlighted](https://mintcdn.com/firecrawl/e91Oa3vXXDn3n55i/images/integrations/mcp/chatgpt/apps-connectors-create.png?w=2500&fit=max&auto=format&n=e91Oa3vXXDn3n55i&q=85&s=9c11eea65165965f30cd6c592642f7e1) Fill in the connector details: * **Name:** `Firecrawl MCP` * **Description:** `Web scraping, crawling, search, and content extraction` (optional) * **MCP Server URL:** `https://mcp.firecrawl.dev/YOUR_API_KEY_HERE/v2/mcp` * **Authentication:** `None` Replace `YOUR_API_KEY_HERE` in the URL with your actual [Firecrawl API key](https://www.firecrawl.dev/app/api-keys) . ![New Connector form filled out with Firecrawl MCP details](https://mintcdn.com/firecrawl/e91Oa3vXXDn3n55i/images/integrations/mcp/chatgpt/connector-form-filled.png?w=2500&fit=max&auto=format&n=e91Oa3vXXDn3n55i&q=85&s=05143bbc3ec1e100ff0edcd829f01a1e) Check the **“I understand and want to continue”** checkbox, then click **Create**. ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#4-verify-setup) 4\. Verify Setup Go back to the main ChatGPT interface. You should see **Developer mode** displayed, indicating that MCP connectors are active. If you do not see Developer mode, reload the page. If it still does not appear, open settings again and verify that Developer mode is toggled ON under Advanced Settings. ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#5-access-firecrawl-tools) 5\. Access Firecrawl Tools To use Firecrawl in a conversation, click the **+** button in the chat input, then select **More** and choose **Firecrawl MCP**. ![ChatGPT chat input showing + menu expanded with More submenu and Firecrawl MCP option](https://mintcdn.com/firecrawl/e91Oa3vXXDn3n55i/images/integrations/mcp/chatgpt/select-firecrawl-mcp.png?w=2500&fit=max&auto=format&n=e91Oa3vXXDn3n55i&q=85&s=606e8ba7d423c3f28e8573da76414d50) [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#quick-demo) Quick Demo -------------------------------------------------------------------------------------------------- With Firecrawl MCP selected, try these prompts: **Search:** Copy Ask AI Search for the latest React Server Components updates **Scrape:** Copy Ask AI Scrape firecrawl.dev and tell me what it does **Get docs:** Copy Ask AI Scrape the Vercel documentation for edge functions and summarize it [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt#tool-confirmation) Tool Confirmation ---------------------------------------------------------------------------------------------------------------- When ChatGPT uses the Firecrawl MCP tools, you will see a confirmation prompt asking for your approval. ![ChatGPT tool confirmation dialog showing Firecrawl MCP request](https://mintcdn.com/firecrawl/e91Oa3vXXDn3n55i/images/integrations/mcp/chatgpt/tool-confirmation.png?w=2500&fit=max&auto=format&n=e91Oa3vXXDn3n55i&q=85&s=01674a5b6a268f147999e3073a5d16af) You can check **“Remember for this conversation”** to avoid repeated confirmations during the same chat session. This security measure is implemented by OpenAI to ensure MCP tools do not perform unintended actions. Once confirmed, ChatGPT will execute the request and return the results. ![Example of Firecrawl search results displayed in ChatGPT](https://mintcdn.com/firecrawl/e91Oa3vXXDn3n55i/images/integrations/mcp/chatgpt/search-results-example.png?w=2500&fit=max&auto=format&n=e91Oa3vXXDn3n55i&q=85&s=099913948243a20bb5311a891f3274d8) [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/mcp-setup-guides/chatgpt.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/mcp-setup-guides/chatgpt) [Building a Brand Style Guide Generator with Firecrawl\ \ Previous](https://docs.firecrawl.dev/developer-guides/cookbooks/brand-style-guide-generator-cookbook) [MCP Web Search & Scrape in Claude Code\ \ Next](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code) ⌘I --- # MCP Web Search & Scrape in Factory AI - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation MCP Setup Guides MCP Web Search & Scrape in Factory AI [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * [MCP Web Search & Scrape in ChatGPT](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt) * [MCP Web Search & Scrape in Claude Code](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code) * [MCP Web Search & Scrape in Cursor](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor) * [MCP Web Search & Scrape in Windsurf](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf) * [MCP Web Search & Scrape in Factory AI](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai) * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Quick Setup](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#quick-setup) * [1\. Get Your API Key](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#1-get-your-api-key) * [2\. Install Factory AI CLI](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#2-install-factory-ai-cli) * [3\. Add Firecrawl MCP Server](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#3-add-firecrawl-mcp-server) * [4\. Done!](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#4-done) * [Quick Demo](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#quick-demo) Add web scraping and search capabilities to Factory AI with Firecrawl MCP. [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#quick-setup) Quick Setup ------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#1-get-your-api-key) 1\. Get Your API Key Sign up at [firecrawl.dev/app](https://firecrawl.dev/app) and copy your API key. ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#2-install-factory-ai-cli) 2\. Install Factory AI CLI Install the [Factory AI CLI](https://docs.factory.ai/cli/getting-started/quickstart) if you haven’t already: **macOS/Linux:** Copy Ask AI curl -fsSL https://app.factory.ai/cli | sh **Windows:** Copy Ask AI iwr https://app.factory.ai/cli/install.ps1 -useb | iex ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#3-add-firecrawl-mcp-server) 3\. Add Firecrawl MCP Server In the Factory droid CLI, add Firecrawl using the `/mcp add` command: Copy Ask AI /mcp add firecrawl "npx -y firecrawl-mcp" -e FIRECRAWL_API_KEY=your-api-key-here Replace `your-api-key-here` with your actual Firecrawl API key. ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#4-done) 4\. Done! The Firecrawl tools are now available in your Factory AI session! [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai#quick-demo) Quick Demo ----------------------------------------------------------------------------------------------------- Try these in Factory AI: **Search the web:** Copy Ask AI Search for the latest Next.js 15 features **Scrape a page:** Copy Ask AI Scrape firecrawl.dev and tell me what it does **Get documentation:** Copy Ask AI Find and scrape the Stripe API docs for payment intents Factory will automatically use Firecrawl’s search and scrape tools to get the information. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/mcp-setup-guides/factory-ai.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/mcp-setup-guides/factory-ai) [MCP Web Search & Scrape in Windsurf\ \ Previous](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf) [Scraping Amazon\ \ Next](https://docs.firecrawl.dev/developer-guides/common-sites/amazon) ⌘I --- # Firecrawl + Zapier - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Workflow Automation Firecrawl + Zapier [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * [Firecrawl + n8n](https://docs.firecrawl.dev/developer-guides/workflow-automation/n8n) * [Firecrawl + Zapier](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier) * [Firecrawl + Make](https://docs.firecrawl.dev/developer-guides/workflow-automation/make) * [Firecrawl + Dify](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify) * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Official Blog Post](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#official-blog-post) * [Popular Integrations](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#popular-integrations) * [Firecrawl Actions](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#firecrawl-actions) * [Quick Reference](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#quick-reference) * [Industry Use Cases](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#industry-use-cases) * [Zapier vs n8n](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#zapier-vs-n8n) **Official Zapier Integration:** [zapier.com/apps/firecrawl/integrations](https://zapier.com/apps/firecrawl/integrations) Connect with 8,000+ apps • No-code automation • Pre-built Zap templates • Cloud-based [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#official-blog-post) Official Blog Post -------------------------------------------------------------------------------------------------------------------- [How Zapier uses Firecrawl\ -------------------------\ \ Real-world case study: How Zapier integrated Firecrawl into Zapier Chatbots in a single afternoon.](https://www.firecrawl.dev/blog/how-zapier-uses-firecrawl-to-power-chatbots) [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#popular-integrations) Popular Integrations ------------------------------------------------------------------------------------------------------------------------ Data Storage & Databases ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#google-sheets) Google Sheets → [View Integration](https://zapier.com/apps/google-sheets/integrations/firecrawl) Track competitor data, centralize marketing insights, and automate data collection.**Best For:** Business owners, marketing teams * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#airtable) Airtable → [View Integration](https://zapier.com/apps/airtable/integrations/firecrawl) Build lead generation databases and content aggregation systems with structured storage.**Best For:** Sales teams, project managers * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#zapier-tables) Zapier Tables → [View Integration](https://zapier.com/apps/zapier-tables/integrations/firecrawl) No-code database automation for employee onboarding and centralized lead management.**Best For:** HR teams, operations Communication & Notifications ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#slack) Slack → [View Integration](https://zapier.com/apps/slack/integrations/firecrawl) Get website change notifications, competitor monitoring alerts, and market intelligence updates.**Best For:** Marketing teams, product managers * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#telegram) Telegram → [View Integration](https://zapier.com/apps/telegram/integrations/firecrawl) Instant price alerts, breaking news notifications, and real-time monitoring.**Best For:** Traders, news enthusiasts CRM & Sales ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#hubspot) HubSpot → [View Integration](https://zapier.com/apps/hubspot/integrations/firecrawl) Contact enrichment, lead scoring with web data, and marketing automation.**Best For:** Marketing ops, sales ops * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#pipedrive) Pipedrive → [View Integration](https://zapier.com/apps/pipedrive/integrations/firecrawl) Lead enrichment from websites and competitor intelligence tracking.**Best For:** Sales teams, account executives * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#attio) Attio → [View Integration](https://zapier.com/apps/attio/integrations/firecrawl) Modern CRM data enrichment and relationship intelligence.**Best For:** Modern sales teams Productivity & Documentation ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#google-docs) Google Docs → [View Integration](https://zapier.com/apps/google-docs/integrations/firecrawl) Automated report generation, research documentation, and content aggregation.**Best For:** Researchers, content creators * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#notion) Notion → [View Integration](https://zapier.com/apps/notion/integrations/firecrawl) Knowledge base updates, research library building, and content curation.**Best For:** Product teams, researchers Zapier Native Tools ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#schedule-by-zapier) Schedule by Zapier → [View Integration](https://zapier.com/apps/schedule/integrations/firecrawl) Run hourly, daily, weekly, or monthly scraping automatically. * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#zapier-interfaces) Zapier Interfaces → [View Integration](https://zapier.com/apps/interfaces/integrations/firecrawl) Build custom internal tools with form-based scraping and team dashboards.**Best For:** Operations teams * * * ### [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#zapier-chatbots) Zapier Chatbots → [View Integration](https://zapier.com/apps/zapier-chatbots/integrations/firecrawl) AI chatbots with live web knowledge for customer support and lead generation. Official Zapier product uses Firecrawl internally [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#firecrawl-actions) Firecrawl Actions ------------------------------------------------------------------------------------------------------------------ | Action | Use Case | | --- | --- | | **Scrape URL** | Quick single-page data capture | | **Crawl Website** | Full site scraping with multiple pages | | **Extract Structured Data** | AI-powered extraction with custom schemas | | **Search Web** | Research automation with search + scrape | | **Map Website** | SEO analysis and site structure mapping | [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#quick-reference) Quick Reference -------------------------------------------------------------------------------------------------------------- Getting Started --------------- 1. Sign up at [firecrawl.dev](https://firecrawl.dev/) 2. Get your API key 3. Create a Zap in Zapier 4. Connect Firecrawl with your API key 5. Choose your workflow and activate Best Practices -------------- * Use `/Scrape URL` for single pages (faster) * Schedule strategically (hourly/daily/weekly) * Test in Firecrawl playground first * Add error handling for failed scrapes * Use filters to prevent unnecessary runs [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#industry-use-cases) Industry Use Cases -------------------------------------------------------------------------------------------------------------------- E-commerce * Price monitoring across competitors * Product availability tracking * Review aggregation Real Estate * Listing aggregation * Market trend analysis * Property data collection Marketing * Competitor content tracking * SEO monitoring * Backlink analysis Finance * Market data collection * News aggregation * Regulatory filing monitoring Recruitment * Job posting aggregation * Company research automation * Candidate information enrichment [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier#zapier-vs-n8n) Zapier vs n8n ---------------------------------------------------------------------------------------------------------- | Feature | Zapier | n8n | | --- | --- | --- | | **Setup** | No-code, cloud-based | Self-hosted or cloud | | **Pricing** | Per-task pricing | Flat monthly | | **Integrations** | 8,000+ apps | 400+ integrations | | **Best For** | Quick automation, non-technical users | Custom logic, developers | **Pro Tip:** Start with Zapier’s pre-built templates and customize as needed. Perfect for quick, no-code automation! [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/workflow-automation/zapier.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/workflow-automation/zapier) [Firecrawl + n8n\ \ Previous](https://docs.firecrawl.dev/developer-guides/workflow-automation/n8n) [Firecrawl + Make\ \ Next](https://docs.firecrawl.dev/developer-guides/workflow-automation/make) ⌘I --- # Agent Development Kit (ADK) - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation LLM SDKs and Frameworks Agent Development Kit (ADK) [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * [OpenAI](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/openai) * [Anthropic](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/anthropic) * [Gemini](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/gemini) * [Agent Development Kit (ADK)](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk) * [Vercel AI SDK](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/vercel-ai-sdk) * [LangChain](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/langchain) * [LangGraph](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/langgraph) * [LlamaIndex](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/llamaindex) * [Mastra](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/mastra) * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Overview](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#overview) * [Features](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#features) * [Prerequisites](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#prerequisites) * [Setup](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#setup) * [Available Tools](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#available-tools) * [Configuration](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#configuration) * [Required Configuration](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#required-configuration) * [Optional Configuration](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#optional-configuration) * [Example: Web Research Agent](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#example%3A-web-research-agent) * [Best Practices](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#best-practices) * [Related Resources](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#related-resources) Integrate Firecrawl with Google’s Agent Development Kit (ADK) to build powerful AI agents with web scraping capabilities through the Model Context Protocol (MCP). [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#overview) Overview -------------------------------------------------------------------------------------------------------- Firecrawl provides an MCP server that seamlessly integrates with Google’s ADK, enabling your agents to efficiently scrape, crawl, and extract structured data from any website. The integration supports both cloud-based and self-hosted Firecrawl instances with streamable HTTP for optimal performance. [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#features) Features -------------------------------------------------------------------------------------------------------- * Efficient web scraping, crawling, and content discovery from any website * Advanced search capabilities and intelligent content extraction * Deep research and high-volume batch scraping * Flexible deployment (cloud-based or self-hosted) * Optimized for modern web environments with streamable HTTP support [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#prerequisites) Prerequisites ------------------------------------------------------------------------------------------------------------------ * Obtain an API key for Firecrawl from [firecrawl.dev](https://firecrawl.dev/) * Install Google ADK [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#setup) Setup -------------------------------------------------------------------------------------------------- Remote MCP Server Local MCP Server Copy Ask AI from google.adk.agents.llm_agent import Agent from google.adk.tools.mcp_tool.mcp_session_manager import StreamableHTTPServerParams from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset FIRECRAWL_API_KEY = "YOUR-API-KEY" root_agent = Agent( model="gemini-2.5-pro", name="firecrawl_agent", description='A helpful assistant for scraping websites with Firecrawl', instruction='Help the user search for website content', tools=[\ MCPToolset(\ connection_params=StreamableHTTPServerParams(\ url=f"https://mcp.firecrawl.dev/{FIRECRAWL_API_KEY}/v2/mcp",\ ),\ )\ ], ) [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#available-tools) Available Tools ---------------------------------------------------------------------------------------------------------------------- | Tool | Name | Description | | --- | --- | --- | | Scrape Tool | `firecrawl_scrape` | Scrape content from a single URL with advanced options | | Batch Scrape Tool | `firecrawl_batch_scrape` | Scrape multiple URLs efficiently with built-in rate limiting and parallel processing | | Check Batch Status | `firecrawl_check_batch_status` | Check the status of a batch operation | | Map Tool | `firecrawl_map` | Map a website to discover all indexed URLs on the site | | Search Tool | `firecrawl_search` | Search the web and optionally extract content from search results | | Crawl Tool | `firecrawl_crawl` | Start an asynchronous crawl with advanced options | | Check Crawl Status | `firecrawl_check_crawl_status` | Check the status of a crawl job | | Extract Tool | `firecrawl_extract` | Extract structured information from web pages using LLM capabilities | [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#configuration) Configuration ------------------------------------------------------------------------------------------------------------------ ### [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#required-configuration) Required Configuration **FIRECRAWL\_API\_KEY**: Your Firecrawl API key * Required when using cloud API (default) * Optional when using self-hosted instance with FIRECRAWL\_API\_URL ### [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#optional-configuration) Optional Configuration **Firecrawl API URL (for self-hosted instances)**: * `FIRECRAWL_API_URL`: Custom API endpoint * Example: `https://firecrawl.your-domain.com` * If not provided, the cloud API will be used **Retry configuration**: * `FIRECRAWL_RETRY_MAX_ATTEMPTS`: Maximum retry attempts (default: 3) * `FIRECRAWL_RETRY_INITIAL_DELAY`: Initial delay in milliseconds (default: 1000) * `FIRECRAWL_RETRY_MAX_DELAY`: Maximum delay in milliseconds (default: 10000) * `FIRECRAWL_RETRY_BACKOFF_FACTOR`: Exponential backoff multiplier (default: 2) **Credit usage monitoring**: * `FIRECRAWL_CREDIT_WARNING_THRESHOLD`: Warning threshold (default: 1000) * `FIRECRAWL_CREDIT_CRITICAL_THRESHOLD`: Critical threshold (default: 100) [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#example:-web-research-agent) Example: Web Research Agent ---------------------------------------------------------------------------------------------------------------------------------------------- Copy Ask AI from google.adk.agents.llm_agent import Agent from google.adk.tools.mcp_tool.mcp_session_manager import StreamableHTTPServerParams from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset FIRECRAWL_API_KEY = "YOUR-API-KEY" # Create a research agent research_agent = Agent( model="gemini-2.5-pro", name="research_agent", description='An AI agent that researches topics by scraping and analyzing web content', instruction='''You are a research assistant. When given a topic or question: 1. Use the search tool to find relevant websites 2. Scrape the most relevant pages for detailed information 3. Extract structured data when needed 4. Provide comprehensive, well-sourced answers''', tools=[\ MCPToolset(\ connection_params=StreamableHTTPServerParams(\ url=f"https://mcp.firecrawl.dev/{FIRECRAWL_API_KEY}/v2/mcp",\ ),\ )\ ], ) # Use the agent response = research_agent.run("What are the latest features in Python 3.13?") print(response) [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#best-practices) Best Practices -------------------------------------------------------------------------------------------------------------------- 1. **Use the right tool for the job**: * `firecrawl_search` when you need to find relevant pages first * `firecrawl_scrape` for single pages * `firecrawl_batch_scrape` for multiple known URLs * `firecrawl_crawl` for discovering and scraping entire sites 2. **Monitor your usage**: Configure credit thresholds to avoid unexpected usage 3. **Handle errors gracefully**: Configure retry settings based on your use case 4. **Optimize performance**: Use batch operations when scraping multiple URLs * * * [​](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/google-adk#related-resources) Related Resources -------------------------------------------------------------------------------------------------------------------------- [Comprehensive Guide to Building AI Agents Using Google Agent Development Kit (ADK) and Firecrawl\ ------------------------------------------------------------------------------------------------\ \ Learn how to build powerful multi-agent AI systems using Google’s ADK framework with Firecrawl for web scraping capabilities.](https://www.firecrawl.dev/blog/google-adk-multi-agent-tutorial) [MCP Server Documentation\ ------------------------\ \ Learn more about Firecrawl’s Model Context Protocol (MCP) server integration and capabilities.](https://docs.firecrawl.dev/mcp-server) [Google ADK Official Documentation\ ---------------------------------\ \ Explore the official Google Agent Development Kit documentation for comprehensive guides and API references.](https://google.github.io/adk-docs/) [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/llm-sdks-and-frameworks/google-adk.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/llm-sdks-and-frameworks/google-adk) [Gemini\ \ Previous](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/gemini) [Vercel AI SDK\ \ Next](https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/vercel-ai-sdk) ⌘I --- # Firecrawl + Dify - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Workflow Automation Firecrawl + Dify [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * [Firecrawl + n8n](https://docs.firecrawl.dev/developer-guides/workflow-automation/n8n) * [Firecrawl + Zapier](https://docs.firecrawl.dev/developer-guides/workflow-automation/zapier) * [Firecrawl + Make](https://docs.firecrawl.dev/developer-guides/workflow-automation/make) * [Firecrawl + Dify](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify) * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Dify Integration Overview](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#dify-integration-overview) * [Firecrawl Tools in Dify](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#firecrawl-tools-in-dify) * [Getting Started](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#getting-started) * [Usage Patterns](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#usage-patterns) * [Common Use Cases](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#common-use-cases) * [Firecrawl Actions](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#firecrawl-actions) * [Best Practices](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#best-practices) * [Dify vs Other Platforms](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#dify-vs-other-platforms) **Official Dify Plugin:** [marketplace.dify.ai/plugins/langgenius/firecrawl](https://marketplace.dify.ai/plugins/langgenius/firecrawl) Official plugin by Dify team • 44,000+ installs • Chatflow & Agent apps • Free to use [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#dify-integration-overview) Dify Integration Overview -------------------------------------------------------------------------------------------------------------------------------- Dify is an open-source LLM app development platform. The official Firecrawl plugin enables web crawling and scraping directly in your AI workflows. Chatflow & Workflow Apps ------------------------ Build visual pipelines with Firecrawl nodes for data extraction Agent Applications ------------------ Give AI agents the power to scrape live web data on demand [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#firecrawl-tools-in-dify) Firecrawl Tools in Dify ---------------------------------------------------------------------------------------------------------------------------- Scrape Convert any URL into clean, structured data. Transform raw HTML into actionable insights.**Use Cases:** Extract product data, scrape article content, get structured data with JSON mode. Crawl Perform recursive crawls of websites and subdomains to gather extensive content.**Use Cases:** Full site content extraction, documentation scraping, multi-page data collection. Map Generate a complete map of all URLs present on a website.**Use Cases:** Site structure analysis, SEO auditing, URL discovery for batch scraping. Crawl Job Retrieve scraping results based on a Job ID or cancel ongoing tasks.**Use Cases:** Monitor long-running crawls, manage async scraping workflows, cancel operations when needed. [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#getting-started) Getting Started ------------------------------------------------------------------------------------------------------------ 1 Install Firecrawl Plugin Access the [Dify Plugin Marketplace](https://marketplace.dify.ai/plugins/langgenius/firecrawl) and install the Firecrawl tool 2 Get Firecrawl API Key Visit [Firecrawl API Keys](https://www.firecrawl.dev/app/api-keys) and create a new API key 3 Authorize in Dify Navigate to **Plugins > Firecrawl > To Authorize** and input your API key 4 Add to Your Workflow Drag Firecrawl tools into your Chatflow, Workflow, or Agent application 5 Configure & Test Set up parameters and test your workflow [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#usage-patterns) Usage Patterns ---------------------------------------------------------------------------------------------------------- * Chatflow Apps * Workflow Apps * Agent Apps **Visual Pipeline Integration** 1. Add Firecrawl node to your pipeline 2. Select action (Map, Crawl, Scrape) 3. Define input variables 4. Execute pipeline sequentially **Example Flow:** Copy Ask AI User Input → Firecrawl (Scrape) → LLM Processing → Response **Automated Data Processing**Build multi-step workflows with: * Scheduled scraping * Data transformation * Database storage * Notifications **Example Flow:** Copy Ask AI Schedule Trigger → Firecrawl (Crawl) → Data Processing → Storage **AI-Powered Web Access**Give agents real-time web scraping capabilities: 1. Add Firecrawl tool to Agent 2. Agent autonomously decides when to scrape 3. LLM analyzes extracted content 4. Agent provides informed responses **Use Case:** Customer support agents that reference live documentation [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#common-use-cases) Common Use Cases -------------------------------------------------------------------------------------------------------------- AI Chatbot with Live Data ------------------------- Build RAG-powered chatbots that scrape and reference live website content Content Analysis Agent ---------------------- Agents that research topics by scraping and analyzing multiple sources Competitor Monitoring --------------------- Automated workflows that track competitor websites and alert on changes Data Enrichment Pipeline ------------------------ Extract and enrich data from websites into structured databases [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#firecrawl-actions) Firecrawl Actions ---------------------------------------------------------------------------------------------------------------- | Tool | Description | Best For | | --- | --- | --- | | **Scrape** | Single-page data extraction | Quick content capture | | **Crawl** | Multi-page recursive crawling | Full site extraction | | **Map** | URL discovery and site mapping | SEO analysis, URL lists | | **Crawl Job** | Async job management | Long-running operations | [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#best-practices) Best Practices ---------------------------------------------------------------------------------------------------------- Agent Apps ---------- * Let agents decide when to scrape * Use natural language instructions * Enable tool calling in LLM settings * Monitor token usage with large scrapes Workflow Apps ------------- * Use Map before Crawl for large sites * Set appropriate crawl limits * Add error handling nodes * Test with small datasets first [​](https://docs.firecrawl.dev/developer-guides/workflow-automation/dify#dify-vs-other-platforms) Dify vs Other Platforms ---------------------------------------------------------------------------------------------------------------------------- | Feature | Dify | Make | Zapier | n8n | | --- | --- | --- | --- | --- | | **Type** | LLM app platform | Workflow automation | Workflow automation | Workflow automation | | **Best For** | AI agents & chatbots | Visual workflows | Quick automation | Developer control | | **Pricing** | Open-source + Cloud | Operations-based | Per-task | Flat monthly | | **AI-Native** | Yes | Partial | Partial | Partial | | **Self-Hosted** | Yes | No | No | Yes | **Pro Tip:** Dify excels at building AI-native applications where agents need dynamic web access. Perfect for chatbots, research assistants, and AI tools that need live data. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/workflow-automation/dify.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/workflow-automation/dify) [Firecrawl + Make\ \ Previous](https://docs.firecrawl.dev/developer-guides/workflow-automation/make) [Authenticated Scraping\ \ Next](https://docs.firecrawl.dev/developer-guides/advanced-guides/authenticated-scraping) ⌘I --- # MCP Web Search & Scrape in Windsurf - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation MCP Setup Guides MCP Web Search & Scrape in Windsurf [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * [MCP Web Search & Scrape in ChatGPT](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/chatgpt) * [MCP Web Search & Scrape in Claude Code](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/claude-code) * [MCP Web Search & Scrape in Cursor](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor) * [MCP Web Search & Scrape in Windsurf](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf) * [MCP Web Search & Scrape in Factory AI](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai) * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Quick Setup](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#quick-setup) * [1\. Get Your API Key](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#1-get-your-api-key) * [2\. Add to Windsurf](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#2-add-to-windsurf) * [3\. Restart Windsurf](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#3-restart-windsurf) * [Quick Demo](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#quick-demo) Add web scraping and search capabilities to Windsurf with Firecrawl MCP. [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#quick-setup) Quick Setup ----------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#1-get-your-api-key) 1\. Get Your API Key Sign up at [firecrawl.dev/app](https://firecrawl.dev/app) and copy your API key. ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#2-add-to-windsurf) 2\. Add to Windsurf Add this to your `./codeium/windsurf/model_config.json`: Copy Ask AI { "mcpServers": { "firecrawl": { "command": "npx", "args": ["-y", "firecrawl-mcp"], "env": { "FIRECRAWL_API_KEY": "YOUR_API_KEY" } } } } Replace `YOUR_API_KEY` with your actual Firecrawl API key. ### [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#3-restart-windsurf) 3\. Restart Windsurf Done! Windsurf can now search and scrape the web. [​](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/windsurf#quick-demo) Quick Demo --------------------------------------------------------------------------------------------------- Try these in Windsurf: **Search:** Copy Ask AI Search for the latest Tailwind CSS features **Scrape:** Copy Ask AI Scrape firecrawl.dev and explain what it does **Get docs:** Copy Ask AI Find and scrape the Supabase authentication documentation Windsurf’s AI agents will automatically use Firecrawl tools. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/developer-guides/mcp-setup-guides/windsurf.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/developer-guides/mcp-setup-guides/windsurf) [MCP Web Search & Scrape in Cursor\ \ Previous](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/cursor) [MCP Web Search & Scrape in Factory AI\ \ Next](https://docs.firecrawl.dev/developer-guides/mcp-setup-guides/factory-ai) ⌘I --- # SDKs | Firecrawl [Saltar al contenido principal](https://docs.firecrawl.dev/es/sdks/overview#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![ES](https://d3gk2c5xim1je2.cloudfront.net/flags/ES.svg) Español Buscar... ⌘KAsk AI Buscar... Navigation General Descripción general [Documentación](https://docs.firecrawl.dev/es/introduction) [SDKs](https://docs.firecrawl.dev/es/sdks/overview) [Integraciones](https://www.firecrawl.dev/app) [Referencia de la API](https://docs.firecrawl.dev/es/api-reference/v2-introduction) * [Entorno de pruebas](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Comunidad](https://discord.gg/gSmWdAkdwd) * [Registro de cambios](https://firecrawl.dev/changelog) ##### General * [Descripción general](https://docs.firecrawl.dev/es/sdks/overview) ##### Oficial * [Python](https://docs.firecrawl.dev/es/sdks/python) * [Node](https://docs.firecrawl.dev/es/sdks/node) ##### Comunidad * [Go](https://docs.firecrawl.dev/es/sdks/go) * [Rust](https://docs.firecrawl.dev/es/sdks/rust) En esta página * [SDK oficiales](https://docs.firecrawl.dev/es/sdks/overview#sdk-oficiales) * [SDKs de la comunidad (solo v1)](https://docs.firecrawl.dev/es/sdks/overview#sdks-de-la-comunidad-solo-v1) [​](https://docs.firecrawl.dev/es/sdks/overview#sdk-oficiales) SDK oficiales ------------------------------------------------------------------------------- [Python SDK\ ----------\ \ Explora el SDK de Python para Firecrawl.](https://docs.firecrawl.dev/es/sdks/es/python) [Node SDK\ --------\ \ Explora el SDK de Node para Firecrawl.](https://docs.firecrawl.dev/es/sdks/es/node) [CLI\ ---\ \ Usa Firecrawl directamente desde la línea de comandos.](https://docs.firecrawl.dev/es/sdks/es/cli) [​](https://docs.firecrawl.dev/es/sdks/overview#sdks-de-la-comunidad-solo-v1) SDKs de la comunidad (solo v1) --------------------------------------------------------------------------------------------------------------- [SDK de Go\ ---------\ \ Explora el SDK de Go para Firecrawl.](https://docs.firecrawl.dev/es/sdks/es/go) [SDK de Rust\ -----------\ \ Explora el SDK de Rust para Firecrawl.](https://docs.firecrawl.dev/es/sdks/es/rust) [Sugerir cambios](https://github.com/firecrawl/firecrawl-docs/edit/main/es/sdks/overview.mdx) [Reportar problema](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/es/sdks/overview) [Python\ \ Siguiente](https://docs.firecrawl.dev/es/sdks/python) ⌘I --- # Page Not Found [Skip to main content](https://docs.firecrawl.dev/pricing#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Page Not Found [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) 404 Page Not Found ============== We couldn't find the page. Maybe you were looking for one of these pages below? [Agent](https://docs.firecrawl.dev/features/agent#pricing) [Models](https://docs.firecrawl.dev/features/models#pricing-by-model) [Product & E-commerce](https://docs.firecrawl.dev/use-cases/product-ecommerce#how-do-i-handle-dynamic-pricing-or-user-specific-prices) ⌘I --- # Deep Research - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/use-cases/deep-research#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Use Cases Deep Research [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Start with a Template](https://docs.firecrawl.dev/use-cases/deep-research#start-with-a-template) * [How It Works](https://docs.firecrawl.dev/use-cases/deep-research#how-it-works) * [Why Researchers Choose Firecrawl](https://docs.firecrawl.dev/use-cases/deep-research#why-researchers-choose-firecrawl) * [Accelerate Research from Weeks to Hours](https://docs.firecrawl.dev/use-cases/deep-research#accelerate-research-from-weeks-to-hours) * [Ensure Research Completeness](https://docs.firecrawl.dev/use-cases/deep-research#ensure-research-completeness) * [Research Tool Capabilities](https://docs.firecrawl.dev/use-cases/deep-research#research-tool-capabilities) * [FAQs](https://docs.firecrawl.dev/use-cases/deep-research#faqs) * [Related Use Cases](https://docs.firecrawl.dev/use-cases/deep-research#related-use-cases) Academic researchers and analysts use Firecrawl’s deep research mode to aggregate data from hundreds of sources automatically. [​](https://docs.firecrawl.dev/use-cases/deep-research#start-with-a-template) Start with a Template ------------------------------------------------------------------------------------------------------ [Fireplexity\ -----------\ \ Blazing-fast AI search with real-time citations](https://github.com/mendableai/fireplexity) [Firesearch\ ----------\ \ Deep research agent with LangGraph and answer validation](https://github.com/mendableai/firesearch) [Open Researcher\ ---------------\ \ Visual AI research assistant for comprehensive analysis](https://github.com/mendableai/open-researcher) **Choose from multiple research templates.** Clone, configure your API key, and start researching. [​](https://docs.firecrawl.dev/use-cases/deep-research#how-it-works) How It Works ------------------------------------------------------------------------------------ Build powerful research tools that transform scattered web data into comprehensive insights. Use Firecrawl’s APIs to iteratively explore topics, discover sources, and extract content with full citations for your research applications. [​](https://docs.firecrawl.dev/use-cases/deep-research#why-researchers-choose-firecrawl) Why Researchers Choose Firecrawl ---------------------------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/use-cases/deep-research#accelerate-research-from-weeks-to-hours) Accelerate Research from Weeks to Hours Build automated research systems that discover, read, and synthesize information from across the web. Create tools that deliver comprehensive reports with full citations, eliminating manual searching through hundreds of sources. ### [​](https://docs.firecrawl.dev/use-cases/deep-research#ensure-research-completeness) Ensure Research Completeness Reduce the risk of missing critical information. Build systems that follow citation chains, discover related sources, and surface insights that traditional search methods miss. [​](https://docs.firecrawl.dev/use-cases/deep-research#research-tool-capabilities) Research Tool Capabilities ---------------------------------------------------------------------------------------------------------------- * **Iterative Exploration**: Build tools that automatically discover related topics and sources * **Multi-Source Synthesis**: Combine information from hundreds of websites * **Citation Preservation**: Maintain full source attribution in your research outputs * **Intelligent Summarization**: Extract key findings and insights for analysis * **Trend Detection**: Identify patterns across multiple sources [​](https://docs.firecrawl.dev/use-cases/deep-research#faqs) FAQs -------------------------------------------------------------------- How can I build research tools with Firecrawl? Use Firecrawl’s crawl and search APIs to build iterative research systems. Start with search results, extract content from relevant pages, follow citation links, and aggregate findings. Combine with LLMs to synthesize comprehensive research reports. Can Firecrawl handle academic and scientific websites? Yes. Firecrawl can extract data from open-access research papers, academic websites, and publicly available scientific publications. It preserves formatting, citations, and technical content critical for research work. How do I ensure research data accuracy? Firecrawl maintains source attribution and extracts content exactly as presented on websites. All data includes source URLs and timestamps, ensuring full traceability for research purposes. Can I use Firecrawl for longitudinal studies? Yes. Set up scheduled crawls to track how information changes over time. This is perfect for monitoring trends, policy changes, or any research requiring temporal data analysis. How does Firecrawl handle large-scale research projects? Our crawling infrastructure scales to handle thousands of sources simultaneously. Whether you’re analyzing entire industries or tracking global trends, Firecrawl provides the data pipeline you need. [​](https://docs.firecrawl.dev/use-cases/deep-research#related-use-cases) Related Use Cases ---------------------------------------------------------------------------------------------- * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) - Build AI research assistants * [Content Generation](https://docs.firecrawl.dev/use-cases/content-generation) - Research-based content * [Competitive Intelligence](https://docs.firecrawl.dev/use-cases/competitive-intelligence) - Market research [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/use-cases/deep-research.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/use-cases/deep-research) [SEO Platforms\ \ Previous](https://docs.firecrawl.dev/use-cases/seo-platforms) [Product & E-commerce\ \ Next](https://docs.firecrawl.dev/use-cases/product-ecommerce) ⌘I --- # Limites de débit | Firecrawl [Passer au contenu principal](https://docs.firecrawl.dev/fr/rate-limits#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![FR](https://d3gk2c5xim1je2.cloudfront.net/flags/FR.svg) Français Rechercher... ⌘KAsk AI Rechercher... Navigation Prise en main Limites de débit [Documentation](https://docs.firecrawl.dev/fr/introduction) [SDK](https://docs.firecrawl.dev/fr/sdks/overview) [Intégrations](https://www.firecrawl.dev/app) [Référence de l’API](https://docs.firecrawl.dev/fr/api-reference/v2-introduction) * [Bac à sable](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Communauté](https://discord.gg/gSmWdAkdwd) * [Journal des modifications](https://firecrawl.dev/changelog) ##### Prise en main * [Démarrage rapide](https://docs.firecrawl.dev/fr/introduction) * [Serveur MCP](https://docs.firecrawl.dev/fr/mcp-server) * [Migration v1 → v2](https://docs.firecrawl.dev/fr/migrate-to-v2) * [Limites de débit](https://docs.firecrawl.dev/fr/rate-limits) * [Guide de scraping avancé](https://docs.firecrawl.dev/fr/advanced-scraping-guide) ##### Nouveautés * Agent ##### Fonctionnalités principales * Extraction * [Recherche](https://docs.firecrawl.dev/fr/features/search) * [Cartographier](https://docs.firecrawl.dev/fr/features/map) * [Exploration](https://docs.firecrawl.dev/fr/features/crawl) ##### Webhooks * [Vue d’ensemble](https://docs.firecrawl.dev/fr/webhooks/overview) * [Types d’événements](https://docs.firecrawl.dev/fr/webhooks/events) * [Sécurité](https://docs.firecrawl.dev/fr/webhooks/security) * [Tests](https://docs.firecrawl.dev/fr/webhooks/testing) ##### Guides pour développeurs * [Modèles full stack](https://docs.firecrawl.dev/fr/developer-guides/examples) * SDK et frameworks pour LLM * Recettes * Guides de configuration MCP * Sites courants * Automatisation des workflows * Guides avancés ##### Cas d’usage * [Aperçu](https://docs.firecrawl.dev/fr/use-cases/overview) * [Plateformes d’IA](https://docs.firecrawl.dev/fr/use-cases/ai-platforms) * [Enrichissement de leads](https://docs.firecrawl.dev/fr/use-cases/lead-enrichment) * [Plateformes SEO](https://docs.firecrawl.dev/fr/use-cases/seo-platforms) * [Recherche approfondie](https://docs.firecrawl.dev/fr/use-cases/deep-research) * Voir plus ##### Contribuer * [Open Source vs Cloud](https://docs.firecrawl.dev/fr/contributing/open-source-or-cloud) * [Exécution en local](https://docs.firecrawl.dev/fr/contributing/guide) * [Auto-hébergement](https://docs.firecrawl.dev/fr/contributing/self-host) Sur cette page * [Modèle de facturation](https://docs.firecrawl.dev/fr/rate-limits#mod%C3%A8le-de-facturation) * [Limites de navigateurs concurrents](https://docs.firecrawl.dev/fr/rate-limits#limites-de-navigateurs-concurrents) * [Offres actuelles](https://docs.firecrawl.dev/fr/rate-limits#offres-actuelles) * [Formules Extract (ancienne version)](https://docs.firecrawl.dev/fr/rate-limits#formules-extract-ancienne-version) * [Limites de débit de l’API](https://docs.firecrawl.dev/fr/rate-limits#limites-de-d%C3%A9bit-de-l%E2%80%99api) * [Offres actuelles](https://docs.firecrawl.dev/fr/rate-limits#offres-actuelles-2) * [Points de terminaison d’extraction](https://docs.firecrawl.dev/fr/rate-limits#points-de-terminaison-d%E2%80%99extraction) * [Endpoints d’extraction par lots](https://docs.firecrawl.dev/fr/rate-limits#endpoints-d%E2%80%99extraction-par-lots) * [Agent FIRE-1](https://docs.firecrawl.dev/fr/rate-limits#agent-fire-1) * [Offres Extract (anciennes)](https://docs.firecrawl.dev/fr/rate-limits#offres-extract-anciennes) [​](https://docs.firecrawl.dev/fr/rate-limits#mod%C3%A8le-de-facturation) Modèle de facturation -------------------------------------------------------------------------------------------------- Firecrawl utilise des abonnements mensuels. Nous ne proposons pas de modèle de paiement à l’usage, mais notre **fonction de rechargement automatique** offre une mise à l’échelle flexible : une fois que vous avez souscrit à une offre, vous pouvez acheter automatiquement des crédits supplémentaires lorsque vous passez sous un certain seuil, avec de meilleurs tarifs sur les packs de rechargement automatique plus importants. Pour tester avant de vous engager sur une offre de niveau supérieur, commencez par l’offre Free ou Hobby. [​](https://docs.firecrawl.dev/fr/rate-limits#limites-de-navigateurs-concurrents) Limites de navigateurs concurrents ----------------------------------------------------------------------------------------------------------------------- Les navigateurs concurrents correspondent au nombre de pages web que Firecrawl peut traiter pour vous en parallèle. Votre offre détermine combien de ces tâches peuvent s’exécuter simultanément — si vous dépassez cette limite, les tâches supplémentaires patienteront dans une file d’attente jusqu’à ce que des ressources se libèrent. ### [​](https://docs.firecrawl.dev/fr/rate-limits#offres-actuelles) Offres actuelles | Offre | Navigateurs simultanés | | --- | --- | | Free | 2 | | Hobby | 5 | | Standard | 50 | | Growth | 100 | | Scale / Enterprise | 150+ | Si vous avez besoin d’un niveau de concurrence plus élevé, veuillez nous contacter à l’adresse [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#4f272a233f0f29263d2a2c3d2e3823612c2022) pour discuter d’offres personnalisées. ### [​](https://docs.firecrawl.dev/fr/rate-limits#formules-extract-ancienne-version) Formules Extract (ancienne version) | Formule | Navigateurs simultanés | | --- | --- | | Free | 2 | | Starter | 50 | | Explorer | 100 | | Pro | 200 | [​](https://docs.firecrawl.dev/fr/rate-limits#limites-de-d%C3%A9bit-de-l%E2%80%99api) Limites de débit de l’API ------------------------------------------------------------------------------------------------------------------ Les limites de débit sont mesurées en requêtes par minute et servent principalement à prévenir les abus. Lorsqu’elles sont correctement configurées, votre véritable goulot d’étranglement sera le nombre de navigateurs exécutés en parallèle. ### [​](https://docs.firecrawl.dev/fr/rate-limits#offres-actuelles-2) Offres actuelles | Plan | /scrape | /map | /crawl | /search | /agent | /crawl/status | /agent/status | | --- | --- | --- | --- | --- | --- | --- | --- | | Free | 10 | 10 | 1 | 5 | 10 | 1500 | 500 | | Hobby | 100 | 100 | 15 | 50 | 100 | 1500 | 25000 | | Standard | 500 | 500 | 50 | 250 | 500 | 1500 | 25000 | | Growth | 5000 | 5000 | 250 | 2500 | 1000 | 1500 | 25000 | Ces limites de débit sont appliquées afin de garantir une utilisation équitable de l’API et sa disponibilité pour tous les utilisateurs. Si vous avez besoin de limites plus élevées, veuillez nous contacter à [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#d6beb3baa696b0bfa4b3b5a4b7a1baf8b5b9bb) pour discuter d’offres personnalisées. ### [​](https://docs.firecrawl.dev/fr/rate-limits#points-de-terminaison-d%E2%80%99extraction) Points de terminaison d’extraction Les endpoints d’extraction partagent les mêmes limites de débit que les limites de débit correspondantes de `/agent`. ### [​](https://docs.firecrawl.dev/fr/rate-limits#endpoints-d%E2%80%99extraction-par-lots) Endpoints d’extraction par lots Les endpoints d’extraction par lots partagent les mêmes limites de débit que les limites de `/crawl` correspondantes. ### [​](https://docs.firecrawl.dev/fr/rate-limits#agent-fire-1) Agent FIRE-1 Les requêtes impliquant l’agent FIRE-1 ont des limites de débit distinctes, calculées séparément pour chaque endpoint : | Endpoint | Limite de débit (requêtes/min) | | --- | --- | | /scrape | 10 | | /extract | 10 | ### [​](https://docs.firecrawl.dev/fr/rate-limits#offres-extract-anciennes) Offres Extract (anciennes) | Offre | /extract (requêtes/min) | /extract/status (requêtes/min) | | --- | --- | --- | | Starter | 100 | 25000 | | Explorer | 500 | 25000 | | Pro | 1000 | 25000 | [Suggérer des modifications](https://github.com/firecrawl/firecrawl-docs/edit/main/fr/rate-limits.mdx) [Signaler un problème](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/fr/rate-limits) [Migration v1 → v2\ \ Précédent](https://docs.firecrawl.dev/fr/migrate-to-v2) [Guide de scraping avancé\ \ Suivant](https://docs.firecrawl.dev/fr/advanced-scraping-guide) ⌘I --- # Rate Limits | Firecrawl [Skip to main content](https://docs.firecrawl.dev/rate-limits#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Get Started Rate Limits [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Billing Model](https://docs.firecrawl.dev/rate-limits#billing-model) * [Concurrent Browser Limits](https://docs.firecrawl.dev/rate-limits#concurrent-browser-limits) * [Current Plans](https://docs.firecrawl.dev/rate-limits#current-plans) * [Extract Plans (Legacy)](https://docs.firecrawl.dev/rate-limits#extract-plans-legacy) * [API Rate Limits](https://docs.firecrawl.dev/rate-limits#api-rate-limits) * [Current Plans](https://docs.firecrawl.dev/rate-limits#current-plans-2) * [Extract Endpoints](https://docs.firecrawl.dev/rate-limits#extract-endpoints) * [Batch Scrape Endpoints](https://docs.firecrawl.dev/rate-limits#batch-scrape-endpoints) * [FIRE-1 Agent](https://docs.firecrawl.dev/rate-limits#fire-1-agent) * [Extract Plans (Legacy)](https://docs.firecrawl.dev/rate-limits#extract-plans-legacy-2) [​](https://docs.firecrawl.dev/rate-limits#billing-model) Billing Model -------------------------------------------------------------------------- Firecrawl uses subscription-based monthly plans. We do not offer a pure pay-as-you-go model, but our **auto-recharge feature** provides flexible scaling—once you subscribe to a plan, you can automatically purchase additional credits when you dip below a threshold, with better rates on larger auto-recharge packs. For testing before committing to a larger plan, start with the Free or Hobby tier. [​](https://docs.firecrawl.dev/rate-limits#concurrent-browser-limits) Concurrent Browser Limits -------------------------------------------------------------------------------------------------- Concurrent browsers represent how many web pages Firecrawl can process for you at the same time. Your plan determines how many of these jobs can run simultaneously - if you exceed this limit, additional jobs will wait in a queue until resources become available. ### [​](https://docs.firecrawl.dev/rate-limits#current-plans) Current Plans | Plan | Concurrent Browsers | | --- | --- | | Free | 2 | | Hobby | 5 | | Standard | 50 | | Growth | 100 | | Scale / Enterprise | 150+ | If you require higher concurrency limits, please contact us at [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#026a676e7242646b7067617063756e2c616d6f) to discuss custom plans. ### [​](https://docs.firecrawl.dev/rate-limits#extract-plans-legacy) Extract Plans (Legacy) | Plan | Concurrent Browsers | | --- | --- | | Free | 2 | | Starter | 50 | | Explorer | 100 | | Pro | 200 | [​](https://docs.firecrawl.dev/rate-limits#api-rate-limits) API Rate Limits ------------------------------------------------------------------------------ Rate limits are measured in requests per minute and are primarily in place to prevent abuse. When configured correctly, your real bottleneck will be concurrent browsers. ### [​](https://docs.firecrawl.dev/rate-limits#current-plans-2) Current Plans | Plan | /scrape | /map | /crawl | /search | /agent | /crawl/status | /agent/status | | --- | --- | --- | --- | --- | --- | --- | --- | | Free | 10 | 10 | 1 | 5 | 10 | 1500 | 500 | | Hobby | 100 | 100 | 15 | 50 | 100 | 1500 | 25000 | | Standard | 500 | 500 | 50 | 250 | 500 | 1500 | 25000 | | Growth | 5000 | 5000 | 250 | 2500 | 1000 | 1500 | 25000 | These rate limits are enforced to ensure fair usage and availability of the API for all users. If you require higher limits, please contact us at [\[email protected\]](https://docs.firecrawl.dev/cdn-cgi/l/email-protection#472f222b3707212e3522243526302b6924282a) to discuss custom plans. ### [​](https://docs.firecrawl.dev/rate-limits#extract-endpoints) Extract Endpoints The extract endpoints share limits with the corresponding /agent rate limits. ### [​](https://docs.firecrawl.dev/rate-limits#batch-scrape-endpoints) Batch Scrape Endpoints The batch scrape endpoints share limits with the corresponding /crawl rate limits. ### [​](https://docs.firecrawl.dev/rate-limits#fire-1-agent) FIRE-1 Agent Requests involving the FIRE-1 agent requests have separate rate limits that are counted independently for each endpoint: | Endpoint | Rate Limit (requests/min) | | --- | --- | | /scrape | 10 | | /extract | 10 | ### [​](https://docs.firecrawl.dev/rate-limits#extract-plans-legacy-2) Extract Plans (Legacy) | Plan | /extract (requests/min) | /extract/status (requests/min) | | --- | --- | --- | | Starter | 100 | 25000 | | Explorer | 500 | 25000 | | Pro | 1000 | 25000 | [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/rate-limits.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/rate-limits) [Migrating from v1 to v2\ \ Previous](https://docs.firecrawl.dev/migrate-to-v2) [Advanced Scraping Guide\ \ Next](https://docs.firecrawl.dev/advanced-scraping-guide) ⌘I --- # SEO Platforms - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/use-cases/seo-platforms#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Use Cases SEO Platforms [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Start with a Template](https://docs.firecrawl.dev/use-cases/seo-platforms#start-with-a-template) * [How It Works](https://docs.firecrawl.dev/use-cases/seo-platforms#how-it-works) * [Why SEO Platforms Choose Firecrawl](https://docs.firecrawl.dev/use-cases/seo-platforms#why-seo-platforms-choose-firecrawl) * [Optimize for AI Discovery, Not Just Google](https://docs.firecrawl.dev/use-cases/seo-platforms#optimize-for-ai-discovery%2C-not-just-google) * [Complete Site Intelligence at Scale](https://docs.firecrawl.dev/use-cases/seo-platforms#complete-site-intelligence-at-scale) * [What You Can Build](https://docs.firecrawl.dev/use-cases/seo-platforms#what-you-can-build) * [FAQs](https://docs.firecrawl.dev/use-cases/seo-platforms#faqs) * [Related Use Cases](https://docs.firecrawl.dev/use-cases/seo-platforms#related-use-cases) SEO platforms and consultants use Firecrawl to optimize websites for AI assistants and search engines. [​](https://docs.firecrawl.dev/use-cases/seo-platforms#start-with-a-template) Start with a Template ------------------------------------------------------------------------------------------------------ [FireGEO\ -------\ \ GEO-powered SEO monitoring and multi-region rank tracking](https://github.com/mendableai/firegeo) **Get started with the FireGEO template.** Optimize for both search engines and AI assistants. [​](https://docs.firecrawl.dev/use-cases/seo-platforms#how-it-works) How It Works ------------------------------------------------------------------------------------ Prepare your website for the AI-first future. Audit AI readability and ensure your content is discoverable by both traditional search engines and AI assistants. [​](https://docs.firecrawl.dev/use-cases/seo-platforms#why-seo-platforms-choose-firecrawl) Why SEO Platforms Choose Firecrawl -------------------------------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/use-cases/seo-platforms#optimize-for-ai-discovery,-not-just-google) Optimize for AI Discovery, Not Just Google The future of search is AI-powered. While competitors focus on traditional SEO, forward-thinking platforms use Firecrawl to increase their clients’ visibility in AI assistant responses-the new frontier of organic discovery. ### [​](https://docs.firecrawl.dev/use-cases/seo-platforms#complete-site-intelligence-at-scale) Complete Site Intelligence at Scale Analyze entire websites, not just sample pages. Extract every meta tag, header structure, internal link, and content element across thousands of pages simultaneously. Identify optimization opportunities your competitors miss. [​](https://docs.firecrawl.dev/use-cases/seo-platforms#what-you-can-build) What You Can Build ------------------------------------------------------------------------------------------------ * **AI Readability Audit**: Optimize for AI comprehension * **Content Analysis**: Structure and semantic optimization * **Technical SEO**: Site performance and crawlability * **search Tracking**: Monitor search engine positions [​](https://docs.firecrawl.dev/use-cases/seo-platforms#faqs) FAQs -------------------------------------------------------------------- How can I optimize my site for AI assistants? Firecrawl helps you structure content for optimal AI comprehension, extract semantic signals, and ensure your site follows best practices for AI discovery. This includes generating experimental formats like llms.txt (an emerging convention for AI crawler guidance). How does Firecrawl support SEO audits? Firecrawl extracts complete site structures, meta tags, headers, internal links, and content to perform comprehensive SEO audits. Identify optimization opportunities and track improvements over time. Can Firecrawl help with competitor SEO analysis? Yes. Analyze competitor site structures, keyword usage, content strategies, and technical SEO implementations. Understand what’s working in your industry to inform your strategy. How can I use Firecrawl for content gap analysis? Crawl competitor sites to identify topics they cover that you don’t. Extract their content categories, blog topics, and page structures to find opportunities for new content. Does Firecrawl help with technical SEO monitoring? Yes. Identify broken links, track redirect chains, extract canonical tags, and monitor meta tag implementation. Regular crawls help identify technical SEO issues across your site. [​](https://docs.firecrawl.dev/use-cases/seo-platforms#related-use-cases) Related Use Cases ---------------------------------------------------------------------------------------------- * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) - Build AI-powered SEO tools * [Competitive Intelligence](https://docs.firecrawl.dev/use-cases/competitive-intelligence) - Track competitor SEO * [Content Generation](https://docs.firecrawl.dev/use-cases/content-generation) - Create SEO content [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/use-cases/seo-platforms.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/use-cases/seo-platforms) [Lead Enrichment\ \ Previous](https://docs.firecrawl.dev/use-cases/lead-enrichment) [Deep Research\ \ Next](https://docs.firecrawl.dev/use-cases/deep-research) ⌘I --- # Webhooks | Firecrawl [Skip to main content](https://docs.firecrawl.dev/webhooks/overview#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Webhooks Overview [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Supported Operations](https://docs.firecrawl.dev/webhooks/overview#supported-operations) * [Configuration](https://docs.firecrawl.dev/webhooks/overview#configuration) * [Usage](https://docs.firecrawl.dev/webhooks/overview#usage) * [Crawl with Webhook](https://docs.firecrawl.dev/webhooks/overview#crawl-with-webhook) * [Batch Scrape with Webhook](https://docs.firecrawl.dev/webhooks/overview#batch-scrape-with-webhook) * [Timeouts & Retries](https://docs.firecrawl.dev/webhooks/overview#timeouts-%26-retries) Webhooks let you receive real-time notifications as your operations progress, instead of polling for status. [​](https://docs.firecrawl.dev/webhooks/overview#supported-operations) Supported Operations ---------------------------------------------------------------------------------------------- | Operation | Events | | --- | --- | | Crawl | `started`, `page`, `completed` | | Batch Scrape | `started`, `page`, `completed` | | Extract | `started`, `completed`, `failed` | | Agent | `started`, `action`, `completed`, `failed`, `cancelled` | [​](https://docs.firecrawl.dev/webhooks/overview#configuration) Configuration -------------------------------------------------------------------------------- Add a `webhook` object to your request: JSON Copy Ask AI { "webhook": { "url": "https://your-domain.com/webhook", "metadata": { "any_key": "any_value" }, "events": ["started", "page", "completed", "failed"] } } | Field | Type | Required | Description | | --- | --- | --- | --- | | `url` | string | Yes | Your endpoint URL (HTTPS) | | `headers` | object | No | Custom headers to include | | `metadata` | object | No | Custom data included in payloads | | `events` | array | No | Event types to receive (default: all) | [​](https://docs.firecrawl.dev/webhooks/overview#usage) Usage ---------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/webhooks/overview#crawl-with-webhook) Crawl with Webhook cURL Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/crawl \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -d '{ "url": "https://docs.firecrawl.dev", "limit": 100, "webhook": { "url": "https://your-domain.com/webhook", "metadata": { "any_key": "any_value" }, "events": ["started", "page", "completed"] } }' ### [​](https://docs.firecrawl.dev/webhooks/overview#batch-scrape-with-webhook) Batch Scrape with Webhook cURL Copy Ask AI curl -X POST https://api.firecrawl.dev/v2/batch/scrape \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -d '{ "urls": [\ "https://example.com/page1",\ "https://example.com/page2",\ "https://example.com/page3"\ ], "webhook": { "url": "https://your-domain.com/webhook", "metadata": { "any_key": "any_value" }, "events": ["started", "page", "completed"] } }' [​](https://docs.firecrawl.dev/webhooks/overview#timeouts-&-retries) Timeouts & Retries ------------------------------------------------------------------------------------------ Your endpoint must respond with a `2xx` status within **10 seconds**. If delivery fails (timeout, non-2xx, or network error), Firecrawl retries automatically: | Retry | Delay after failure | | --- | --- | | 1st | 1 minute | | 2nd | 5 minutes | | 3rd | 15 minutes | After 3 failed retries, the webhook is marked as failed and no further attempts are made. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/webhooks/overview.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/webhooks/overview) [Crawl\ \ Previous](https://docs.firecrawl.dev/features/crawl) [Event Types\ \ Next](https://docs.firecrawl.dev/webhooks/events) ⌘I --- # Auto-hébergement | Firecrawl [Passer au contenu principal](https://docs.firecrawl.dev/fr/contributing/self-host#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![FR](https://d3gk2c5xim1je2.cloudfront.net/flags/FR.svg) Français Rechercher... ⌘KAsk AI Rechercher... Navigation Contribuer Auto-hébergement [Documentation](https://docs.firecrawl.dev/fr/introduction) [SDK](https://docs.firecrawl.dev/fr/sdks/overview) [Intégrations](https://www.firecrawl.dev/app) [Référence de l’API](https://docs.firecrawl.dev/fr/api-reference/v2-introduction) * [Bac à sable](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Communauté](https://discord.gg/gSmWdAkdwd) * [Journal des modifications](https://firecrawl.dev/changelog) ##### Prise en main * [Démarrage rapide](https://docs.firecrawl.dev/fr/introduction) * [Serveur MCP](https://docs.firecrawl.dev/fr/mcp-server) * [Migration v1 → v2](https://docs.firecrawl.dev/fr/migrate-to-v2) * [Limites de débit](https://docs.firecrawl.dev/fr/rate-limits) * [Guide de scraping avancé](https://docs.firecrawl.dev/fr/advanced-scraping-guide) ##### Nouveautés * Agent ##### Fonctionnalités principales * Extraction * [Recherche](https://docs.firecrawl.dev/fr/features/search) * [Cartographier](https://docs.firecrawl.dev/fr/features/map) * [Exploration](https://docs.firecrawl.dev/fr/features/crawl) ##### Webhooks * [Vue d’ensemble](https://docs.firecrawl.dev/fr/webhooks/overview) * [Types d’événements](https://docs.firecrawl.dev/fr/webhooks/events) * [Sécurité](https://docs.firecrawl.dev/fr/webhooks/security) * [Tests](https://docs.firecrawl.dev/fr/webhooks/testing) ##### Guides pour développeurs * [Modèles full stack](https://docs.firecrawl.dev/fr/developer-guides/examples) * SDK et frameworks pour LLM * Recettes * Guides de configuration MCP * Sites courants * Automatisation des workflows * Guides avancés ##### Cas d’usage * [Aperçu](https://docs.firecrawl.dev/fr/use-cases/overview) * [Plateformes d’IA](https://docs.firecrawl.dev/fr/use-cases/ai-platforms) * [Enrichissement de leads](https://docs.firecrawl.dev/fr/use-cases/lead-enrichment) * [Plateformes SEO](https://docs.firecrawl.dev/fr/use-cases/seo-platforms) * [Recherche approfondie](https://docs.firecrawl.dev/fr/use-cases/deep-research) * Voir plus ##### Contribuer * [Open Source vs Cloud](https://docs.firecrawl.dev/fr/contributing/open-source-or-cloud) * [Exécution en local](https://docs.firecrawl.dev/fr/contributing/guide) * [Auto-hébergement](https://docs.firecrawl.dev/fr/contributing/self-host) Sur cette page * [Vous souhaitez contribuer ?](https://docs.firecrawl.dev/fr/contributing/self-host#vous-souhaitez-contribuer-) * [Auto-hébergement de Firecrawl](https://docs.firecrawl.dev/fr/contributing/self-host#auto-h%C3%A9bergement-de-firecrawl) * [Pourquoi ?](https://docs.firecrawl.dev/fr/contributing/self-host#pourquoi-) * [Considérations](https://docs.firecrawl.dev/fr/contributing/self-host#consid%C3%A9rations) * [Étapes](https://docs.firecrawl.dev/fr/contributing/self-host#%C3%A9tapes) * [Dépannage](https://docs.firecrawl.dev/fr/contributing/self-host#d%C3%A9pannage) * [Le client Supabase n’est pas configuré](https://docs.firecrawl.dev/fr/contributing/self-host#le-client-supabase-n%E2%80%99est-pas-configur%C3%A9) * [Vous contournez le mécanisme d’authentification](https://docs.firecrawl.dev/fr/contributing/self-host#vous-contournez-le-m%C3%A9canisme-d%E2%80%99authentification) * [Les conteneurs Docker ne démarrent pas](https://docs.firecrawl.dev/fr/contributing/self-host#les-conteneurs-docker-ne-d%C3%A9marrent-pas) * [Problèmes de connexion avec Redis](https://docs.firecrawl.dev/fr/contributing/self-host#probl%C3%A8mes-de-connexion-avec-redis) * [Le point de terminaison API ne répond pas](https://docs.firecrawl.dev/fr/contributing/self-host#le-point-de-terminaison-api-ne-r%C3%A9pond-pas) * [Installer Firecrawl sur un cluster Kubernetes (version simple)](https://docs.firecrawl.dev/fr/contributing/self-host#installer-firecrawl-sur-un-cluster-kubernetes-version-simple) #### [​](https://docs.firecrawl.dev/fr/contributing/self-host#vous-souhaitez-contribuer-) Vous souhaitez contribuer ? Bienvenue sur [Firecrawl](https://firecrawl.dev/) 🔥 ! Voici quelques instructions pour récupérer le projet en local afin de l’exécuter vous-même et d’y contribuer. Si vous contribuez, notez que le processus est similaire à d’autres dépôts open source : forkez Firecrawl, apportez vos modifications, exécutez les tests, puis ouvrez une PR. Si vous avez des questions ou souhaitez de l’aide pour démarrer, rejoignez notre communauté Discord [ici](https://discord.gg/gSmWdAkdwd) pour en savoir plus, ou ouvrez une issue sur GitHub [ici](https://github.com/mendableai/firecrawl/issues/new/choose) ! [​](https://docs.firecrawl.dev/fr/contributing/self-host#auto-h%C3%A9bergement-de-firecrawl) Auto-hébergement de Firecrawl ----------------------------------------------------------------------------------------------------------------------------- Consultez [SELF\_HOST.md](https://github.com/mendableai/firecrawl/blob/main/SELF_HOST.md) pour savoir comment l’exécuter en local. [​](https://docs.firecrawl.dev/fr/contributing/self-host#pourquoi-) Pourquoi ? --------------------------------------------------------------------------------- L’auto‑hébergement de Firecrawl est particulièrement utile pour les organisations dont les politiques de sécurité exigent que les données restent dans des environnements contrôlés. Voici quelques raisons majeures d’envisager l’auto‑hébergement : * **Sécurité et conformité renforcées :** En auto‑hébergeant, vous garantissez que l’ensemble de la gestion et du traitement des données respecte les réglementations internes et externes, en conservant les informations sensibles au sein de votre infrastructure sécurisée. Notez que Firecrawl est un produit Mendable et s’appuie sur la certification SOC 2 Type II, ce qui signifie que la plateforme respecte des normes élevées du secteur en matière de sécurité des données. * **Services personnalisables :** L’auto‑hébergement vous permet d’adapter des services, comme Playwright, pour répondre à des besoins spécifiques ou couvrir des cas d’usage particuliers qui ne sont pas forcément pris en charge par l’offre cloud standard. * **Apprentissage et contribution à la communauté :** En configurant et en maintenant votre propre instance, vous approfondissez votre compréhension du fonctionnement de Firecrawl, ce qui peut également conduire à des contributions plus significatives au projet. ### [​](https://docs.firecrawl.dev/fr/contributing/self-host#consid%C3%A9rations) Considérations Cependant, il existe certaines limites et des responsabilités supplémentaires à garder à l’esprit : 1. **Accès limité à Fire-engine :** Actuellement, les instances auto-hébergées de Firecrawl n’ont pas accès à Fire-engine, qui comprend des fonctionnalités avancées pour gérer les blocages d’IP, les mécanismes de détection des robots, et plus encore. Cela signifie que, même si vous pouvez traiter des tâches de scraping de base, des cas plus complexes peuvent nécessiter une configuration supplémentaire ou ne pas être pris en charge. 2. **Configuration manuelle requise :** Si vous devez utiliser des méthodes de scraping au-delà des options de base `fetch` et Playwright, vous devrez les configurer manuellement dans le fichier `.env`. Cela nécessite une compréhension plus approfondie des technologies et peut impliquer davantage de temps de mise en place. L’auto-hébergement de Firecrawl est idéal pour ceux qui ont besoin d’un contrôle total sur leurs environnements de scraping et de traitement des données, mais il s’accompagne du revers d’une charge supplémentaire de maintenance et de configuration. [​](https://docs.firecrawl.dev/fr/contributing/self-host#%C3%A9tapes) Étapes ------------------------------------------------------------------------------- 1. Commencez par installer les dépendances * [Instructions Docker](https://docs.docker.com/get-docker/) 2. Définissez les variables d’environnement Créez un fichier `.env` à la racine du projet. Vous pouvez copier le modèle situé dans `apps/api/.env.example`. Pour commencer, nous ne configurerons ni l’authentification ni aucun sous-service optionnel (parsing PDF, prise en charge du blocage de JS, fonctionnalités IA). Copier Demander à l'IA # .env # ===== Required ENVS ====== PORT=3002 HOST=0.0.0.0 # Note: PORT is used by both the main API server and worker liveness check endpoint # To turn on DB authentication, you need to set up Supabase. USE_DB_AUTHENTICATION=false # ===== Optional ENVS ====== ## === AI features (JSON format on scrape, /extract API) === # Provide your OpenAI API key here to enable AI features # OPENAI_API_KEY= # Experimental: Use Ollama # OLLAMA_BASE_URL=http://localhost:11434/api # MODEL_NAME=deepseek-r1:7b # MODEL_EMBEDDING_NAME=nomic-embed-text # Experimental: Use any OpenAI-compatible API # OPENAI_BASE_URL=https://example.com/v1 # OPENAI_API_KEY= ## === Proxy === # PROXY_SERVER can be a full URL (e.g. http://0.1.2.3:1234) or just an IP and port combo (e.g. 0.1.2.3:1234) # Do not uncomment PROXY_USERNAME and PROXY_PASSWORD if your proxy is unauthenticated # PROXY_SERVER= # PROXY_USERNAME= # PROXY_PASSWORD= ## === API /search === # Vous pouvez spécifier un serveur SearXNG avec le format JSON activé, si vous souhaitez l'utiliser à la place de Google direct. # Vous pouvez également personnaliser les paramètres engines et categories, mais les valeurs par défaut devraient également fonctionner correctement. # SEARXNG_ENDPOINT=http://your.searxng.server # SEARXNG_ENGINES= # SEARXNG_CATEGORIES= ## === Other === # Supabase Setup (used to support DB authentication, advanced logging, etc.) # SUPABASE_ANON_TOKEN= # SUPABASE_URL= # SUPABASE_SERVICE_TOKEN= # Use if you've set up authentication and want to test with a real API key # TEST_API_KEY= # This key lets you access the queue admin panel. Change this if your deployment is publicly accessible. BULL_AUTH_KEY=CHANGEME # This is now autoconfigured by the docker-compose.yaml. You shouldn't need to set it. # PLAYWRIGHT_MICROSERVICE_URL=http://playwright-service:3000/scrape # REDIS_URL=redis://redis:6379 # REDIS_RATE_LIMIT_URL=redis://redis:6379 # Set if you have a llamaparse key you'd like to use to parse pdfs # LLAMAPARSE_API_KEY= # Set if you'd like to send server health status messages to Slack # SLACK_WEBHOOK_URL= # Set if you'd like to send posthog events like job logs # POSTHOG_API_KEY= # POSTHOG_HOST= ## === System Resource Configuration === # Maximum CPU usage threshold (0.0-1.0). Worker will reject new jobs when CPU usage exceeds this value. # Default: 0.8 (80%) # MAX_CPU=0.8 # Maximum RAM usage threshold (0.0-1.0). Worker will reject new jobs when memory usage exceeds this value. # Default: 0.8 (80%) # MAX_RAM=0.8 # Set if you'd like to allow local webhooks to be sent to your self-hosted instance # ALLOW_LOCAL_WEBHOOKS=true 3. _(Optionnel) Exécuter avec le service Playwright en TypeScript_ * Mettez à jour le fichier `docker-compose.yml` pour modifier le service Playwright : Copier Demander à l'IA build: apps/playwright-service EN Copier Demander à l'IA build: apps/playwright-service-ts * Définissez la variable `PLAYWRIGHT_MICROSERVICE_URL` dans votre fichier `.env` : Copier Demander à l'IA PLAYWRIGHT_MICROSERVICE_URL=http://localhost:3000/scrape * N’oubliez pas de configurer le serveur proxy dans votre fichier `.env` si nécessaire. 4. Construisez et lancez les conteneurs Docker : Copier Demander à l'IA docker compose build docker compose up Cela démarre une instance locale de Firecrawl accessible à l’adresse `http://localhost:3002`. Vous devriez voir l’interface Bull Queue Manager à l’adresse `http://localhost:3002/admin/@/queues`. 5. _(Optionnel)_ Tester l’API Si vous souhaitez tester le point de terminaison de crawl, vous pouvez exécuter : Copier Demander à l'IA curl -X POST http://localhost:3002/v2/crawl \ -H 'Content-Type: application/json' \ -d '{ "url": "https://docs.firecrawl.dev" }' [​](https://docs.firecrawl.dev/fr/contributing/self-host#d%C3%A9pannage) Dépannage ------------------------------------------------------------------------------------- Cette section propose des solutions aux problèmes courants que vous pouvez rencontrer lors de la configuration ou de l’exécution de votre instance Firecrawl auto-hébergée. ### [​](https://docs.firecrawl.dev/fr/contributing/self-host#le-client-supabase-n%E2%80%99est-pas-configur%C3%A9) Le client Supabase n’est pas configuré **Symptôme :** Copier Demander à l'IA [YYYY-MM-DDTHH:MM:SS.SSSz]ERROR - Tentative d’accès au client Supabase alors qu’il n’est pas configuré. [YYYY-MM-DDTHH:MM:SS.SSSz]ERROR - Erreur lors de l’insertion de l’événement de scraping : Erreur : le client Supabase n’est pas configuré. **Explication :** Cette erreur se produit parce que la configuration du client Supabase n’est pas finalisée. Vous devriez pouvoir lancer des opérations de scraping et de crawling sans problème. À l’heure actuelle, il n’est pas possible de configurer Supabase sur des instances auto‑hébergées. ### [​](https://docs.firecrawl.dev/fr/contributing/self-host#vous-contournez-le-m%C3%A9canisme-d%E2%80%99authentification) Vous contournez le mécanisme d’authentification **Symptôme :** Copier Demander à l'IA [YYYY-MM-DDTHH:MM:SS.SSSz]WARN - You're bypassing authentication **Explication :** Cette erreur se produit parce que la configuration du client Supabase n’est pas finalisée. Vous pouvez tout de même effectuer du scraping et du crawling sans problème. Pour le moment, il n’est pas possible de configurer Supabase sur des instances auto-hébergées. ### [​](https://docs.firecrawl.dev/fr/contributing/self-host#les-conteneurs-docker-ne-d%C3%A9marrent-pas) Les conteneurs Docker ne démarrent pas **Symptôme :** Les conteneurs Docker s’arrêtent de manière inattendue ou ne parviennent pas à démarrer. **Solution :** Vérifiez les logs Docker pour détecter d’éventuels messages d’erreur en utilisant la commande : Copier Demander à l'IA docker logs [container_name] * Assurez-vous que toutes les variables d’environnement nécessaires sont correctement définies dans le fichier .env. * Vérifiez que tous les services Docker définis dans docker-compose.yml sont correctement configurés et que les images requises sont disponibles. ### [​](https://docs.firecrawl.dev/fr/contributing/self-host#probl%C3%A8mes-de-connexion-avec-redis) Problèmes de connexion avec Redis **Symptôme :** Erreurs liées à la connexion à Redis, telles que des délais d’attente dépassés ou des erreurs « Connection refused ». **Solution :** * Assurez-vous que le service Redis est démarré et fonctionne dans votre environnement Docker. * Vérifiez que les variables REDIS\_URL et REDIS\_RATE\_LIMIT\_URL dans votre fichier .env pointent vers la bonne instance Redis. * Vérifiez les paramètres réseau et les règles de pare-feu susceptibles de bloquer la connexion au port Redis. ### [​](https://docs.firecrawl.dev/fr/contributing/self-host#le-point-de-terminaison-api-ne-r%C3%A9pond-pas) Le point de terminaison API ne répond pas **Symptôme :** Les requêtes API vers l’instance Firecrawl expirent ou ne renvoient aucune réponse. **Solution :** * Assurez-vous que le service Firecrawl est en cours d’exécution en vérifiant l’état du conteneur Docker. * Vérifiez que les variables PORT et HOST dans votre fichier .env sont correctes et qu’aucun autre service n’utilise le même port. * Contrôlez la configuration réseau pour vous assurer que l’hôte est accessible depuis le client qui effectue la requête API. En résolvant ces problèmes courants, vous faciliterez la configuration et le fonctionnement de votre instance Firecrawl auto-hébergée. [​](https://docs.firecrawl.dev/fr/contributing/self-host#installer-firecrawl-sur-un-cluster-kubernetes-version-simple) Installer Firecrawl sur un cluster Kubernetes (version simple) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Consultez le fichier [examples/kubernetes-cluster-install/README.md](https://github.com/firecrawl/firecrawl/tree/main/examples/kubernetes/cluster-install#readme) pour savoir comment installer Firecrawl sur un cluster Kubernetes. [Suggérer des modifications](https://github.com/firecrawl/firecrawl-docs/edit/main/fr/contributing/self-host.mdx) [Signaler un problème](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/fr/contributing/self-host) [Exécution en local\ \ Précédent](https://docs.firecrawl.dev/fr/contributing/guide) ⌘I --- # Webhook Testing | Firecrawl [Skip to main content](https://docs.firecrawl.dev/webhooks/testing#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Webhooks Testing [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Local Development](https://docs.firecrawl.dev/webhooks/testing#local-development) * [Using Cloudflare Tunnels](https://docs.firecrawl.dev/webhooks/testing#using-cloudflare-tunnels) * [Troubleshooting](https://docs.firecrawl.dev/webhooks/testing#troubleshooting) * [Webhooks Not Arriving](https://docs.firecrawl.dev/webhooks/testing#webhooks-not-arriving) * [Signature Verification Failing](https://docs.firecrawl.dev/webhooks/testing#signature-verification-failing) * [Other Issues](https://docs.firecrawl.dev/webhooks/testing#other-issues) [​](https://docs.firecrawl.dev/webhooks/testing#local-development) Local Development --------------------------------------------------------------------------------------- Since webhooks need to reach your server from the internet, you’ll need to expose your local development server publicly. ### [​](https://docs.firecrawl.dev/webhooks/testing#using-cloudflare-tunnels) Using Cloudflare Tunnels [Cloudflare Tunnels](https://github.com/cloudflare/cloudflared/releases) provide a free way to expose your local server without opening firewall ports: Copy Ask AI cloudflared tunnel --url localhost:3000 You’ll get a public URL like `https://abc123.trycloudflare.com`. Use this in your webhook config: Copy Ask AI { "url": "https://abc123.trycloudflare.com/webhook" } [​](https://docs.firecrawl.dev/webhooks/testing#troubleshooting) Troubleshooting ----------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/webhooks/testing#webhooks-not-arriving) Webhooks Not Arriving * **Endpoint not accessible** - Verify your server is publicly reachable and firewalls allow incoming connections * **Using HTTP** - Webhook URLs must use HTTPS * **Wrong events** - Check the `events` filter in your webhook config ### [​](https://docs.firecrawl.dev/webhooks/testing#signature-verification-failing) Signature Verification Failing The most common cause is using the parsed JSON body instead of the raw request body. Copy Ask AI // Wrong - using parsed body const signature = crypto .createHmac('sha256', secret) .update(JSON.stringify(req.body)) .digest('hex'); // Correct - using raw body app.use('/webhook', express.raw({ type: 'application/json' })); app.post('/webhook', (req, res) => { const signature = crypto .createHmac('sha256', secret) .update(req.body) // Raw buffer .digest('hex'); }); ### [​](https://docs.firecrawl.dev/webhooks/testing#other-issues) Other Issues * **Wrong secret** - Verify you’re using the correct secret from your [account settings](https://www.firecrawl.dev/app/settings?tab=advanced) * **Timeout errors** - Ensure your endpoint responds within 10 seconds [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/webhooks/testing.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/webhooks/testing) [Security\ \ Previous](https://docs.firecrawl.dev/webhooks/security) [Full-Stack Templates\ \ Next](https://docs.firecrawl.dev/developer-guides/examples) ⌘I --- # Webhooks | Firecrawl [Passer au contenu principal](https://docs.firecrawl.dev/fr/webhooks/overview#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![FR](https://d3gk2c5xim1je2.cloudfront.net/flags/FR.svg) Français Rechercher... ⌘KAsk AI Rechercher... Navigation Webhooks Vue d’ensemble [Documentation](https://docs.firecrawl.dev/fr/introduction) [SDK](https://docs.firecrawl.dev/fr/sdks/overview) [Intégrations](https://www.firecrawl.dev/app) [Référence de l’API](https://docs.firecrawl.dev/fr/api-reference/v2-introduction) * [Bac à sable](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Communauté](https://discord.gg/gSmWdAkdwd) * [Journal des modifications](https://firecrawl.dev/changelog) ##### Prise en main * [Démarrage rapide](https://docs.firecrawl.dev/fr/introduction) * [Serveur MCP](https://docs.firecrawl.dev/fr/mcp-server) * [Migration v1 → v2](https://docs.firecrawl.dev/fr/migrate-to-v2) * [Limites de débit](https://docs.firecrawl.dev/fr/rate-limits) * [Guide de scraping avancé](https://docs.firecrawl.dev/fr/advanced-scraping-guide) ##### Nouveautés * Agent ##### Fonctionnalités principales * Extraction * [Recherche](https://docs.firecrawl.dev/fr/features/search) * [Cartographier](https://docs.firecrawl.dev/fr/features/map) * [Exploration](https://docs.firecrawl.dev/fr/features/crawl) ##### Webhooks * [Vue d’ensemble](https://docs.firecrawl.dev/fr/webhooks/overview) * [Types d’événements](https://docs.firecrawl.dev/fr/webhooks/events) * [Sécurité](https://docs.firecrawl.dev/fr/webhooks/security) * [Tests](https://docs.firecrawl.dev/fr/webhooks/testing) ##### Guides pour développeurs * [Modèles full stack](https://docs.firecrawl.dev/fr/developer-guides/examples) * SDK et frameworks pour LLM * Recettes * Guides de configuration MCP * Sites courants * Automatisation des workflows * Guides avancés ##### Cas d’usage * [Aperçu](https://docs.firecrawl.dev/fr/use-cases/overview) * [Plateformes d’IA](https://docs.firecrawl.dev/fr/use-cases/ai-platforms) * [Enrichissement de leads](https://docs.firecrawl.dev/fr/use-cases/lead-enrichment) * [Plateformes SEO](https://docs.firecrawl.dev/fr/use-cases/seo-platforms) * [Recherche approfondie](https://docs.firecrawl.dev/fr/use-cases/deep-research) * Voir plus ##### Contribuer * [Open Source vs Cloud](https://docs.firecrawl.dev/fr/contributing/open-source-or-cloud) * [Exécution en local](https://docs.firecrawl.dev/fr/contributing/guide) * [Auto-hébergement](https://docs.firecrawl.dev/fr/contributing/self-host) Sur cette page * [Opérations prises en charge](https://docs.firecrawl.dev/fr/webhooks/overview#op%C3%A9rations-prises-en-charge) * [Configuration](https://docs.firecrawl.dev/fr/webhooks/overview#configuration) * [Utilisation](https://docs.firecrawl.dev/fr/webhooks/overview#utilisation) * [Exploration avec webhook](https://docs.firecrawl.dev/fr/webhooks/overview#exploration-avec-webhook) * [Scrape par lots avec webhook](https://docs.firecrawl.dev/fr/webhooks/overview#scrape-par-lots-avec-webhook) * [Expirations & Réessais](https://docs.firecrawl.dev/fr/webhooks/overview#expirations-%26-r%C3%A9essais) Les webhooks vous permettent de recevoir des notifications en temps réel au fur et à mesure de l’exécution de vos opérations, au lieu d’interroger périodiquement leur statut. [​](https://docs.firecrawl.dev/fr/webhooks/overview#op%C3%A9rations-prises-en-charge) Opérations prises en charge -------------------------------------------------------------------------------------------------------------------- | Opération | Événements | | --- | --- | | Crawl | `started`, `page`, `completed` | | Batch Scrape | `started`, `page`, `completed` | | Extract | `started`, `completed`, `failed` | | Agent | `started`, `action`, `completed`, `failed`, `cancelled` | [​](https://docs.firecrawl.dev/fr/webhooks/overview#configuration) Configuration ----------------------------------------------------------------------------------- Ajoutez un objet `webhook` à votre requête : JSON Copier Demander à l'IA { "webhook": { "url": "https://your-domain.com/webhook", "metadata": { "any_key": "any_value" }, "events": ["start", "page", "completed", "failed"] } } | Champ | Type | Requis | Description | | --- | --- | --- | --- | | `url` | string | Oui | L’URL de votre endpoint (HTTPS) | | `headers` | object | Non | En-têtes personnalisés à inclure dans les requêtes du webhook | | `metadata` | object | Non | Données personnalisées incluses dans toutes les charges utiles du webhook | | `events` | array | Non | Types d’événements à recevoir (par défaut : tous les événements) | [​](https://docs.firecrawl.dev/fr/webhooks/overview#utilisation) Utilisation ------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/fr/webhooks/overview#exploration-avec-webhook) Exploration avec webhook cURL Copier Demander à l'IA curl -X POST https://api.firecrawl.dev/v2/crawl \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -d '{ "url": "https://docs.firecrawl.dev", "limit": 100, "webhook": { "url": "https://your-domain.com/webhook", "metadata": { "any_key": "any_value" }, "events": ["started", "page", "completed"] } }' ### [​](https://docs.firecrawl.dev/fr/webhooks/overview#scrape-par-lots-avec-webhook) Scrape par lots avec webhook cURL Copier Demander à l'IA curl -X POST https://api.firecrawl.dev/v2/batch/scrape \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -d '{ "urls": [\ "https://example.com/page1",\ "https://example.com/page2",\ "https://example.com/page3"\ ], "webhook": { "url": "https://your-domain.com/webhook", "metadata": { "any_key": "any_value" }, "events": ["started", "page", "completed"] } }' [​](https://docs.firecrawl.dev/fr/webhooks/overview#expirations-&-r%C3%A9essais) Expirations & Réessais ---------------------------------------------------------------------------------------------------------- Votre endpoint doit répondre avec un statut `2xx` en **10 secondes** maximum. Si la livraison échoue (expiration, statut non-2xx ou erreur réseau), Firecrawl réessaie automatiquement : | Réessai | Délai après l’échec | | --- | --- | | 1er | 1 minute | | 2e | 5 minutes | | 3e | 15 minutes | Après 3 réessais infructueux, le webhook est marqué comme échoué et aucune autre tentative n’est effectuée. [Suggérer des modifications](https://github.com/firecrawl/firecrawl-docs/edit/main/fr/webhooks/overview.mdx) [Signaler un problème](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/fr/webhooks/overview) [Exploration\ \ Précédent](https://docs.firecrawl.dev/fr/features/crawl) [Types d’événements\ \ Suivant](https://docs.firecrawl.dev/fr/webhooks/events) ⌘I --- # Introduction - Firecrawl Docs [Passer au contenu principal](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v1 ![FR](https://d3gk2c5xim1je2.cloudfront.net/flags/FR.svg) Français Rechercher... ⌘KAsk AI Rechercher... Navigation Utiliser l’API Introduction [Documentation](https://docs.firecrawl.dev/fr/introduction) [SDK](https://docs.firecrawl.dev/fr/sdks/overview) [Intégrations](https://www.firecrawl.dev/app) [Référence de l’API](https://docs.firecrawl.dev/fr/v1/api-reference/introduction) * [Bac à sable](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Communauté](https://discord.gg/gSmWdAkdwd) * [Journal des modifications](https://firecrawl.dev/changelog) ##### Utiliser l’API * [Introduction](https://docs.firecrawl.dev/fr/v1/api-reference/introduction) ##### Endpoints d’extraction * [POST\ \ Scrape](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/scrape) * [POST\ \ Scraping par lot](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/batch-scrape) * [GET\ \ Obtenir le statut d’un batch scrape](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/batch-scrape-get) * [DEL\ \ Annuler un Batch Scrape](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/batch-scrape-delete) * [GET\ \ Récupérer les erreurs de Batch Scrape](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/batch-scrape-get-errors) ##### Points de terminaison pour l’exploration * [POST\ \ Crawl](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/crawl-post) * [GET\ \ Récupérer le statut d’un crawl](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/crawl-get) * [DEL\ \ Annuler un crawl](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/crawl-delete) * [GET\ \ Récupérer les erreurs de crawl](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/crawl-get-errors) * [GET\ \ Obtenir les crawls actifs](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/crawl-active) ##### Points de terminaison pour la cartographie * [POST\ \ Map](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/map) ##### Points de terminaison pour la recherche * [POST\ \ Recherche](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/search) ##### Points de terminaison pour l’extraction * [POST\ \ Extraction](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/extract) * [GET\ \ Obtenir le statut d'extraction](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/extract-get) ##### Points de terminaison pour le compte * [GET\ \ Utilisation des crédits](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/credit-usage) * [GET\ \ Historique d’utilisation des crédits](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/credit-usage-historical) * [GET\ \ Utilisation des jetons](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/token-usage) * [GET\ \ Historique d’utilisation des jetons](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/token-usage-historical) * [GET\ \ Statut de la file d’attente](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/queue-status) Sur cette page * [Fonctionnalités](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#fonctionnalit%C3%A9s) * [Fonctions agentiques](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#fonctions-agentiques) * [URL de base](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#url-de-base) * [Authentification](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#authentification) * [Codes de réponse](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#codes-de-r%C3%A9ponse) * [Limite de débit](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#limite-de-d%C3%A9bit) [​](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#fonctionnalit%C3%A9s) Fonctionnalités -------------------------------------------------------------------------------------------------------- [Scrape\ ------\ \ Extraire le contenu de n’importe quelle page web en markdown ou en JSON.](https://docs.firecrawl.dev/fr/api-reference/endpoint/scrape) [Crawl\ -----\ \ Explorer des sites entiers et en extraire le contenu ainsi que les métadonnées.](https://docs.firecrawl.dev/fr/api-reference/endpoint/crawl-post) [Map\ ---\ \ Obtenir rapidement et de manière fiable la liste complète des URL d’un site web.](https://docs.firecrawl.dev/fr/api-reference/endpoint/map) [Search\ ------\ \ Rechercher sur le web et obtenir le contenu complet des pages dans le format de votre choix.](https://docs.firecrawl.dev/fr/api-reference/endpoint/search) [​](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#fonctions-agentiques) Fonctions agentiques ------------------------------------------------------------------------------------------------------------- [Extract\ -------\ \ Extraire des données structurées depuis des pages web complètes en langage naturel.](https://docs.firecrawl.dev/fr/api-reference/endpoint/extract) [​](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#url-de-base) URL de base ------------------------------------------------------------------------------------------- Toutes les requêtes utilisent l’URL de base suivante : Copier Demander à l'IA https://api.firecrawl.dev [​](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#authentification) Authentification ----------------------------------------------------------------------------------------------------- Pour s’authentifier, vous devez inclure un en-tête Authorization. Cet en-tête doit contenir `Bearer fc-123456789`, où `fc-123456789` correspond à votre clé d’API. Copier Demander à l'IA Authorization: Bearer fc-123456789 ​ [​](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#codes-de-r%C3%A9ponse) Codes de réponse ---------------------------------------------------------------------------------------------------------- Firecrawl utilise des codes d’état HTTP standard pour indiquer l’issue de vos requêtes. En général, les codes d’état HTTP 2xx indiquent une réussite, les codes 4xx des erreurs côté client, et les codes 5xx des problèmes d’infrastructure. | Status | Description | | --- | --- | | 200 | Requête effectuée avec succès. | | 400 | Vérifiez l’exactitude des paramètres. | | 401 | La clé API n’a pas été fournie. | | 402 | Paiement requis | | 404 | La ressource demandée est introuvable. | | 429 | La limite de débit a été dépassée. | | 5xx | Indique une erreur serveur chez Firecrawl. | Reportez-vous à la section Error Codes pour une explication détaillée de toutes les erreurs API possibles. ​ [​](https://docs.firecrawl.dev/fr/v1/api-reference/introduction#limite-de-d%C3%A9bit) Limite de débit -------------------------------------------------------------------------------------------------------- L’API Firecrawl applique une limite de débit pour garantir la stabilité et la fiabilité du service. Cette limite s’applique à tous les points de terminaison et dépend du nombre de requêtes effectuées sur une période donnée. Si vous dépassez la limite de débit, vous recevrez un code de réponse 429. [Suggérer des modifications](https://github.com/firecrawl/firecrawl-docs/edit/main/fr/v1/api-reference/introduction.mdx) [Signaler un problème](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/fr/v1/api-reference/introduction) [Scrape\ \ Suivant](https://docs.firecrawl.dev/fr/api-reference/v1-endpoint/scrape) ⌘I --- # Tests des webhooks | Firecrawl [Passer au contenu principal](https://docs.firecrawl.dev/fr/webhooks/testing#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![FR](https://d3gk2c5xim1je2.cloudfront.net/flags/FR.svg) Français Rechercher... ⌘KAsk AI Rechercher... Navigation Webhooks Tests [Documentation](https://docs.firecrawl.dev/fr/introduction) [SDK](https://docs.firecrawl.dev/fr/sdks/overview) [Intégrations](https://www.firecrawl.dev/app) [Référence de l’API](https://docs.firecrawl.dev/fr/api-reference/v2-introduction) * [Bac à sable](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Communauté](https://discord.gg/gSmWdAkdwd) * [Journal des modifications](https://firecrawl.dev/changelog) ##### Prise en main * [Démarrage rapide](https://docs.firecrawl.dev/fr/introduction) * [Serveur MCP](https://docs.firecrawl.dev/fr/mcp-server) * [Migration v1 → v2](https://docs.firecrawl.dev/fr/migrate-to-v2) * [Limites de débit](https://docs.firecrawl.dev/fr/rate-limits) * [Guide de scraping avancé](https://docs.firecrawl.dev/fr/advanced-scraping-guide) ##### Nouveautés * Agent ##### Fonctionnalités principales * Extraction * [Recherche](https://docs.firecrawl.dev/fr/features/search) * [Cartographier](https://docs.firecrawl.dev/fr/features/map) * [Exploration](https://docs.firecrawl.dev/fr/features/crawl) ##### Webhooks * [Vue d’ensemble](https://docs.firecrawl.dev/fr/webhooks/overview) * [Types d’événements](https://docs.firecrawl.dev/fr/webhooks/events) * [Sécurité](https://docs.firecrawl.dev/fr/webhooks/security) * [Tests](https://docs.firecrawl.dev/fr/webhooks/testing) ##### Guides pour développeurs * [Modèles full stack](https://docs.firecrawl.dev/fr/developer-guides/examples) * SDK et frameworks pour LLM * Recettes * Guides de configuration MCP * Sites courants * Automatisation des workflows * Guides avancés ##### Cas d’usage * [Aperçu](https://docs.firecrawl.dev/fr/use-cases/overview) * [Plateformes d’IA](https://docs.firecrawl.dev/fr/use-cases/ai-platforms) * [Enrichissement de leads](https://docs.firecrawl.dev/fr/use-cases/lead-enrichment) * [Plateformes SEO](https://docs.firecrawl.dev/fr/use-cases/seo-platforms) * [Recherche approfondie](https://docs.firecrawl.dev/fr/use-cases/deep-research) * Voir plus ##### Contribuer * [Open Source vs Cloud](https://docs.firecrawl.dev/fr/contributing/open-source-or-cloud) * [Exécution en local](https://docs.firecrawl.dev/fr/contributing/guide) * [Auto-hébergement](https://docs.firecrawl.dev/fr/contributing/self-host) Sur cette page * [Développement local](https://docs.firecrawl.dev/fr/webhooks/testing#d%C3%A9veloppement-local) * [Utiliser Cloudflare Tunnels](https://docs.firecrawl.dev/fr/webhooks/testing#utiliser-cloudflare-tunnels) * [Résolution des problèmes](https://docs.firecrawl.dev/fr/webhooks/testing#r%C3%A9solution-des-probl%C3%A8mes) * [Les webhooks n’arrivent pas](https://docs.firecrawl.dev/fr/webhooks/testing#les-webhooks-n%E2%80%99arrivent-pas) * [Échec de la vérification de la signature](https://docs.firecrawl.dev/fr/webhooks/testing#%C3%A9chec-de-la-v%C3%A9rification-de-la-signature) * [Autres problèmes](https://docs.firecrawl.dev/fr/webhooks/testing#autres-probl%C3%A8mes) [​](https://docs.firecrawl.dev/fr/webhooks/testing#d%C3%A9veloppement-local) Développement local --------------------------------------------------------------------------------------------------- Étant donné que les webhooks doivent accéder à votre serveur depuis Internet, vous devrez rendre votre serveur de développement local accessible publiquement. ### [​](https://docs.firecrawl.dev/fr/webhooks/testing#utiliser-cloudflare-tunnels) Utiliser Cloudflare Tunnels [Cloudflare Tunnels](https://github.com/cloudflare/cloudflared/releases) offre un moyen gratuit d’exposer votre serveur local sans ouvrir de ports sur le pare-feu : Copier Demander à l'IA cloudflared tunnel --url localhost:3000 Vous obtiendrez une URL publique de la forme `https://abc123.trycloudflare.com`. Utilisez-la dans la configuration de votre webhook : Copier Demander à l'IA { "url": "https://abc123.trycloudflare.com/webhook" } [​](https://docs.firecrawl.dev/fr/webhooks/testing#r%C3%A9solution-des-probl%C3%A8mes) Résolution des problèmes ------------------------------------------------------------------------------------------------------------------ ### [​](https://docs.firecrawl.dev/fr/webhooks/testing#les-webhooks-n%E2%80%99arrivent-pas) Les webhooks n’arrivent pas * **Endpoint inaccessible** - Vérifiez que votre serveur est accessible publiquement et que les pare-feu autorisent les connexions entrantes * **Utilisation de HTTP** - Les URL de webhook doivent utiliser HTTPS * **Mauvais types d’événements** - Vérifiez le filtre `events` dans la configuration de votre webhook ### [​](https://docs.firecrawl.dev/fr/webhooks/testing#%C3%A9chec-de-la-v%C3%A9rification-de-la-signature) Échec de la vérification de la signature La cause la plus fréquente est l’utilisation du corps JSON parsé au lieu du corps brut de la requête. Copier Demander à l'IA // ❌ Incorrect — utilisation du corps parsé const signature = crypto .createHmac('sha256', secret) .update(JSON.stringify(req.body)) .digest('hex'); // ✅ Correct — utilisation du corps brut app.use('/webhook', express.raw({ type: 'application/json' })); app.post('/webhook', (req, res) => { const signature = crypto .createHmac('sha256', secret) .update(req.body) // Buffer brut .digest('hex'); }); ### [​](https://docs.firecrawl.dev/fr/webhooks/testing#autres-probl%C3%A8mes) Autres problèmes * **Mauvais secret** - Vérifiez que vous utilisez le bon secret depuis vos [paramètres de compte](https://www.firecrawl.dev/app/settings?tab=advanced) * **Erreurs de délai d’attente** - Assurez-vous que votre endpoint répond en moins de 10 secondes [Suggérer des modifications](https://github.com/firecrawl/firecrawl-docs/edit/main/fr/webhooks/testing.mdx) [Signaler un problème](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/fr/webhooks/testing) [Sécurité\ \ Précédent](https://docs.firecrawl.dev/fr/webhooks/security) [Modèles full stack\ \ Suivant](https://docs.firecrawl.dev/fr/developer-guides/examples) ⌘I --- # Modèles full stack - Firecrawl Docs [Passer au contenu principal](https://docs.firecrawl.dev/fr/developer-guides/examples#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![FR](https://d3gk2c5xim1je2.cloudfront.net/flags/FR.svg) Français Rechercher... ⌘KAsk AI Rechercher... Navigation Guides pour développeurs Modèles full stack [Documentation](https://docs.firecrawl.dev/fr/introduction) [SDK](https://docs.firecrawl.dev/fr/sdks/overview) [Intégrations](https://www.firecrawl.dev/app) [Référence de l’API](https://docs.firecrawl.dev/fr/api-reference/v2-introduction) * [Bac à sable](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Communauté](https://discord.gg/gSmWdAkdwd) * [Journal des modifications](https://firecrawl.dev/changelog) ##### Prise en main * [Démarrage rapide](https://docs.firecrawl.dev/fr/introduction) * [Serveur MCP](https://docs.firecrawl.dev/fr/mcp-server) * [Migration v1 → v2](https://docs.firecrawl.dev/fr/migrate-to-v2) * [Limites de débit](https://docs.firecrawl.dev/fr/rate-limits) * [Guide de scraping avancé](https://docs.firecrawl.dev/fr/advanced-scraping-guide) ##### Nouveautés * Agent ##### Fonctionnalités principales * Extraction * [Recherche](https://docs.firecrawl.dev/fr/features/search) * [Cartographier](https://docs.firecrawl.dev/fr/features/map) * [Exploration](https://docs.firecrawl.dev/fr/features/crawl) ##### Webhooks * [Vue d’ensemble](https://docs.firecrawl.dev/fr/webhooks/overview) * [Types d’événements](https://docs.firecrawl.dev/fr/webhooks/events) * [Sécurité](https://docs.firecrawl.dev/fr/webhooks/security) * [Tests](https://docs.firecrawl.dev/fr/webhooks/testing) ##### Guides pour développeurs * [Modèles full stack](https://docs.firecrawl.dev/fr/developer-guides/examples) * SDK et frameworks pour LLM * Recettes * Guides de configuration MCP * Sites courants * Automatisation des workflows * Guides avancés ##### Cas d’usage * [Aperçu](https://docs.firecrawl.dev/fr/use-cases/overview) * [Plateformes d’IA](https://docs.firecrawl.dev/fr/use-cases/ai-platforms) * [Enrichissement de leads](https://docs.firecrawl.dev/fr/use-cases/lead-enrichment) * [Plateformes SEO](https://docs.firecrawl.dev/fr/use-cases/seo-platforms) * [Recherche approfondie](https://docs.firecrawl.dev/fr/use-cases/deep-research) * Voir plus ##### Contribuer * [Open Source vs Cloud](https://docs.firecrawl.dev/fr/contributing/open-source-or-cloud) * [Exécution en local](https://docs.firecrawl.dev/fr/contributing/guide) * [Auto-hébergement](https://docs.firecrawl.dev/fr/contributing/self-host) Sur cette page * [Exemples officiels](https://docs.firecrawl.dev/fr/developer-guides/examples#exemples-officiels) [​](https://docs.firecrawl.dev/fr/developer-guides/examples#exemples-officiels) Exemples officiels ----------------------------------------------------------------------------------------------------- [](https://github.com/firecrawl/open-lovable) [](https://github.com/firecrawl/open-lovable) [Ouvrir Lovable\ --------------](https://github.com/firecrawl/open-lovable) [![Open Lovable](https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExODAwZGJzcDVmZGYxc3MyNDUycTliYnAwem1qbzhtNHh0c2JrNDdmZCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/LMYzMkNmOecj3yFw81/giphy.gif)**Cas d’usage** : créer un chatbot RAG alimenté par des données web en temps réel](https://github.com/firecrawl/open-lovable) [](https://github.com/firecrawl/open-lovable) * [](https://github.com/firecrawl/open-lovable) [Référentiel GitHub](https://github.com/firecrawl/open-lovable) [](https://github.com/firecrawl/open-agent-builder) [](https://github.com/firecrawl/open-agent-builder) [Ouvrir le créateur d’agents\ ---------------------------](https://github.com/firecrawl/open-agent-builder) [![Démonstration](https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExcGNoY25xY2ptZTZtcDN6czBmdXJ2dnpkdWVjcXlqNXNhdjgyZXpkaiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/tWtopK29eXAbvaDpi5/giphy.gif)**Cas d’utilisation** : Créez et déployez des agents IA avec des capacités de web scraping](https://github.com/firecrawl/open-agent-builder) [](https://github.com/firecrawl/open-agent-builder) * [](https://github.com/firecrawl/open-agent-builder) [Dépôt GitHub](https://github.com/firecrawl/open-agent-builder) [](https://github.com/firecrawl/fireplexity) [](https://github.com/firecrawl/fireplexity) [Fireplexity\ -----------](https://github.com/firecrawl/fireplexity) [![Fireplexity](https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExNjBxbmFxamZycWRrMmVhMGFibmZuc3NuZjMxc3lpNHpuamR4OWlwcXF4NSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/QbfaTCB1OmkRmIQwzJ/giphy.gif)**Cas d’usage** : moteur de recherche IA avec sources en temps réel, réponses en continu et données en direct](https://github.com/firecrawl/fireplexity) [](https://github.com/firecrawl/fireplexity) * [](https://github.com/firecrawl/fireplexity) [Dépôt GitHub](https://github.com/firecrawl/fireplexity) [](https://github.com/firecrawl/firegeo) [](https://github.com/firecrawl/firegeo) [FireGEO\ -------](https://github.com/firecrawl/firegeo) [![Démo FireGEO](https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExNjh4N3VwdGw2YXg2ZXpvMHBlNDFlejd1MjBpZXBxNHZ5YXJxOGk5OSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/x2sTqbCW5m7z0qaNJM/giphy.gif)**Cas d’usage** : Starter SaaS avec veille de marque, authentification et facturation](https://github.com/firecrawl/firegeo) [](https://github.com/firecrawl/firegeo) * [](https://github.com/firecrawl/firegeo) [Référentiel GitHub](https://github.com/firecrawl/firegeo) [](https://github.com/firecrawl/fire-enrich) [](https://github.com/firecrawl/fire-enrich) [Fire Enrich\ -----------](https://github.com/firecrawl/fire-enrich) [![Fire Enrich](https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExNjJwMnF2cW5zbXBhbGV6NXBpb3lkZmVhMWEwY3hmdmt3d3ZtbWc5YSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/QhpbWI09KyFZ0rwD72/giphy.gif)**Cas d’usage** : outil d’enrichissement de données propulsé par l’IA qui transforme des e-mails en jeux de données riches](https://github.com/firecrawl/fire-enrich) [](https://github.com/firecrawl/fire-enrich) * [](https://github.com/firecrawl/fire-enrich) [Dépôt GitHub](https://github.com/firecrawl/fire-enrich) [](https://github.com/firecrawl/firesearch) [](https://github.com/firecrawl/firesearch) [Firesearch\ ----------](https://github.com/firecrawl/firesearch) [![Firesearch](https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExd2F2YWo4amdieGVnOXR3aGM5ZnBlcDZvbnRjNW1vNmtpeWNhc3VtbSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Jw7Q08ll8Vh0BoApI8/giphy.gif)**Cas d’usage** : outil de recherche approfondie propulsé par l’IA, avec réponses vérifiées et citations](https://github.com/firecrawl/firesearch) [](https://github.com/firecrawl/firesearch) * [](https://github.com/firecrawl/firesearch) [Repository GitHub](https://github.com/firecrawl/firesearch) [](https://github.com/firecrawl/firestarter) [](https://github.com/firecrawl/firestarter) [Firestarter\ -----------](https://github.com/firecrawl/firestarter) [![Firestarter](https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExNGVhOTdxaDhxZGJ6bnAwaDB3bWp3bXpnYzN1NDBrazJ1MGpvOG51aCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ZAOM1psWWVQYeAaS38/giphy.gif)**Cas d’usage** : créez instantanément des chatbots IA pour n’importe quel site web avec une recherche RAG](https://github.com/firecrawl/firestarter) [](https://github.com/firecrawl/firestarter) * [](https://github.com/firecrawl/firestarter) [Repository GitHub](https://github.com/firecrawl/firestarter) [](https://github.com/firecrawl/ai-ready-website) [](https://github.com/firecrawl/ai-ready-website) [Site web prêt pour l’IA\ -----------------------](https://github.com/firecrawl/ai-ready-website) [![Site web prêt pour l’IA](https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExbzZyaXVlOXoyaGJmMGV5YzBlbXNod2U5emRrZ2lqZTM1eGI1aHlzZSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/irNt0XtSKmenMRqMre/giphy.gif)**Cas d’usage** : Transformer n’importe quel site web en données structurées prêtes pour l’IA](https://github.com/firecrawl/ai-ready-website) [](https://github.com/firecrawl/ai-ready-website) * [](https://github.com/firecrawl/ai-ready-website) [Dépôt GitHub](https://github.com/firecrawl/ai-ready-website) [](https://github.com/firecrawl/open-researcher) [](https://github.com/firecrawl/open-researcher) [Chercheur Open\ --------------](https://github.com/firecrawl/open-researcher) [![Open Researcher](https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExaGJncnpmamlzc3RnMzNpeXNwcGk1Z3kwemd6c2w1ZDdxcGZwdWJwdiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/hhNLykzY76wu7oGFU0/giphy.gif)**Cas d’usage** : Assistant de recherche alimenté par l’IA qui collecte et analyse des données web](https://github.com/firecrawl/open-researcher) [](https://github.com/firecrawl/open-researcher) * [](https://github.com/firecrawl/open-researcher) [Dépôt GitHub](https://github.com/firecrawl/open-researcher) [Suggérer des modifications](https://github.com/firecrawl/firecrawl-docs/edit/main/fr/developer-guides/examples.mdx) [Signaler un problème](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/fr/developer-guides/examples) [Tests\ \ Précédent](https://docs.firecrawl.dev/fr/webhooks/testing) [OpenAI\ \ Suivant](https://docs.firecrawl.dev/fr/developer-guides/llm-sdks-and-frameworks/openai) ⌘I --- # SDKs | Firecrawl [Skip to main content](https://docs.firecrawl.dev/sdks/overview#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Overall Overview [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Overall * [Overview](https://docs.firecrawl.dev/sdks/overview) ##### Official * [Python](https://docs.firecrawl.dev/sdks/python) * [Node](https://docs.firecrawl.dev/sdks/node) * [CLI](https://docs.firecrawl.dev/sdks/cli) ##### Community * [Go](https://docs.firecrawl.dev/sdks/go) * [Rust](https://docs.firecrawl.dev/sdks/rust) On this page * [Official SDKs](https://docs.firecrawl.dev/sdks/overview#official-sdks) * [Community SDKs (v1 only)](https://docs.firecrawl.dev/sdks/overview#community-sdks-v1-only) [​](https://docs.firecrawl.dev/sdks/overview#official-sdks) Official SDKs ---------------------------------------------------------------------------- [Python SDK\ ----------\ \ Explore the Python SDK for Firecrawl.](https://docs.firecrawl.dev/sdks/python) [Node SDK\ --------\ \ Explore the Node SDK for Firecrawl.](https://docs.firecrawl.dev/sdks/node) [CLI\ ---\ \ Use Firecrawl directly from the command line.](https://docs.firecrawl.dev/sdks/cli) [​](https://docs.firecrawl.dev/sdks/overview#community-sdks-v1-only) Community SDKs (v1 only) ------------------------------------------------------------------------------------------------ [Go SDK\ ------\ \ Explore the Go SDK for Firecrawl.](https://docs.firecrawl.dev/sdks/go) [Rust SDK\ --------\ \ Explore the Rust SDK for Firecrawl.](https://docs.firecrawl.dev/sdks/rust) [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/sdks/overview.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/sdks/overview) [Python\ \ Next](https://docs.firecrawl.dev/sdks/python) ⌘I --- # Recherche approfondie - Firecrawl Docs [Passer au contenu principal](https://docs.firecrawl.dev/fr/use-cases/deep-research#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![FR](https://d3gk2c5xim1je2.cloudfront.net/flags/FR.svg) Français Rechercher... ⌘KAsk AI Rechercher... Navigation Cas d’usage Recherche approfondie [Documentation](https://docs.firecrawl.dev/fr/introduction) [SDK](https://docs.firecrawl.dev/fr/sdks/overview) [Intégrations](https://www.firecrawl.dev/app) [Référence de l’API](https://docs.firecrawl.dev/fr/api-reference/v2-introduction) * [Bac à sable](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Communauté](https://discord.gg/gSmWdAkdwd) * [Journal des modifications](https://firecrawl.dev/changelog) ##### Prise en main * [Démarrage rapide](https://docs.firecrawl.dev/fr/introduction) * [Serveur MCP](https://docs.firecrawl.dev/fr/mcp-server) * [Migration v1 → v2](https://docs.firecrawl.dev/fr/migrate-to-v2) * [Limites de débit](https://docs.firecrawl.dev/fr/rate-limits) * [Guide de scraping avancé](https://docs.firecrawl.dev/fr/advanced-scraping-guide) ##### Nouveautés * Agent ##### Fonctionnalités principales * Extraction * [Recherche](https://docs.firecrawl.dev/fr/features/search) * [Cartographier](https://docs.firecrawl.dev/fr/features/map) * [Exploration](https://docs.firecrawl.dev/fr/features/crawl) ##### Webhooks * [Vue d’ensemble](https://docs.firecrawl.dev/fr/webhooks/overview) * [Types d’événements](https://docs.firecrawl.dev/fr/webhooks/events) * [Sécurité](https://docs.firecrawl.dev/fr/webhooks/security) * [Tests](https://docs.firecrawl.dev/fr/webhooks/testing) ##### Guides pour développeurs * [Modèles full stack](https://docs.firecrawl.dev/fr/developer-guides/examples) * SDK et frameworks pour LLM * Recettes * Guides de configuration MCP * Sites courants * Automatisation des workflows * Guides avancés ##### Cas d’usage * [Aperçu](https://docs.firecrawl.dev/fr/use-cases/overview) * [Plateformes d’IA](https://docs.firecrawl.dev/fr/use-cases/ai-platforms) * [Enrichissement de leads](https://docs.firecrawl.dev/fr/use-cases/lead-enrichment) * [Plateformes SEO](https://docs.firecrawl.dev/fr/use-cases/seo-platforms) * [Recherche approfondie](https://docs.firecrawl.dev/fr/use-cases/deep-research) * Voir plus ##### Contribuer * [Open Source vs Cloud](https://docs.firecrawl.dev/fr/contributing/open-source-or-cloud) * [Exécution en local](https://docs.firecrawl.dev/fr/contributing/guide) * [Auto-hébergement](https://docs.firecrawl.dev/fr/contributing/self-host) Sur cette page * [Démarrer avec un modèle](https://docs.firecrawl.dev/fr/use-cases/deep-research#d%C3%A9marrer-avec-un-mod%C3%A8le) * [Fonctionnement](https://docs.firecrawl.dev/fr/use-cases/deep-research#fonctionnement) * [Pourquoi les chercheurs choisissent Firecrawl](https://docs.firecrawl.dev/fr/use-cases/deep-research#pourquoi-les-chercheurs-choisissent-firecrawl) * [Réduisez des semaines de recherche à quelques heures](https://docs.firecrawl.dev/fr/use-cases/deep-research#r%C3%A9duisez-des-semaines-de-recherche-%C3%A0-quelques-heures) * [Garantir l’exhaustivité de la recherche](https://docs.firecrawl.dev/fr/use-cases/deep-research#garantir-l%E2%80%99exhaustivit%C3%A9-de-la-recherche) * [Capacités de l’outil de recherche](https://docs.firecrawl.dev/fr/use-cases/deep-research#capacit%C3%A9s-de-l%E2%80%99outil-de-recherche) * [FAQ](https://docs.firecrawl.dev/fr/use-cases/deep-research#faq) * [Cas d’usage associés](https://docs.firecrawl.dev/fr/use-cases/deep-research#cas-d%E2%80%99usage-associ%C3%A9s) Des chercheurs universitaires et des analystes utilisent le mode de recherche approfondie de Firecrawl pour agréger automatiquement des données issues de centaines de sources. [​](https://docs.firecrawl.dev/fr/use-cases/deep-research#d%C3%A9marrer-avec-un-mod%C3%A8le) Démarrer avec un modèle ----------------------------------------------------------------------------------------------------------------------- [Fireplexity\ -----------\ \ Recherche IA ultra-rapide avec citations en temps réel](https://github.com/mendableai/fireplexity) [Firesearch\ ----------\ \ Agent de recherche approfondie avec LangGraph et validation des réponses](https://github.com/mendableai/firesearch) [Open Researcher\ ---------------\ \ Assistant de recherche IA visuel pour une analyse complète](https://github.com/mendableai/open-researcher) **Choisissez parmi plusieurs modèles de recherche.** Clonez, configurez votre clé API et commencez vos recherches. [​](https://docs.firecrawl.dev/fr/use-cases/deep-research#fonctionnement) Fonctionnement ------------------------------------------------------------------------------------------- Créez des outils de recherche puissants qui transforment des données web dispersées en analyses complètes. Utilisez les API Firecrawl pour explorer des sujets de façon itérative, découvrir des sources et extraire du contenu avec citations complètes pour vos applications de recherche. [​](https://docs.firecrawl.dev/fr/use-cases/deep-research#pourquoi-les-chercheurs-choisissent-firecrawl) Pourquoi les chercheurs choisissent Firecrawl --------------------------------------------------------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/fr/use-cases/deep-research#r%C3%A9duisez-des-semaines-de-recherche-%C3%A0-quelques-heures) Réduisez des semaines de recherche à quelques heures Concevez des systèmes de recherche automatisés qui découvrent, lisent et synthétisent des informations sur l’ensemble du web. Créez des outils capables de produire des rapports exhaustifs avec des citations complètes, éliminant la nécessité de fouiller manuellement des centaines de sources. ### [​](https://docs.firecrawl.dev/fr/use-cases/deep-research#garantir-l%E2%80%99exhaustivit%C3%A9-de-la-recherche) Garantir l’exhaustivité de la recherche Réduisez le risque de manquer des informations cruciales. Créez des systèmes qui suivent les chaînes de citations, découvrent des sources connexes et mettent en avant des enseignements que les méthodes de recherche traditionnelles ne révèlent pas. [​](https://docs.firecrawl.dev/fr/use-cases/deep-research#capacit%C3%A9s-de-l%E2%80%99outil-de-recherche) Capacités de l’outil de recherche ---------------------------------------------------------------------------------------------------------------------------------------------- * **Exploration itérative**: Créez des outils qui découvrent automatiquement des sujets et des sources connexes * **Synthèse multi-sources**: Combinez des informations issues de centaines de sites web * **Préservation des citations**: Conservez l’attribution complète des sources dans vos résultats de recherche * **Résumé intelligent**: Extrayez les principaux enseignements et insights pour l’analyse * **Détection des tendances**: Identifiez des tendances à partir de multiples sources [​](https://docs.firecrawl.dev/fr/use-cases/deep-research#faq) FAQ --------------------------------------------------------------------- Comment puis-je créer des outils de recherche avec Firecrawl ? Utilisez les API de crawl et de recherche de Firecrawl pour créer des systèmes de recherche itératifs. Commencez par les résultats de recherche, extrayez le contenu des pages pertinentes, suivez les liens de citation et agréguez les résultats. Combinez-les avec des LLM pour synthétiser des rapports de recherche complets. Firecrawl peut-il gérer les sites académiques et scientifiques ? Oui. Firecrawl peut extraire des données issues d’articles de recherche en libre accès, de sites académiques et de publications scientifiques publiques. Il préserve la mise en forme, les citations et le contenu technique essentiels au travail de recherche. Comment garantir l’exactitude des données de recherche ? Firecrawl maintient l’attribution des sources et extrait le contenu exactement tel qu’il est présenté sur les sites web. Toutes les données incluent les URL sources et des horodatages, garantissant une traçabilité complète à des fins de recherche. Puis-je utiliser Firecrawl pour des études longitudinales ? Oui. Configurez des crawls planifiés pour suivre l’évolution des informations dans le temps. C’est idéal pour surveiller les tendances, les évolutions de politiques ou toute recherche nécessitant une analyse temporelle des données. Comment Firecrawl gère-t-il les projets de recherche à grande échelle ? Notre infrastructure de crawl passe à l’échelle pour gérer des milliers de sources simultanément. Que vous analysiez des secteurs entiers ou suiviez des tendances mondiales, Firecrawl fournit le pipeline de données dont vous avez besoin. [​](https://docs.firecrawl.dev/fr/use-cases/deep-research#cas-d%E2%80%99usage-associ%C3%A9s) Cas d’usage associés -------------------------------------------------------------------------------------------------------------------- * [Plateformes d’IA](https://docs.firecrawl.dev/fr/use-cases/ai-platforms) - Créez des assistants de recherche IA * [Génération de contenu](https://docs.firecrawl.dev/fr/use-cases/content-generation) - Contenu fondé sur la recherche * [Veille concurrentielle](https://docs.firecrawl.dev/fr/use-cases/competitive-intelligence) - Études de marché [Suggérer des modifications](https://github.com/firecrawl/firecrawl-docs/edit/main/fr/use-cases/deep-research.mdx) [Signaler un problème](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/fr/use-cases/deep-research) [Plateformes SEO\ \ Précédent](https://docs.firecrawl.dev/fr/use-cases/seo-platforms) [Produit et e-commerce\ \ Suivant](https://docs.firecrawl.dev/fr/use-cases/product-ecommerce) ⌘I --- # Webhook Security | Firecrawl [Skip to main content](https://docs.firecrawl.dev/webhooks/security#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Webhooks Security [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Secret Key](https://docs.firecrawl.dev/webhooks/security#secret-key) * [Signature Verification](https://docs.firecrawl.dev/webhooks/security#signature-verification) * [How to Verify](https://docs.firecrawl.dev/webhooks/security#how-to-verify) * [Implementation](https://docs.firecrawl.dev/webhooks/security#implementation) * [Best Practices](https://docs.firecrawl.dev/webhooks/security#best-practices) * [Always Verify Signatures](https://docs.firecrawl.dev/webhooks/security#always-verify-signatures) * [Use Timing-Safe Comparisons](https://docs.firecrawl.dev/webhooks/security#use-timing-safe-comparisons) * [Use HTTPS](https://docs.firecrawl.dev/webhooks/security#use-https) Firecrawl signs every webhook request using HMAC-SHA256. Verifying signatures ensures requests are authentic and haven’t been tampered with. [​](https://docs.firecrawl.dev/webhooks/security#secret-key) Secret Key -------------------------------------------------------------------------- Your webhook secret is available in the [Advanced tab](https://www.firecrawl.dev/app/settings?tab=advanced) of your account settings. Each account has a unique secret used to sign all webhook requests. Keep your webhook secret secure and never expose it publicly. If you believe your secret has been compromised, regenerate it immediately from your account settings. [​](https://docs.firecrawl.dev/webhooks/security#signature-verification) Signature Verification -------------------------------------------------------------------------------------------------- Each webhook request includes an `X-Firecrawl-Signature` header: Copy Ask AI X-Firecrawl-Signature: sha256=abc123def456... ### [​](https://docs.firecrawl.dev/webhooks/security#how-to-verify) How to Verify 1. Extract the signature from the `X-Firecrawl-Signature` header 2. Get the raw request body (before parsing) 3. Compute HMAC-SHA256 using your secret key 4. Compare signatures using a timing-safe function ### [​](https://docs.firecrawl.dev/webhooks/security#implementation) Implementation Node/Express Python/Flask Copy Ask AI import crypto from 'crypto'; import express from 'express'; const app = express(); // Use raw body parser for signature verification app.use('/webhook/firecrawl', express.raw({ type: 'application/json' })); app.post('/webhook/firecrawl', (req, res) => { const signature = req.get('X-Firecrawl-Signature'); const webhookSecret = process.env.FIRECRAWL_WEBHOOK_SECRET; if (!signature || !webhookSecret) { return res.status(401).send('Unauthorized'); } // Extract hash from signature header const [algorithm, hash] = signature.split('='); if (algorithm !== 'sha256') { return res.status(401).send('Invalid signature algorithm'); } // Compute expected signature const expectedSignature = crypto .createHmac('sha256', webhookSecret) .update(req.body) .digest('hex'); // Verify signature using timing-safe comparison if (!crypto.timingSafeEqual(Buffer.from(hash, 'hex'), Buffer.from(expectedSignature, 'hex'))) { return res.status(401).send('Invalid signature'); } // Parse and process verified webhook const event = JSON.parse(req.body); console.log('Verified Firecrawl webhook:', event); res.status(200).send('ok'); }); app.listen(3000, () => console.log('Listening on 3000')); [​](https://docs.firecrawl.dev/webhooks/security#best-practices) Best Practices ---------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/webhooks/security#always-verify-signatures) Always Verify Signatures Never process a webhook without verifying its signature first: Copy Ask AI app.post('/webhook', (req, res) => { if (!verifySignature(req)) { return res.status(401).send('Unauthorized'); } processWebhook(req.body); res.status(200).send('OK'); }); ### [​](https://docs.firecrawl.dev/webhooks/security#use-timing-safe-comparisons) Use Timing-Safe Comparisons Standard string comparison can leak timing information. Use `crypto.timingSafeEqual()` in Node.js or `hmac.compare_digest()` in Python. ### [​](https://docs.firecrawl.dev/webhooks/security#use-https) Use HTTPS Always use HTTPS for your webhook endpoint to ensure payloads are encrypted in transit. [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/webhooks/security.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/webhooks/security) [Event Types\ \ Previous](https://docs.firecrawl.dev/webhooks/events) [Testing\ \ Next](https://docs.firecrawl.dev/webhooks/testing) ⌘I --- # AI Platforms - Firecrawl Docs [Skip to main content](https://docs.firecrawl.dev/use-cases/ai-platforms#content-area) [Firecrawl Docs home page![light logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=c45b3c967c19a39190e76fe8e9c2ed5a)![dark logo](https://mintcdn.com/firecrawl/iilnMwCX-8eR1yOO/logo/logo-dark.png?fit=max&auto=format&n=iilnMwCX-8eR1yOO&q=85&s=3fee4abe033bd3c26e8ad92043a91c17)](https://firecrawl.dev/) v2 ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Use Cases AI Platforms [Documentation](https://docs.firecrawl.dev/introduction) [SDKs](https://docs.firecrawl.dev/sdks/overview) [Integrations](https://www.firecrawl.dev/app) [API Reference](https://docs.firecrawl.dev/api-reference/v2-introduction) * [Playground](https://firecrawl.dev/playground) * [Blog](https://firecrawl.dev/blog) * [Community](https://discord.gg/gSmWdAkdwd) * [Changelog](https://firecrawl.dev/changelog) ##### Get Started * [Quickstart](https://docs.firecrawl.dev/introduction) * [MCP Server](https://docs.firecrawl.dev/mcp-server) * [Migrating from v1 to v2](https://docs.firecrawl.dev/migrate-to-v2) * [Rate Limits](https://docs.firecrawl.dev/rate-limits) * [Advanced Scraping Guide](https://docs.firecrawl.dev/advanced-scraping-guide) ##### New Features * Agent ##### Standard Features * Scrape * [Search](https://docs.firecrawl.dev/features/search) * [Map](https://docs.firecrawl.dev/features/map) * [Crawl](https://docs.firecrawl.dev/features/crawl) ##### Webhooks * [Overview](https://docs.firecrawl.dev/webhooks/overview) * [Event Types](https://docs.firecrawl.dev/webhooks/events) * [Security](https://docs.firecrawl.dev/webhooks/security) * [Testing](https://docs.firecrawl.dev/webhooks/testing) ##### Developer Guides * [Full-Stack Templates](https://docs.firecrawl.dev/developer-guides/examples) * LLM SDKs and Frameworks * Cookbooks * MCP Setup Guides * Common Sites * Workflow Automation * Advanced Guides ##### Use Cases * [Overview](https://docs.firecrawl.dev/use-cases/overview) * [AI Platforms](https://docs.firecrawl.dev/use-cases/ai-platforms) * [Lead Enrichment](https://docs.firecrawl.dev/use-cases/lead-enrichment) * [SEO Platforms](https://docs.firecrawl.dev/use-cases/seo-platforms) * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) * View more ##### Contributing * [Open Source vs Cloud](https://docs.firecrawl.dev/contributing/open-source-or-cloud) * [Running locally](https://docs.firecrawl.dev/contributing/guide) * [Self-hosting](https://docs.firecrawl.dev/contributing/self-host) On this page * [Start with a Template](https://docs.firecrawl.dev/use-cases/ai-platforms#start-with-a-template) * [How It Works](https://docs.firecrawl.dev/use-cases/ai-platforms#how-it-works) * [Why AI Platforms Choose Firecrawl](https://docs.firecrawl.dev/use-cases/ai-platforms#why-ai-platforms-choose-firecrawl) * [Reduce Hallucinations with Real-Time Data](https://docs.firecrawl.dev/use-cases/ai-platforms#reduce-hallucinations-with-real-time-data) * [Customer Stories](https://docs.firecrawl.dev/use-cases/ai-platforms#customer-stories) * [FAQs](https://docs.firecrawl.dev/use-cases/ai-platforms#faqs) * [Related Use Cases](https://docs.firecrawl.dev/use-cases/ai-platforms#related-use-cases) AI platform builders and teams use Firecrawl to power knowledge bases, chatbots, and enable customers to build AI applications with web data. [​](https://docs.firecrawl.dev/use-cases/ai-platforms#start-with-a-template) Start with a Template ----------------------------------------------------------------------------------------------------- [Firestarter\ -----------\ \ Instant AI chatbots for websites with web knowledge integration](https://github.com/mendableai/firestarter) **Get started with templates and examples.** Build AI-powered applications with web data. [​](https://docs.firecrawl.dev/use-cases/ai-platforms#how-it-works) How It Works ----------------------------------------------------------------------------------- Transform websites into AI-ready data. Power chatbots with real-time web knowledge, build RAG systems with up-to-date documentation, and enable your users to connect their AI applications to web sources. [​](https://docs.firecrawl.dev/use-cases/ai-platforms#why-ai-platforms-choose-firecrawl) Why AI Platforms Choose Firecrawl ----------------------------------------------------------------------------------------------------------------------------- ### [​](https://docs.firecrawl.dev/use-cases/ai-platforms#reduce-hallucinations-with-real-time-data) Reduce Hallucinations with Real-Time Data Your AI assistants need current information, not outdated training data. Whether it’s domain-specific knowledge, technical documentation, or industry-specific content, Firecrawl ensures your knowledge bases stay synchronized with the latest updates-reducing hallucinations and improving response accuracy. [​](https://docs.firecrawl.dev/use-cases/ai-platforms#customer-stories) Customer Stories ------------------------------------------------------------------------------------------- [**Replit**Learn how Replit leverages Firecrawl to keep Replit Agent up-to-date with the latest API documentation and web content.](https://www.firecrawl.dev/blog/how-replit-uses-firecrawl-to-power-ai-agents) [**Stack AI**Discover how Stack AI uses Firecrawl to seamlessly feed agentic AI workflows with high-quality web data.](https://www.firecrawl.dev/blog/how-stack-ai-uses-firecrawl-to-power-ai-agents) [​](https://docs.firecrawl.dev/use-cases/ai-platforms#faqs) FAQs ------------------------------------------------------------------- How does Firecrawl integrate with AI development platforms? Firecrawl provides simple APIs and SDKs that integrate directly into AI platforms. Whether you’re building with LangChain, using no-code tools like n8n, or custom frameworks, Firecrawl delivers clean, structured web data ready for AI consumption. Can Firecrawl handle the scale required for AI training? Yes. Firecrawl is designed for enterprise-scale data extraction, processing millions of pages for AI training datasets. Our infrastructure scales automatically to meet your needs. What data formats does Firecrawl provide for AI platforms? Firecrawl delivers data in AI-friendly formats including clean markdown, structured JSON, raw HTML, extracted images, screenshots, and news content. This flexibility ensures compatibility with any AI platform’s data ingestion requirements. How do I handle authentication for gated content? Firecrawl supports authentication headers and cookies for accessing protected content. Configure your API requests with the necessary credentials to extract data from login-protected documentation, knowledge bases, or member-only sites. Can I use Firecrawl for real-time AI applications? Yes! Our API supports real-time data extraction, enabling AI applications to access fresh web data on-demand. This is perfect for AI agents that need current information to make decisions. [​](https://docs.firecrawl.dev/use-cases/ai-platforms#related-use-cases) Related Use Cases --------------------------------------------------------------------------------------------- * [Deep Research](https://docs.firecrawl.dev/use-cases/deep-research) - Advanced research capabilities * [Content Generation](https://docs.firecrawl.dev/use-cases/content-generation) - AI-powered content creation * [Developers & MCP](https://docs.firecrawl.dev/use-cases/developers-mcp) - Developer integrations [Suggest edits](https://github.com/firecrawl/firecrawl-docs/edit/main/use-cases/ai-platforms.mdx) [Raise issue](https://github.com/firecrawl/firecrawl-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/use-cases/ai-platforms) [Use Cases\ \ Previous](https://docs.firecrawl.dev/use-cases/overview) [Lead Enrichment\ \ Next](https://docs.firecrawl.dev/use-cases/lead-enrichment) ⌘I ---