A Firecrawl API key lets whoever holds it use the Firecrawl scraping and crawling service as your team: fetching pages, running crawls and extractions, and spending the credits of your plan. The main dangers are a drained credit balance, extra charges where your plan allows overage, and your service being rate-limited or blocked because someone else is using your quota. The key does not reach your own servers. Create a new key first, then revoke the exposed one.
Check your GitHub account for leaked secrets — free
- Provider
- Firecrawl
- Severity
- High
- Impact
- SaaS account access and billing
- Checked live by LeakWatch
- No
What a Firecrawl API Key looks like
A Firecrawl key starts with fc- followed by a body of lowercase hexadecimal characters:
fc-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Firecrawl API key (masked)
Keys seen in practice carry 32 hexadecimal characters after the prefix, and the detection rule also tolerates up to 48. The prefix is short, so check the body: a string with capital letters, or with characters outside 0-9 and a-f, is not a Firecrawl key. The value is usually held in FIRECRAWL_API_KEY and sent as a bearer token in the Authorization header to api.firecrawl.dev. It also appears in the configuration of tools that wrap Firecrawl, such as agent frameworks and MCP server definitions, where it is passed as an environment variable. Standard keys have no permission levels or expiry date, so every leaked key has full access to the team’s usage until it is deleted.
How Firecrawl API Keys get leaked
- Agent and MCP configuration. A client configuration file with
FIRECRAWL_API_KEYset in anenvblock, committed with the rest of the project. - Environment files. The variable in a
.envor compose file that lands in a repository. - Notebooks and scripts. A scraping test with the key typed into the client constructor and published as a tutorial.
- Front-end code. A key placed in a bundle so a page can call the API directly, where anyone can extract it.
- Logs and screenshots. A request header printed by a debug option, or a dashboard capture that shows the key.
What to do in the first hour
- Open the API keys page of your Firecrawl dashboard (see the link below). Find the exposed key and match it by its last characters.
- Create a new key first. Firecrawl’s documentation notes that an account must always keep at least one active key, so you need a replacement before you can delete the leaked one.
- Deploy the new key to the application, agent configuration or secret store, and run one small scrape to confirm it works.
- Delete the exposed key from the same list. Firecrawl states that deleted keys are removed rather than kept in a soft-deleted state. Retry a call with the old value to confirm it is rejected.
- Check usage. Review the credit usage and request history in the dashboard for the period since the exposure. Look for crawls of sites you never targeted, large jumps in credits and activity at unusual hours.
- Check your plan and billing. Confirm that no extra credits or plan upgrades were bought, and look at the team members with access.
- Look for neighbours and clean up. Agent configurations often hold several keys, such as model, search and database keys. Rotate each one, then clean the code. See I accidentally pushed an API key to GitHub.
Not sure what else leaked from the same repository? Run a free scan.
Revoke it at Firecrawl
Firecrawl keys are managed from the API keys page of your Firecrawl dashboard, after you sign in with a user of the team that owns them. Create the replacement, then delete the exposed key from the same list. Firecrawl’s documentation describes the page as the place to create, view and revoke keys for the team. A person has not confirmed the exact menu wording for this guide, and the interface can change, so if what you see differs, look for the section where keys are listed, and follow the Firecrawl documentation. Keys created for the Firecrawl for Platforms program are separate and are managed in their own settings section.
How LeakWatch detects it
The rule is called Firecrawl API Key. It recognizes fc- followed by 32 to 48 lowercase hexadecimal characters, with word boundaries on both sides, and it does not need a variable name next to it. The text fc- must be present as a keyword. Uppercase hex, a different prefix, or a body shorter than 32 or longer than 48 characters is not reported. The severity is high. This type is not checked live: LeakWatch does not send any request to Firecrawl with the key it found.
LeakWatch detects this format but does not check it live: it can tell you the key is exposed, not whether it still works. Assume it does until you have revoked it.
FAQ
Can someone read my previous scrape results with this key?
The key authorizes new requests against your team’s quota. Whether earlier results are reachable depends on what the API exposes for your team, so review the activity in the dashboard rather than assuming. Delete the key first.
Why can't I delete my only key?
The documentation says an account must always have one active key. Create a new one, deploy it, then delete the leaked one.
Is a key in a private repository safe?
Not necessarily. Collaborators, forks and CI logs can read it. Replace the key if the repository was ever public, or if you are unsure who has access.