urlsarrayrequerido
List of URLs to scrape.
https://api.sandbase.ai/v1/api/firecrawl/batch/scrapeScrape multiple URLs in a single batch job. Submit a list of URLs and poll for results as each page completes.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
markdown in one call to feed a search index or an LLM.links of a set of known pages to see where each one points.html or rawHtml snapshots of a fixed list of pages for later comparison.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.
| Name | Type | Required | Description |
|---|---|---|---|
urls | array | Yes | List of URLs to scrape. |
formats | array | No | Output formats for each page. |
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
}
| Field | Meaning |
|---|---|
status / success | Job state. completed with success set to true means the batch finished. |
total / completed | Number of URLs submitted and number of pages finished so far. Compare them while polling. |
data[].markdown | Page content as markdown. It appears when markdown is in formats. |
data[].metadata.scrapeId | Unique ID of the scrape for this page. |
data[].metadata.language / contentType | Language code detected for the page and the content type of the response. |
data[].metadata.cacheState / cachedAt | Whether the page came from cache (hit in the example) and the time it was cached. |
data[].metadata.proxyUsed | Type of proxy used for the fetch, such as basic. |
creditsUsed / data[].metadata.creditsUsed | Credits used by the whole job and by each page. |
createdAt / completedAt / expiresAt | ISO 8601 UTC timestamps for job creation, job completion, and when the job result expires. |
duration | Duration value for the job, 0.5 in the example. |
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.formats values are markdown, html, rawHtml, links and screenshot.data matches one URL. Check completed against total to see how many pages are done.expiresAt time, so save the data you need before then.Billed at the actual cost of each call, about $0.0075 for the request above. Failed calls are not charged.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/batch/scrape" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
urlsarrayrequeridoList of URLs to scrape.
formatsarrayOutput formats for each page.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Firecrawl Batch ScrapeEsta API Firecrawl | Desde $0.0075 por llamada | JSON asíncrono |
Firecrawl | Desde $0.0075 por llamada | JSON asíncrono |
Firecrawl | $0.0075 por llamada | JSON |
Firecrawl | $0.0075 por llamada | JSON |
Firecrawl | $0.015 por llamada | JSON |
Guías:Firecrawl alternative: pay per page or a planURL to Markdown: Firecrawl, Exa and Tavily comparedExa vs Tavily vs Firecrawl for AI agents
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/firecrawl/batch/scrape con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
Desde $0.0075 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: urls (array). Opcionales: formats (array). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Un resultado JSON. Este endpoint se ejecuta de forma asíncrona, así que la respuesta indica cómo obtener el resultado final. El README de esta página incluye una respuesta de ejemplo.
No. Firecrawl Batch Scrape funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Firecrawl por separado.