Scholar Search
Scholarly and web search with result explanations.
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.
- 类型: stringquery必填
Search query for scholarly materials
- 类型: integermax
_num _results 最小值:1最大值:100Maximum number of search results to return, up to 100
- 类型: integeras
_ylo 最小值:1900最大值:2030可为 nullYear of publication lower bound
- 类型: integeras
_yhi 最小值:1900最大值:2030可为 nullYear of publication upper bound
- 类型: object · SmartSearchResponse200
Successful search response
- 类型: stringid必填
Unique identifier for the search request
- 类型: array object[] · SmartResult[]results必填
List of smart search results combining web and academic content
- link类型: string 格式: uri必填
URL to access the content
- snippet类型: string必填
Brief summary or abstract
- title类型: string必填
Title of the result
- authors类型: array string[]
List of authors (for academic content)
- number类型: integer
_of _citations 最小值:0Number of citations (for academic content)
- relevance类型: number
_score 最小值:0最大值:1Relevance score of the result
- type类型: string 枚举
Type of the result
值- web
- academic
- 类型: string 枚举search
_type Type of search results included
值- web
- academic
- hybrid
application/json - 类型: object · ErrorResponse400
Bad request - invalid parameters
- 类型: stringerror
A short error message.
- 类型: stringmessage
A more detailed error message.
application/json - 类型: object · ErrorResponse401
Unauthorized - invalid or missing API key
- 类型: stringerror
A short error message.
- 类型: stringmessage
A more detailed error message.
application/json - 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 类型: object · ErrorResponse429
Rate limit exceeded
- 类型: stringerror
A short error message.
- 类型: stringmessage
A more detailed error message.
application/json - 类型: object · ErrorResponse500
Internal server error
- 类型: stringerror
A short error message.
- 类型: stringmessage
A more detailed error message.
application/json - 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl 'https://openapi.felo.ai/v1/beta/scholar/search/mixed?query=machine%20learning' \
--request POST \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "string",
"results": [
{
"title": "string",
"link": "https://example.com",
"snippet": "string",
"authors": [
"string"
],
"number_of_citations": 0,
"type": "web",
"relevance_score": 0
}
],
"search_type": "web"
}