Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Firecrawl Crawl

Docs API
https://api.sandbase.ai/v1/api/firecrawl/crawl

Crawl an entire website starting from a URL. Discovers and scrapes all reachable pages, returning clean markdown for each. Runs asynchronously — submit the job, then poll for results.

Prix
À partir de $0.0075USD / appel
Méthode
POST
Réponse
JSON asynchrone
Paramètres
2 obligatoires · 1 facultatifs

Bac à sable

Entrée
The starting URL to crawl.
Maximum number of pages to crawl. Plage : de 1 à 10000.
Options passed to the scraper for each page.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

Firecrawl Crawl API

Crawls a website from a starting URL and returns the content of each page it finds as markdown, plus page metadata. It needs a url and a limit for the maximum number of pages. The job runs asynchronously, so you submit it and then poll for the result.

Use cases

  • Copy the pages of a documentation site into markdown files for a search index or an LLM knowledge base.
  • Pull the text of a company site to summarize its products and pricing pages.
  • Snapshot a site's content on a schedule so you can compare versions over time.
  • Collect page text from a small site to check language and content type across all its pages.

Request

curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/crawl" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "limit": 2}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
limitintegerYesMaximum number of pages to crawl.
urlstringYesThe starting URL to crawl.
scrapeOptionsobjectNoOptions passed to the scraper for each page.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "completed": 2,
  "completedAt": "2026-11-03T07:33:32.633Z",
  "createdAt": "2026-11-03T07:33:31.620Z",
  "creditsUsed": 2,
  "data": [
    {
      "markdown": "This domain is for use in documentation examples without needing permission. Thi…",
      "metadata": {
        "cacheState": "hit",
        "cachedAt": "2026-11-03T07:33:19.669Z",
        "contentType": "text/html; charset=utf-8",
        "creditsUsed": 1,
        "favicon": "data:,",
        "language": "en",
        "proxyUsed": "basic",
        "scrapeId": "01a1a053-d857-759b-8946-800c1acf51cf"
      },
      "warning": "This scrape job was throttled at your current concurrency limit. If you'd like t…"
    }
  ],
  "duration": 1.013,
  "expiresAt": "2026-11-04T07:33:41.000Z",
  "status": "completed",
  "success": true,
  "total": 2
}

Response fields

FieldMeaning
status / successstatus shows the job state, such as completed. success is a boolean for the request.
total / completedtotal is the number of pages found for the job. completed is the number of pages finished so far.
data[].markdownThe page content converted to markdown.
data[].metadata.language / data[].metadata.contentTypeThe page language code (for example en) and the content type of the response (for example text/html; charset=utf-8).
data[].metadata.scrapeIdAn ID for the scrape of that single page.
data[].metadata.cacheState / data[].metadata.cachedAtcacheState shows whether the page came from a cache (for example hit). cachedAt is the ISO timestamp of the cached copy.
data[].metadata.creditsUsed / creditsUsedCredits used for one page and for the whole job.
data[].warningAn optional message on a page, such as a note that the scrape was throttled. It appears only on some items.
createdAt / completedAt / expiresAtISO 8601 UTC timestamps for when the job started, when it finished, and when the result expires.
durationHow long the job took. The value in the example is 1.013.

Notes

  • Poll GET /v1/run/{id} until status is completed, then read the result from outputs[0].data.
  • Set limit between 1 and 10000 to cap the number of pages crawled.
  • Set scrapeOptions.formats to choose the output formats: markdown, html, rawHtml, links or screenshot.
  • To scrape one known page, use Firecrawl Page Scraper. To list a site's URLs without content, use Firecrawl URL Discovery.

Pricing

Billed at the actual cost of each call, about $0.0075 for the request above. Failed calls are not charged.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
FirecrawlÀ partir de $0.0075 par appelJSON asynchrone
FirecrawlÀ partir de $0.0075 par appelJSON asynchrone
Firecrawl$0.0075 par appelJSON
Firecrawl$0.0075 par appelJSON
Firecrawl$0.015 par appelJSON

Guides :Firecrawl alternative: pay per page or a planURL to Markdown: Firecrawl, Exa and Tavily comparedExa vs Tavily vs Firecrawl for AI agents

Questions

FAQ

Comment utiliser l’API Firecrawl Crawl ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/firecrawl/crawl avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Firecrawl Crawl ?

À partir de $0.0075 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Firecrawl Crawl accepte-t-elle ?

Obligatoire : url (string) et limit (integer). Facultatif : scrapeOptions (object). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Firecrawl Crawl ?

Un résultat JSON. Ce point de terminaison s’exécute de manière asynchrone, donc la réponse vous indique comment récupérer le résultat final. Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Firecrawl ?

Non. Firecrawl Crawl fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Firecrawl séparément.