Skip to content

Firecrawl API and MCP

Firecrawl converts websites into structured data or Markdown through scraping, crawling, search and extraction APIs. An agent can turn website pages into Markdown and collect URLs for content audits. Add your Firecrawl key once in Longwave settings; calls run on your vendor account.

Add to Longwave

Add Firecrawl to your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

functions
14
lowest price
$0.001/result
access
Your key
tasks
5

Use Firecrawl on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Add your Firecrawl API key once in Longwave settings. Calls run on your Firecrawl account at Firecrawl's price.
  3. Ask for the result in any thread, for example: “Convert a documentation page into Markdown”. The agent picks the Firecrawl function and calls it.

Use Firecrawl in Claude Code, Codex, Cursor or ChatGPT

Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including Firecrawl, and asks you to sign in on first use.

Why call Firecrawl through Longwave

  • Your Firecrawl key is stored once, encrypted, and used by every harness and device you use.
  • One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
  • Spending limits per key and per account, checked before a paid call is made.
  • Each call is recorded with the provider, the cost and the result, and can be read again from another device.

Firecrawl functions

Web 9

Function Price
Search the web Accepts a search query and returns web search results matching the query. firecrawl.web.search
$0.01 per 10 results Search costs 2 credits per block of up to 10 results. Hobby PAYG credits cost $5 per 1,000; a paid plan is required. Page scraping costs extra.
Extract structured information from web pages Accepts page URLs and a text prompt and returns a receipt for structured data extraction from URLs. firecrawl.web.extract
$0.005 per credit Extract uses 1 credit per 15 tokens. Hobby PAYG credits cost $5 per 1,000; a paid plan is required. The token count determines the total charge.
Start scraping a batch of web pages Accepts up to five public page URLs and returns a batch ID for retrieving their Markdown content after scraping. firecrawl.batch.submit
$0.005 per page Markdown scraping costs 1 credit per page. Hobby PAYG credits cost $5 per 1,000; a paid plan is required.
Scrape a web page Extract markdown from one public web page. firecrawl.web.scrape
$0.005 per page Basic operation: 1 credit/page. Smallest published PAYG increment: $5 / 1,000 credits on Hobby; a paid plan is required. JSON, Question and Highlight formats add 4 credits/page.
Map a website Find links on a public website. firecrawl.web.map
$0.005 per page Basic operation: 1 credit/page. Smallest published PAYG increment: $5 / 1,000 credits on Hobby; a paid plan is required. JSON, Question and Highlight formats add 4 credits/page.
Start a website crawl Submit and monitor a bounded website crawl. firecrawl.web.crawl
$0.005 per page Basic operation: 1 credit/page. Smallest published PAYG increment: $5 / 1,000 credits on Hobby; a paid plan is required. JSON, Question and Highlight formats add 4 credits/page.
Get the status and results of a web scraping batch Accepts a batch ID and returns its scraping status, total and completed page counts, and available page content. firecrawl.openapi.get.batch.scrape.id
See vendor pricing.
Get the errors from a web scraping batch Accepts a batch ID and returns failed page URLs with error messages and URLs blocked by robots.txt. firecrawl.openapi.get.batch.scrape.id.errors
See vendor pricing.
Get extracted structured information (queued result) Accepts a task ID and returns extraction status and structured data when complete. firecrawl.openapi.get.extract.id
See vendor pricing.

Firecrawl 5

Every function here: See vendor pricing. See vendor pricing.

Function
Search Firecrawl's developer index Accepts a search query, resource types, repository names and source sites and returns matching developer resources and code passages. firecrawl.openapi.get.search.developer
Search Firecrawl's government index Accepts a search query, a jurisdiction, a court and a court type and returns government and legal documents matching the query. firecrawl.openapi.get.search.gov
Search research papers with Firecrawl Accepts a search query, author names, company categories and a start date and returns research papers matching the query and publication criteria. firecrawl.openapi.get.search.research.papers
Get a research paper from Firecrawl Accepts a paper ID and a search query and returns paper details and relevant text passages. firecrawl.openapi.get.search.research.papers.id
Find related research papers with Firecrawl Accepts a paper ID, a research intent and a retrieval mode and returns papers related to the requested research paper. firecrawl.openapi.get.search.research.papers.id.similar

Prices are Firecrawl's published rates. Source: Firecrawl pricing.

Use cases

Questions people ask

How do I get a Firecrawl API key?

Sign in to Firecrawl and create a key at firecrawl.dev/app/api-keys. Add it once in Longwave settings and your agents' Firecrawl calls run on your own account. Firecrawl API keys

Does Firecrawl offer a free API allowance?

Firecrawl publishes this allowance: 1,000 credits per month. The allowance applies to the vendor account used for the call. Firecrawl pricing

Do I need a Firecrawl account?

Yes. Create a key at https://firecrawl.dev/app/api-keys and add it in Longwave settings. Longwave stores it encrypted and uses it only for your calls.

What does a Firecrawl API call cost through Longwave?

The same as calling Firecrawl directly. For example, “Search the web” costs $0.01 per 10 results. Longwave adds no markup. Firecrawl pricing

How do I use Firecrawl in Claude Code?

Add the Longwave MCP server once with claude mcp add --transport http longwave https://api.longwave.run/v1/mcp/tasks, sign in, and ask for what you need. Claude finds the right Firecrawl function and calls it.

Use Firecrawl in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave