urlstringआवश्यक
The starting URL to crawl.
https://api.sandbase.ai/v1/api/firecrawl/crawlCrawl 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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer | Yes | Maximum number of pages to crawl. |
url | string | Yes | The starting URL to crawl. |
scrapeOptions | object | No | Options passed to the scraper for each page. |
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
}
| Field | Meaning |
|---|---|
status / success | status shows the job state, such as completed. success is a boolean for the request. |
total / completed | total is the number of pages found for the job. completed is the number of pages finished so far. |
data[].markdown | The page content converted to markdown. |
data[].metadata.language / data[].metadata.contentType | The page language code (for example en) and the content type of the response (for example text/html; charset=utf-8). |
data[].metadata.scrapeId | An ID for the scrape of that single page. |
data[].metadata.cacheState / data[].metadata.cachedAt | cacheState shows whether the page came from a cache (for example hit). cachedAt is the ISO timestamp of the cached copy. |
data[].metadata.creditsUsed / creditsUsed | Credits used for one page and for the whole job. |
data[].warning | An optional message on a page, such as a note that the scrape was throttled. It appears only on some items. |
createdAt / completedAt / expiresAt | ISO 8601 UTC timestamps for when the job started, when it finished, and when the result expires. |
duration | How long the job took. The value in the example is 1.013. |
GET /v1/run/{id} until status is completed, then read the result from outputs[0].data.limit between 1 and 10000 to cap the number of pages crawled.scrapeOptions.formats to choose the output formats: markdown, html, rawHtml, links or screenshot.Billed at the actual cost of each call, about $0.0075 for the request above. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/crawl" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
urlstringआवश्यकThe starting URL to crawl.
limitintegerआवश्यकMaximum number of pages to crawl.
scrapeOptionsobjectOptions passed to the scraper for each page.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Firecrawl Crawlयह API Firecrawl | $0.0075 प्रति कॉल से | असिंक्रोनस JSON |
Firecrawl | $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
प्रश्न
https://api.sandbase.ai/v1/api/firecrawl/crawl पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0075 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: url (string) और limit (integer)। वैकल्पिक: scrapeOptions (object)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है। इस पेज का README एक sample response शामिल करता है।
नहीं। Firecrawl Crawl SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Firecrawl API access के लिए आवेदन करने की आवश्यकता नहीं है।