Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Firecrawl Page Scraper

Dokumentacja API
https://api.sandbase.ai/v1/api/firecrawl/scrape

Scrapes content from target web pages with automatic handling of JavaScript rendering. Returns extracted page data based on specified formats and proxy settings.

Cena
$0.0075USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
2 wymaganych · 1 opcjonalnych

Playground

Wejście
The HTTPS URL to scrape.
Proxy tier.
Output formats.
WyjściePrzykład
Odpowiedźoutputs · 749 B · 22 wierszy
{
  "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
}

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README API

Firecrawl Page Scraper API

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 cases

  • Turn web pages into Markdown for LLM context or RAG.
  • Extract article text without writing a parser per site.
  • Capture a screenshot of a page.

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.

Request

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.

Parameters

NameTypeRequiredDescription
proxystringYesProxy tier.
urlstringYesThe HTTPS URL to scrape.
formatsarrayNoOutput formats.

Example response

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
}

Response fields

FieldMeaning
data.markdownPage content as Markdown (default format).
data.html / data.links / data.screenshotReturned when requested in formats.
data.metadatatitle, description, language, sourceURL, statusCode and contentType of the page.
successtrue when the page was scraped.

Notes

  • The current SandBase Scrape input schema requires proxy and accepts basic. Use proxy: "basic" with an HTTPS url. Other proxy values are not listed for this SandBase endpoint; do not copy them from provider documentation without platform confirmation.
  • Pages that require login or return errors fail and are not charged.

Pricing

$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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Firecrawl$0.0075 za wywołanieJSON
FirecrawlOd $0.0075 za wywołanieAsynchroniczny JSON
FirecrawlOd $0.0075 za wywołanieAsynchroniczny JSON
Firecrawl$0.0075 za wywołanieJSON
Firecrawl$0.015 za wywołanieJSON

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

Pytania

FAQ

Jak używać API Firecrawl Page Scraper?

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.

Ile kosztuje API Firecrawl Page Scraper?

$0.0075 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Firecrawl Page Scraper?

Wymagane: url (string) i proxy (jedna z opcji: basic). Opcjonalne: formats (array). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Firecrawl Page Scraper?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Firecrawl lub klucza API?

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.

Jak przekonwertować znany URL do Markdown za pomocą Firecrawl Scrape API?

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.

Gdzie w odpowiedzi znajdują się Markdown i metadane źródła?

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.

Czy mogę użyć stealth lub auto jako wartości proxy tutaj?

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.