Features

Agentic Features

Base URL

All requests contain the following base URL:
https://api.firecrawl.dev 

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.
Authorization: Bearer fc-123456789

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.
StatusDescription
200Request was successful.
400Verify the correctness of the parameters.
401The API key was not provided.
402Payment required
404The requested resource could not be located.
429The rate limit has been surpassed.
5xxSignifies a server error with Firecrawl.
Refer to the Error Codes section for a detailed explanation of all potential API errors.

Firecrawl error codes (5xx)

When a 5xx error occurs, Firecrawl provides more specific error codes to clarify what went wrong.​
Error CodeStatusDescription
SCRAPE_ALL_ENGINES_FAILED500All scraping engines failed.
SCRAPE_SSL_ERROR500Page SSL certificate is invalid. You can use skipTlsVerification:true to bypass this check.
SCRAPE_SITE_ERROR500Unrecoverable site error.
SCRAPE_DNS_RESOLUTION_ERROR500DNS resolution failed.
SCRAPE_ACTION_ERROR500Error while performing a page action.
SCRAPE_PDF_PREFETCH_FAILED500Failed to prefetch PDF.
SCRAPE_PDF_INSUFFICIENT_TIME_ERROR500Not enough time to process PDF.
SCRAPE_PDF_ANTIBOT_ERROR500PDF blocked by anti-bot mechanisms.
SCRAPE_ZDR_VIOLATION_ERROR500Zero Data Retention conflict: occurs when zeroDataRetention:true but another option (e.g. screenshot) requires temporary storage.
SCRAPE_UNSUPPORTED_FILE_ERROR500Unsupported file type.
UNKNOWN_ERROR500Generic or unexpected error.

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.