Felo API PlatformFelo API Platform

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