Endpoints · 10/13
Scholar
Papers with authors, year, citation count and PDF links.
Endpoint
POSThttps://serp-api.ozymoz.com/scholarCredits per call1
Parameters
| Name | Description | Default |
|---|---|---|
qrequired | The search query. | — |
gl | Country to search from, as a two-letter code (us, tr, de…).Default: us | us |
hl | Interface language, as a language code (en, tr, de…).Default: en | en |
num | Number of results per page.Default: 10 | 10 |
page | Results page, starting at 1.Default: 1 | 1 |
Example request
curl -X POST 'https://serp-api.ozymoz.com/scholar' \
-H 'X-API-KEY: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"q": "attention is all you need",
"gl": "us",
"hl": "en"
}'Example response
Illustrative values in the real shape. Top-level keys: organic.
response.json
{
"searchParameters": {
"type": "scholar",
"engine": "google",
"q": "attention is all you need",
"gl": "us",
"hl": "en"
},
"organic": [
{
"title": "Attention is all you need",
"link": "https://proceedings.example.org/paper/7181",
"publicationInfo": "A Vaswani, N Shazeer, N Parmar… - Advances in neural…, 2017",
"snippet": "The dominant sequence transduction models are based on complex recurrent…",
"year": 2017,
"citedBy": 180000,
"pdfUrl": "https://proceedings.example.org/paper/7181.pdf"
}
],
"credits": 1
}Good to know
citedBy and versions appear when Google Scholar shows them.