urlstringwymagane
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
}Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
urlstringwymaganeThe HTTPS URL to scrape.
proxystringwymaganeProxy tier.
Domyślnie: "basic"
Możliwe wartości: basic
formatsarrayOutput formats.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
{
"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
}Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Firecrawl Page ScraperTo API Firecrawl | $0.0075 za wywołanie | JSON |
Firecrawl | Od $0.0075 za wywołanie | Asynchroniczny JSON |
Firecrawl | Od $0.0075 za wywołanie | Asynchroniczny JSON |
Firecrawl | $0.0075 za wywołanie | JSON |
Firecrawl | $0.015 za wywołanie | JSON |
Przewodniki:Firecrawl alternative: pay per page or a planURL to Markdown: Firecrawl, Exa and Tavily comparedExa vs Tavily vs Firecrawl for AI agents
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/firecrawl/scrape z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.0075 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: url (string) i proxy (jedna z opcji: basic). Opcjonalne: formats (array). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Firecrawl Page Scraper działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Firecrawl.
Wyślij publiczny adres HTTPS url oraz proxy: "basic" do tego endpointu. Aktualny README opisuje Markdown jako domyślny wynik; formats jest opcjonalne, ale schemat platformy nie wylicza wszystkich formatów dostawcy. Postępuj zgodnie z aktualną dokumentacją SandBase, zamiast kopiować dodatkowe opcje dostawcy. To ekstrakcja jednej strony, nie crawl ani search.
Aktualny README umieszcza ładunek biznesowy Firecrawl wewnątrz outputs[0].data w SandBase. Odczytaj data.markdown i data.metadata w tym ładunku. Zachowaj sourceURL, status strony i informacje o cache tam, gdzie są obecne, oddzielnie od żądanego URL. Brakujące dane źródłowe pozostają nieznane; adres URL ani dokument Markdown nie dowodzą, że twierdzenie jest poprawne lub aktualne.
Aktualny schemat wejściowy SandBase wymaga proxy i podaje tylko basic. Używaj wartości akceptowanych przez ten endpoint, a nie wartości reklamowanych dla oddzielnego API dostawcy. Nie używaj scrapingu do uzyskiwania dostępu do prywatnych stron ani obchodzenia ograniczeń dostępu.