urlstring必填
The HTTPS URL to scrape.
https://api.sandbase.ai/v1/api/firecrawl/scrapeScrapes content from target web pages with automatic handling of JavaScript rendering. Returns extracted page data based on specified formats and proxy settings.
{
"data": {
"markdown": "# Example Domain\n\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\n\n[Learn more](https://iana.org/domains/example)",
"metadata": {
"cacheState": "hit",
"cachedAt": "2026-08-09T08:27:14.661Z",
"concurrencyLimited": false,
"contentType": "text/html",
"creditsUsed": 1,
"favicon": "data:,",
"language": "en",
"proxyUsed": "basic",
"scrapeId": "019fe5a4-79e9-75d9-9d28-b641240aea02",
"sourceURL": "https://example.com",
"statusCode": 200,
"title": "Example Domain",
"url": "https://example.com/",
"viewport": "width=device-width, initial-scale=1"
}
},
"success": true
}選擇一個範例,將其輸入與結果載入 playground。
Scrape any public web page and get clean Markdown, HTML, links or a screenshot, with page metadata such as title, language and HTTP status. JavaScript-rendered pages are handled, and the proxy tier controls how hard-to-reach sites are fetched.
Use this single-page endpoint when you already have a public HTTPS URL and want Markdown plus source metadata. Search is a separate discovery step; a Scrape does not discover or traverse an entire website. See the known-URL Markdown recipe in our API selection guide before using the content in an agent.
curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/scrape" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "proxy": "basic"}'
The result is returned in outputs[0].data.
The sample below shows the Firecrawl business payload inside SandBase's outputs[0].data, not a complete SandBase response envelope. Inside that payload, Markdown is data.markdown and source metadata is data.metadata. Check the wrapper and the business result separately; a saved sample is not a fresh request made by this page.
| Name | Type | Required | Description |
|---|---|---|---|
proxy | string | Yes | Proxy tier. |
url | string | Yes | The HTTPS URL to scrape. |
formats | array | No | Output formats. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"markdown": "This domain is for use in documentation examples without needing permission. Thi…",
"metadata": {
"cacheState": "hit",
"cachedAt": "2026-11-03T01:40:17.140Z",
"concurrencyLimited": false,
"contentType": "text/html; charset=utf-8",
"favicon": "data:,",
"language": "en",
"proxyUsed": "basic",
"scrapeId": "01a19f12-61d9-71bf-87c0-52a9fef97a83",
"sourceURL": "https://example.com",
"statusCode": 200,
"title": "Example Domain",
"url": "https://example.com/"
}
},
"success": true
}
| Field | Meaning |
|---|---|
data.markdown | Page content as Markdown (default format). |
data.html / data.links / data.screenshot | Returned when requested in formats. |
data.metadata | title, description, language, sourceURL, statusCode and contentType of the page. |
success | true when the page was scraped. |
$0.0075 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/scrape" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://static.sandbase.ai/examples/b8c8d1dc-773a-4e08-adcb-eb014dd7b5eb/input/106170b7-0b8c-46ad-a429-067f9a3139ab.com",
"proxy": "basic"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
urlstring必填The HTTPS URL to scrape.
proxystring必填Proxy tier.
預設:"basic"
可能值:basic
formatsarrayOutput formats.
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
{
"data": {
"markdown": "# Example Domain\n\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\n\n[Learn more](https://iana.org/domains/example)",
"metadata": {
"cacheState": "hit",
"cachedAt": "2026-08-09T08:27:14.661Z",
"concurrencyLimited": false,
"contentType": "text/html",
"creditsUsed": 1,
"favicon": "data:,",
"language": "en",
"proxyUsed": "basic",
"scrapeId": "019fe5a4-79e9-75d9-9d28-b641240aea02",
"sourceURL": "https://example.com",
"statusCode": 200,
"title": "Example Domain",
"url": "https://example.com/",
"viewport": "width=device-width, initial-scale=1"
}
},
"success": true
}探索更多
| 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
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/firecrawl/scrape。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.0075,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:url (string) 和 proxy(basic 之一)。 選填:formats (array)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Firecrawl Page Scraper 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Firecrawl API 存取權。
將公開的 HTTPS url 和 proxy: "basic" 傳送到這個端點。現行 README 將 Markdown 描述為預設輸出;formats 為選用,但平台 schema 沒有列出每個供應商格式。請依照目前 SandBase 參考文件操作,不要直接複製供應商額外的選項。這是單頁擷取,不是爬蟲或搜尋。
目前 README 將 Firecrawl 的業務 payload 放在 SandBase 的 outputs[0].data 裡。請在該 payload 內讀取 data.markdown 與 data.metadata。保留 sourceURL、頁面狀態與快取資訊(若有),並與要求的 URL 分開處理。缺少的來源資料仍屬未知;URL 或 Markdown 文件都不能證明主張正確或最新。
目前 SandBase 輸入 schema 需要 proxy,且只列出 basic。請使用此端點接受的值,不要使用供應商獨立 API 所宣傳的值。不要用抓取來存取私有頁面或繞過存取限制。