Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Firecrawl Batch Scrape

APIドキュメント
https://api.sandbase.ai/v1/api/firecrawl/batch/scrape

Scrape multiple URLs in a single batch job. Submit a list of URLs and poll for results as each page completes.

料金
$0.0075 からUSD / 回
メソッド
POST
レスポンス
非同期 JSON
パラメータ
必須 1 件 · 任意 1 件

プレイグラウンド

入力
List of URLs to scrape.
Output formats for each page.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

Firecrawl Batch Scrape API

Scrapes a list of web pages in one batch job and returns the content of each page in the formats you pick, such as markdown. It needs a urls array and takes an optional formats array.

Use cases

  • Pull the text of many articles or docs pages as markdown in one call to feed a search index or an LLM.
  • Collect the links of a set of known pages to see where each one points.
  • Save html or rawHtml snapshots of a fixed list of pages for later comparison.
  • Check the language and content type of many pages at once.

Request

curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/batch/scrape" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://example.com"], "formats": ["markdown"]}'

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

Parameters

NameTypeRequiredDescription
urlsarrayYesList of URLs to scrape.
formatsarrayNoOutput formats for each page.

Example response

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

{
  "completed": 1,
  "completedAt": "2026-11-03T07:33:32.124Z",
  "createdAt": "2026-11-03T07:33:31.624Z",
  "creditsUsed": 1,
  "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-d76c-72e9-abc3-54d02183e9e6"
      }
    }
  ],
  "duration": 0.5,
  "expiresAt": "2026-11-04T07:33:41.000Z",
  "status": "completed",
  "success": true,
  "total": 1
}

Response fields

FieldMeaning
status / successJob state. completed with success set to true means the batch finished.
total / completedNumber of URLs submitted and number of pages finished so far. Compare them while polling.
data[].markdownPage content as markdown. It appears when markdown is in formats.
data[].metadata.scrapeIdUnique ID of the scrape for this page.
data[].metadata.language / contentTypeLanguage code detected for the page and the content type of the response.
data[].metadata.cacheState / cachedAtWhether the page came from cache (hit in the example) and the time it was cached.
data[].metadata.proxyUsedType of proxy used for the fetch, such as basic.
creditsUsed / data[].metadata.creditsUsedCredits used by the whole job and by each page.
createdAt / completedAt / expiresAtISO 8601 UTC timestamps for job creation, job completion, and when the job result expires.
durationDuration value for the job, 0.5 in the example.

Notes

  • The call is asynchronous. It returns a run id with status pending. Poll GET https://api.sandbase.ai/v1/run/{id} until the status is completed, then read the result from outputs[0].data.
  • Allowed formats values are markdown, html, rawHtml, links and screenshot.
  • Each item in data matches one URL. Check completed against total to see how many pages are done.
  • The result has an expiresAt time, so save the data you need before then.

Pricing

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

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Firecrawl1回あたり $0.0075 から非同期 JSON
Firecrawl1回あたり $0.0075 から非同期 JSON
Firecrawl$0.0075 / 回JSON
Firecrawl$0.0075 / 回JSON
Firecrawl$0.015 / 回JSON

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

質問

FAQ

Firecrawl Batch Scrape API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/firecrawl/batch/scrape に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Firecrawl Batch Scrape API の料金はいくらですか?

1回あたり $0.0075 から、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Firecrawl Batch Scrape API はどのパラメータを受け付けますか?

必須: urls (array)。 任意: formats (array)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Firecrawl Batch Scrape API は何を返しますか?

JSON 結果です。このエンドポイントは非同期で実行されるため、レスポンスには完了した結果の取得方法が含まれます。 このページの README にサンプルレスポンスがあります。

Firecrawl の開発者アカウントまたは API key は必要ですか?

いいえ。Firecrawl Batch Scrape は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Firecrawl の API アクセスを別途申請する必要はありません。