Felo API PlatformFelo API Platform

数据 API / Scholar Search / Search

Search the web

Search the open web and get back a lean result list. ⚠️ Despite being a POST, parameters go in the query string — query (required), max_num_results (default 10, max 100), and as_ylo/as_yhi for a year range. A JSON body is not accepted. Returns a search id and results[] carrying only title, link and snippet. Its virtue is how little it returns, which suits an agent that only needs to know what exists. It gives you no page text — if you need the content, searchWeb returns it in the same call. Keep the id: it is what post_scholar_search_explain needs.

参数

查询

  • querystring必填

    Search query for scholarly materials

  • max_num_resultsinteger可选

    Maximum number of search results to return, up to 100

  • as_ylo可选

    Year of publication lower bound

  • as_yhi可选

    Year of publication upper bound

请求示例

curl -G "https://openapi.felo.ai/v1/beta/scholar/search/web" \
  --data-urlencode "query=<string>" \
  -H "Authorization: Bearer $FELO_API_KEY"

响应

响应字段

  • idstring必填

    Unique identifier for the search request

  • resultsobject[]必填

    List of web search results

  • titlestring必填

    Title of the web page

  • linkstring必填

    URL to access the web page

  • snippetstring必填

    Brief summary or preview of the web page content

  • display_urlstring可选

    Display-friendly URL

  • published_datestring可选

    Publication date of the web page