GET
/
api
/
fast_paper_search
curl --request GET \
  --url https://api.scholarai.io/api/fast_paper_search
[
  {
    "title": "<string>",
    "authors": [
      "<string>"
    ],
    "abstract": "<string>",
    "publication_date": "<string>",
    "cited_by_count": 123,
    "url": "<string>",
    "ss_id": "<string>",
    "doi": "<string>",
    "answer": "<string>"
  }
]

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
OK
title
string
authors
string[]
abstract
string

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

publication_date
string
cited_by_count
integer
url
string
ss_id
string

Semantic Scholar ID

doi
string

Digital Object Identifier

answer
string

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