Felo API PlatformFelo API Platform

資料 API / Scholar Search / Search

Smart search combining web and academic results

Search the web and academic sources together, for questions that straddle both. ⚠️ Parameters go in the query string: query (required), max_num_results, as_ylo/as_yhi. Returns a search id and results[]; the entry shape varies by source — every result has title, link and snippet, and academic ones additionally carry authors and number_of_citations, so treat those two as optional rather than assuming they are there. Use it when you do not know in advance which kind of source will answer. When you do, post_scholar_search_web or post_scholar_search_scholar is more predictable. Keep the id for post_scholar_search_explain.

參數

查詢

  • 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/mixed" \
  --data-urlencode "query=<string>" \
  -H "Authorization: Bearer $FELO_API_KEY"

回應

回應欄位

  • idstring必填

    Unique identifier for the search request

  • resultsobject[]必填

    List of smart search results combining web and academic content

  • titlestring必填

    Title of the result

  • linkstring必填

    URL to access the content

  • snippetstring必填

    Brief summary or abstract

  • authorsstring[]選填

    List of authors (for academic content)

  • number_of_citationsinteger選填

    Number of citations (for academic content)

  • typestring選填

    允許值: web · academic

    Type of the result

  • relevance_scorenumber選填

    Relevance score of the result

  • search_typestring選填

    允許值: web · academic · hybrid

    Type of search results included