数据 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).