Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Firecrawl Page Scraper

Tài liệu 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.

Giá
$0.0075USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
2 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
The HTTPS URL to scrape.
Proxy tier.
Output formats.
Đầu raVí dụ
Phản hồioutputs · 749 B · 22 dòng
{
  "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
}

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Firecrawl$0.0075 mỗi lần gọiJSON
FirecrawlTừ $0.0075 mỗi lần gọiJSON bất đồng bộ
FirecrawlTừ $0.0075 mỗi lần gọiJSON bất đồng bộ
Firecrawl$0.0075 mỗi lần gọiJSON
Firecrawl$0.015 mỗi lần gọiJSON

Hướng dẫn:Firecrawl alternative: pay per page or a planURL to Markdown: Firecrawl, Exa and Tavily comparedExa vs Tavily vs Firecrawl for AI agents

Câu hỏi

FAQ

Làm thế nào để dùng API Firecrawl Page Scraper?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/firecrawl/scrape với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Firecrawl Page Scraper có giá bao nhiêu?

$0.0075 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Firecrawl Page Scraper chấp nhận những tham số nào?

Bắt buộc: url (string) và proxy (một trong số basic). Tùy chọn: formats (array). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Firecrawl Page Scraper trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Firecrawl không?

Không. Firecrawl Page Scraper chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Firecrawl.

Làm thế nào để chuyển một URL đã biết sang Markdown với Firecrawl Scrape API?

Gửi url HTTPS công khai và proxy: "basic" đến endpoint này. README hiện tại mô tả Markdown là đầu ra mặc định; formats là tùy chọn, nhưng schema của nền tảng không liệt kê mọi định dạng của nhà cung cấp. Hãy theo tham chiếu SandBase hiện tại thay vì sao chép thêm các tùy chọn của nhà cung cấp. Đây là trích xuất một trang, không phải crawl hay search.

Markdown và metadata nguồn nằm ở đâu trong phản hồi?

README hiện tại đặt payload nghiệp vụ của Firecrawl bên trong outputs[0].data của SandBase. Hãy đọc data.markdown và data.metadata trong payload đó. Giữ nguyên sourceURL, trạng thái trang và thông tin cache khi có, tách biệt với URL được yêu cầu. Dữ liệu nguồn bị thiếu vẫn là không xác định; một URL hoặc tài liệu Markdown không chứng minh một khẳng định là đúng hoặc mới nhất.

Tôi có thể dùng stealth hoặc auto làm giá trị proxy ở đây không?

Schema đầu vào hiện tại của SandBase yêu cầu proxy và chỉ liệt kê basic. Hãy dùng các giá trị được endpoint này chấp nhận, không phải các giá trị được quảng cáo cho API riêng của nhà cung cấp. Không dùng scraping để truy cập trang riêng tư hoặc vượt qua hạn chế truy cập.