Skip to content

Endpoints · 10/13

Scholar

Papers with authors, year, citation count and PDF links.

EndpointPOSThttps://serp-api.ozymoz.com/scholar
Credits per call1

Parameters

NameDescription
qrequiredThe search query.
glCountry to search from, as a two-letter code (us, tr, de…).Default: us
hlInterface language, as a language code (en, tr, de…).Default: en
numNumber of results per page.Default: 10
pageResults page, starting at 1.Default: 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.

Errors · Batch requests · Rate limits