資料 API / Firecrawl / Scrape
Scrape a single page and return its main content as markdown.
Fetch one URL and get its main content back as markdown. url and proxy are both required — proxy must be basic on the metered profile — and formats selects the output. Returns success and data with markdown plus a large metadata object carrying the page's og: and twitter: tags, statusCode, sourceURL and language. ⚠️ The URL must be HTTPS and must not point at a PDF; both are rejected rather than best-effort. Use it when you have the URL and want the text. For several URLs at once post_firecrawl_batch_scrape runs them as one background job, and extractWebContent does a small batch synchronously. To find URLs first, post_firecrawl_map.
參數
沒有路徑、查詢或請求標頭參數。
請求主體
urlstring必填The HTTPS URL to scrape. PDF URLs are not supported on the metered profile.
proxystring必填允許值: basic
Proxy tier. Must be explicitly set to "basic" on the metered profile.
formatsstring[]選填允許值: markdown
Optional output formats. When present it must be exactly ["markdown"].
請求範例
curl -X POST "https://openapi.felo.ai/v1/beta/firecrawl/scrape" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "<string>",
"proxy": "<string>",
"formats": [
"<string>"
]
}'回應
回應欄位
successboolean選填True when the scrape succeeded.
dataobject選填markdownstring選填The scraped page content in markdown.
metadataobject選填Page metadata such as title, description, source URL, and HTTP status.
titlestring選填descriptionstring選填sourceURLstring選填statusCodeinteger選填creditsUsedinteger選填Firecrawl credits consumed by the request (1 per page).