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