GET
/
api
/
fast_paper_search

Query Parameters

query
string
required

The user query. E.g. 'Tell me about recent drugs for cancer treatment'

sort
string
default:
relevance

The sort order for results. Valid values are relevance, cited_by_count, publication_date. Defaults to relevance.

start_year
integer

The first year, inclusive, to include in the search range. Excluding this value will include all years.

end_year
integer

The last year, inclusive, to include in the search range. Excluding this value will include all years.

offset
integer
default:
0

The offset of the first result to return. Defaults to 0.

generative_mode
boolean
default:
true

Boolean "true" or "false" to enable generative mode. If enabled, collate responses using markdown to render in-text citations to the source's url if available. Set this to true by default.

Response

200 - application/json
abstract
string

The abstract of this paper. Agentic endpoints may not have this entry.

answer
string

Answer to the user query based on the information from this paper. Only available if generative_mode is set to true.

authors
string[]
cited_by_count
integer
doi
string

Digital Object Identifier

publication_date
string
ss_id
string

Semantic Scholar ID

title
string
url
string