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