Felo API PlatformFelo API Platform

資料 API / Firecrawl / Search

Run a web search and return ranked results.

Search the web and get back ranked results. query is required; limit sets how many. Returns success, creditsUsed, a request id, and data.web[] with url, title, description and position — titles and snippets only, no page text. Reach for something else when: you want the page text in the same call — searchWeb returns it and answers in a third of the time; you already know the URLs — post_firecrawl_scrape; you want relevance judged by meaning rather than keywords — post_exa_search.

參數

沒有路徑、查詢或請求標頭參數。

請求主體

  • querystring必填

    The search query. Must be non-empty and at most 500 characters.

  • limitinteger選填

    Maximum number of results to return.

請求範例

curl -X POST "https://openapi.felo.ai/v1/beta/firecrawl/search" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "<string>",
  "limit": 0
}'

回應

回應欄位

  • successboolean選填

    True when the search succeeded.

  • dataobject選填
  • webobject[]選填

    Ranked web search results.

  • titlestring選填

    Result title.

  • urlstring選填

    Result URL.

  • descriptionstring選填

    Result snippet.

  • creditsUsedinteger選填

    Firecrawl credits consumed (about 2 per 10 results).