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