Skip to main content

Overview

The Firecrawl Partner Integration API lets your platform create and manage Firecrawl API keys for your users directly from your own backend. Users start using Firecrawl without leaving your platform.
Set up the Partner API yourself in the Firecrawl dashboard. Any admin or member of an organization can create an integration: name it, choose a setup, accept the agreement for that setup, and copy the partner key. The key is shown once. You can mint and revoke keys later under Settings. No application or approval is needed.
There are two setups. Both provision accounts the same way through the endpoints below; they differ in who pays for the user’s usage:
  • Partner API: each provisioned account keeps its own Firecrawl plan and billing. Users start on the Free plan and upgrade with Firecrawl directly.
  • Gateway: accounts your integration creates are enrolled in Gateway, so their eligible usage bills to your organization once the user’s own credits are used. Gateway accounts are API-only and have no dashboard login of their own.
You choose the setup when you create the integration. It is not easy to change afterwards, so we recommend reviewing both options carefully before you accept the agreement. See the Partner API page for an overview. Some partner offers include promotional credits for provisioned users; when they do, Partner Credits describes what the user receives.

Base URL

Authentication

All Partner Integration API requests require an Authorization header with your partner key:
Partner keys are distinct from standard Firecrawl API keys. You create and revoke them under Settings > Partner API in the Firecrawl dashboard.

Security Requirements

  • Server-side only: Partner keys must only be used in server-side code. Never expose a partner key in frontend code, client-side JavaScript, or mobile applications.
  • Terms of Service: Before calling POST /partner/v1/accounts, your platform must prompt the user to accept Firecrawl’s Terms of Service.

Endpoints

Create user

Provisions a Firecrawl account for one of your users, identified by email, and returns its API key.

Behavior

With the Partner API setup:
  • If the user does not yet have a Firecrawl account, a new user and team are created.
  • If the user already has a Firecrawl account but no team associated with your integration, a new partner-associated team is created.
  • If the user already has a Firecrawl account and a team associated with your integration, the existing team is returned.
With the Gateway setup:
  • Every account is created for your integration alone. A request never attaches to an existing Firecrawl account, even when the email matches one. The email is stored as the account’s contact address and is not used to look accounts up.
  • Repeated calls for the same email return the same account and its API key.
If your integration includes promotional credits, they are applied once, when the account is first created.

Request

cURL
Body

Response

200 OK
With the Gateway setup the response also carries the enrollment status:

Errors


Validate API Key

Validates a Firecrawl API key and returns the associated team name and user email address. The API key will only return as valid if it was created through this partner integration.

Important Notes

  • Firecrawl API keys do not have permissions or an expiry date.
  • API keys can be manually deleted by users at any time.
  • Deleted API keys are not soft-deleted. Firecrawl cannot distinguish a deleted key from one that never existed.

Request

cURL
Body

Response

200 OK

Errors


Rotate API Key

Deletes an existing Firecrawl API key and creates a new one for the same user and team.

Request

cURL
Body

Response

200 OK

Errors


Get Started

Create your integration in the Firecrawl dashboard: sign in, choose Partner API or Gateway, accept the agreement, and copy your partner key. The setup is not easy to change afterwards, so please confirm your choice before accepting the agreement. Then call the endpoints above from your server. Questions about your setup? Write to help@firecrawl.com. A larger integration in mind? Write to partnerships@firecrawl.dev.