Google Scholar API
Retrieve academic and scholarly results from Google Scholar in real time. Set engine=google_scholar and pass the topic or paper title in q to get a structured list of publications with authors, citations, and PDF links.
Endpoint
Section titled “Endpoint” GET https://serp.shifter.io/v1?engine=google_scholar&api_key=YOUR_API_KEY
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | yes | Your SERP API key |
engine | string | yes | Must be google_scholar |
q | string | yes | The search query |
lr | string | no | Language restriction, format lang_xx |
hl | string | no | Interface language code |
start | int | no | Result offset for pagination |
num | int | no | Number of results per page |
as_vis | int | no | 1 to exclude citations, 0 to include |
safe | string | no | active or off |
cites | string | no | Article unique ID to trigger Cited By searches |
as_ylo | int | no | Earliest year to include |
as_yhi | int | no | Latest year to include |
scisbd | int | no | 1 for abstracts only, 0 for all results |
Example request
Section titled “Example request”curl "https://serp.shifter.io/v1?engine=google_scholar&api_key=YOUR_API_KEY&q=python"import requests
params = { "engine": "google_scholar", "api_key": "YOUR_API_KEY", "q": "python",}r = requests.get("https://serp.shifter.io/v1", params=params)data = r.json()import fetch from 'node-fetch';
const url = 'https://serp.shifter.io/v1?' + new URLSearchParams({ engine: 'google_scholar', api_key: 'YOUR_API_KEY', q: 'python',});const data = await (await fetch(url)).json();Example response
Section titled “Example response”{ "search_parameters": { "engine": "google_scholar", "q": "python" }, "organic_results": [ { "position": 1, "title": "Python for data analysis", "result_id": "FDc6HiktlqEJ", "link": "https://example.com/paper.pdf", "snippet": "This book is concerned with the nuts and bolts of manipulating...", "publication_info": { "summary": "W McKinney - 2012 - oreilly.com" }, "inline_links": { "cited_by": { "total": 12000, "cites_id": "11234567" } } } ]}