How to hit the Firecrawl API

Firecrawl at https://api.firecrawl.dev/v2 turns web pages into clean markdown or structured data, handling JavaScript-rendered sites.

Authentication

Create a key at firecrawl.dev. Send it as Authorization: Bearer <key>. In the examples it's written {{FIRECRAWL_API_KEY}}.

Full reference: https://docs.firecrawl.dev/api-reference/introduction

Scrape a page

curl -X POST https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer {{FIRECRAWL_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "formats": ["markdown"]}'
Run in PostTaco