Data 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