Google Scholar has no official public API, and custom scrapers hit CAPTCHAs and IP blocks quickly. Through the API Hop Google Scholar API and Google Patents API, six synchronous GET endpoints run behind one Bearer key at a flat $0.0003 per successful request (300 credits, $0.30 per 1,000 calls) to search papers, author profiles, BibTeX/APA citations, US case law, and global patents without monthly plans.
Key Takeaways
- All six Scholar and Patents endpoints bill a flat $0.0003/req: Coverage spans paper search (
/v1/google-scholar/search), author profiles (/v1/google-scholar/author), US case law (/v1/google-scholar/case-law), citation formats (/v1/google-scholar/cite), patent search (/v1/google-patents/search), and patent details (/v1/google-patents/details). - $0.30 per 1,000 requests cuts SERP subscription spend by 95%+: SerpApi starter plans run $15–$25 per 1,000 queries and SearchApi starts around $40/mo (~$4.00/1K) with expiring monthly quotas. API Hop uses non-expiring pay-as-you-go credits.
- Extract fresh IDs per run instead of hardcoding samples:
/google-scholar/citestrictly requires a 12-character result ID (^[A-Za-z0-9_-]{12}$) from a live search, while/google-patents/detailsrequires a plain publication number such asCN119480895Brather than a full Google Patents URL. - Strict mutually exclusive validation with 60s sync JSON: Never combine
pagewithstart, orclusterwithquery/cites. Upstream failures release credit holds automatically, whereas valid empty responses bill one call. - $10 minimum deposit funds 33,333 academic or patent calls: Top up from $10 on the API Hop Pricing page using USDT/USDC crypto, Brazil PIX, or Indonesia QRIS/GoPay/DANA with no US credit card required.
Five Ways to Access Academic Papers and Patent Data in 2026
Compare coverage, entry barriers, and 10,000-query cost before choosing your research data pipeline (verified 2026-11-30):
| Access Route | Data Coverage | Pricing & Entry Barrier | Est. Cost for 10,000 Calls | Main Tradeoff |
|---|---|---|---|---|
| Custom Google Scholar Scraper | Google Scholar HTML | Residential proxies + CAPTCHA solvers (no official API) | Unpredictable (high block rate) | Fragile DOM selectors and frequent IP bans at scale |
| OpenAlex / Semantic Scholar | Open scholarly graphs (not Google Scholar) | OpenAlex gives $1/day free then $0.10–$1.00/1K; Semantic Scholar free key ~1 req/s | $0–$10.00 | Strong for open paper metadata, but lacks Google Scholar ranking, US case law, and global patent full text |
| USPTO Open Data Portal (ODP) | US Patent Office (replaces paused PatentsView API) | $0 (free API key) | $0 (US filings only) | Restricted to US filings; excludes EPO, WIPO, CN, JP, and KR patent families |
| SerpApi / SearchApi | Google Scholar + Google Patents | Monthly tiers (SerpApi $25/mo 1K or $75/mo 5K; SearchApi ~$40/mo 10K) | $40.00–$150.00 | Unused monthly quota expires; chaining search and details multiplies credit burn |
| API Hop Scholar & Patents API | Google Scholar (4 endpoints) + Patents (2 endpoints) | Pay-as-you-go $0.0003 / successful call ($0 monthly fee) | $3.00 | Client handles pagination offsets and dynamic ID extraction; no auto-retry |
To combine academic search with live web AI citations in a RAG workflow, also check our Google AI Overview API guide.
Prerequisites
Prepare three items before running your first query:
- API Hop Key: Sign up on the API Hop Pricing page and generate a Bearer key. Balances start at $10 (never expire) with no US credit card or business KYC needed, supporting USDT/USDC crypto, Brazil PIX, and Indonesia QRIS/GoPay/DANA.
- Local Environment: Python 3.9+ with
requests, or standardcurl. - Contract Docs: Keep the Google Scholar Overview, Google Scholar Reference, and Google Patents Reference handy for regex rules.
pip install -U requests
export APIHOP_API_KEY="sk-your-apihop-key"
Quickstart: Run Scholar and Patent Searches in 2 Minutes
All six endpoints accept GET query parameters only, forbid request bodies, and reject legacy flags such as html, output, json_restrictor, or no_cache. Run a filtered Scholar search via curl ($0.0003):
curl --get "https://api.apihop.ai/v1/google-scholar/search" \
-H "Authorization: Bearer $APIHOP_API_KEY" \
--data-urlencode "query=machine learning" \
--data-urlencode "as_ylo=2024" \
--data-urlencode "num=10"
Query granted patents in 10 lines of Python ($0.0003):
import os
import requests
resp = requests.get(
"https://api.apihop.ai/v1/google-patents/search",
headers={"Authorization": f"Bearer {os.environ['APIHOP_API_KEY']}"},
params={"query": "solid state battery", "status": "GRANT", "limit": 10},
timeout=60,
)
resp.raise_for_status()
data = resp.json().get("data", {}).get("content", {})
print("success:", resp.json().get("success"), "keys:", list(data.keys()))
Expected output: success: True keys: [...] (the gateway preserves the native upstream JSON payload inside data.content).
Step-by-Step Guide: Six Endpoints and Parameter Contracts
All six production endpoints below bill $0.0003 per successful call (verified 2026-11-30):
| Endpoint | Purpose | Required Triggers | Key Filters & Pagination |
|---|---|---|---|
GET /v1/google-scholar/search | Search academic papers | At least one of query, cites, cluster | as_ylo/as_yhi, scisbd (0/1/2), as_rr=1 (reviews), num (1–20), page (1–101) or start |
GET /v1/google-scholar/author | Author profile & papers | id (e.g. qc6CJjYAAAAJ) | sort_by (year/citations/pubdate/title), view_op (view_citation/list_colleagues), num (1–100) |
GET /v1/google-scholar/cite | Formatted citations | id (12-char ^[A-Za-z0-9_-]{12}$) | language, device, zero_trace |
GET /v1/google-scholar/case-law | US court case law | At least one of case_id, query, cites, cluster | as_sdt (4 or 4,33,192), as_ylo/as_yhi |
GET /v1/google-patents/search | Search global patents | Optional query & filter combinations | status (GRANT/APPLICATION), type (PATENT/DESIGN), patent_countries (US,WO,CN), before/after |
GET /v1/google-patents/details | Full patent specification | id (plain number e.g. US7654321B2) | language, device, zero_trace |
Step 1: Search Papers with Year Bounds and Review Filters (/v1/google-scholar/search)
For literature reviews or academic RAG pipelines, narrow results using as_ylo, as_yhi, as_vis=1 (drops citation-only stubs), and as_rr=1 (review articles only):
import os
import requests
headers = {"Authorization": f"Bearer {os.environ['APIHOP_API_KEY']}"}
resp = requests.get(
"https://api.apihop.ai/v1/google-scholar/search",
headers=headers,
params={
"query": "retrieval augmented generation",
"as_ylo": 2023,
"as_yhi": 2026,
"as_vis": 1,
"num": 10,
"page": 1,
},
timeout=60,
)
resp.raise_for_status()
content = resp.json()["data"]["content"]
organic = content.get("organic_results") or content.get("results") or []
print(f"Found {len(organic)} papers, req_id={resp.headers.get('X-Request-Id')}")
Expected output: Found 10 papers, req_id=.... Never send both page and start together. Capture each paper’s 12-character result_id or numeric cites_id string for downstream citation lookups.
Step 2: Chain Author Profiles and Citation Formatting (/author + /cite)
Once you extract an author_id or result_id, call /v1/google-scholar/author and /v1/google-scholar/cite at $0.0003 each:
import os
import requests
headers = {"Authorization": f"Bearer {os.environ['APIHOP_API_KEY']}"}
base = "https://api.apihop.ai"
# 1. Fetch author profile sorted by citations ($0.0003)
author_resp = requests.get(
f"{base}/v1/google-scholar/author",
headers=headers,
params={"id": "qc6CJjYAAAAJ", "sort_by": "citations", "num": 20},
timeout=60,
)
author_resp.raise_for_status()
author_content = author_resp.json()["data"]["content"]
# 2. Fetch formatted citation for a fresh result_id ($0.0003)
cite_resp = requests.get(
f"{base}/v1/google-scholar/cite",
headers=headers,
params={"id": "p7YVSi5UNiMJ"},
timeout=60,
)
cite_resp.raise_for_status()
print("Author keys:", list(author_content.keys()), "| Cite ok:", cite_resp.json().get("success"))
Expected output: Author keys: [...] | Cite ok: True. If you pass view_op=view_citation, you must also supply citation_id=<author_id>:<pub_id> where the prefix before the colon matches id, or the validator returns 400.
Step 3: Filter Global Patents and Retrieve Patent Details (/google-patents/search + /details)
For prior-art or freedom-to-operate (FTO) screening, filter by patent_countries, status, and after/before (filing:YYYYMMDD, priority:YYYYMMDD, or publication:YYYYMMDD):
import os
import requests
headers = {"Authorization": f"Bearer {os.environ['APIHOP_API_KEY']}"}
pat_resp = requests.get(
"https://api.apihop.ai/v1/google-patents/search",
headers=headers,
params={
"query": "silicon anode",
"patent_countries": "US,WO,CN",
"status": "GRANT",
"after": "filing:20220101",
"sort_by": "new",
"limit": 5,
},
timeout=60,
)
pat_resp.raise_for_status()
pat_content = pat_resp.json()["data"]["content"]
items = pat_content.get("organic_results") or pat_content.get("results") or []
print("Patent hits:", len(items))
Expected output: Patent hits: .... Extract the plain publication_number (e.g. US7654321B2 or CN119480895B) and pass it to GET /v1/google-patents/details?id=US7654321B2 for abstracts, inventors, and claims.
Complete Working Example: Paper Search, Citation Export, and Patent Lookup Pipeline
This production script searches Scholar papers on a topic, resolves citation formats for the top three results, queries matching granted patents, fetches full details for the newest patent, applies 429/5xx backoff, and tallies exact spend:
import json
import os
import time
import requests
API_KEY = os.environ["APIHOP_API_KEY"]
BASE_URL = "https://api.apihop.ai"
def api_get(path: str, params: dict, max_retries: int = 3):
for attempt in range(max_retries):
resp = requests.get(
f"{BASE_URL}{path}",
headers={"Authorization": f"Bearer {API_KEY}"},
params=params,
timeout=60,
)
req_id = resp.headers.get("X-Request-Id")
if resp.status_code == 200:
body = resp.json()
if body.get("success") is True:
return body.get("data", {}).get("content", {}), req_id
raise RuntimeError(f"API returned success=false on {path}, req={req_id}")
if resp.status_code in (429, 500, 502, 503, 504) and attempt < max_retries - 1:
wait = 2 ** (attempt + 1)
print(f"[Retry {attempt + 1}] HTTP {resp.status_code}, sleep {wait}s (req={req_id})")
time.sleep(wait)
continue
resp.raise_for_status()
raise RuntimeError("Max retries exceeded")
def run_research_pipeline(topic: str, out_file: str = "scholar_patents_bundle.json"):
calls = 0
bundle = {"topic": topic, "papers": [], "citations": [], "patents": [], "patent_detail": None}
# 1. Search Scholar papers ($0.0003)
scholar_data, _ = api_get("/v1/google-scholar/search", {"query": topic, "as_ylo": 2023, "num": 10})
calls += 1
papers = scholar_data.get("organic_results") or scholar_data.get("results") or []
bundle["papers"] = papers
# 2. Fetch formatted citations for top 3 papers (up to 3 * $0.0003)
for paper in papers[:3]:
rid = str(paper.get("result_id") or "")
if len(rid) == 12:
cite_data, _ = api_get("/v1/google-scholar/cite", {"id": rid})
calls += 1
bundle["citations"].append({"result_id": rid, "cite": cite_data})
time.sleep(0.3)
# 3. Search granted patents ($0.0003)
patent_data, _ = api_get(
"/v1/google-patents/search",
{"query": topic, "status": "GRANT", "sort_by": "new", "limit": 5},
)
calls += 1
patents = patent_data.get("organic_results") or patent_data.get("results") or []
bundle["patents"] = patents
# 4. Fetch full details for the top patent ($0.0003)
if patents:
pub_id = str(patents[0].get("publication_number") or patents[0].get("patent_id") or "")
# Normalize paths like "patent/US7654321B2/en" to plain publication number
if "/" in pub_id:
parts = [p for p in pub_id.split("/") if p and p not in ("patent", "en", "zh")]
pub_id = parts[0] if parts else ""
if pub_id:
detail_data, _ = api_get("/v1/google-patents/details", {"id": pub_id})
calls += 1
bundle["patent_detail"] = detail_data
with open(out_file, "w", encoding="utf-8") as f:
json.dump(bundle, f, ensure_ascii=False, indent=2)
cost = calls * 0.0003
print(f"Saved {len(papers)} papers & {len(patents)} patents to {out_file} | Calls: {calls} | Cost: ${cost:.4f}")
if __name__ == "__main__":
run_research_pipeline("solid state electrolyte")
Expected output: Saved ... papers & ... patents to scholar_patents_bundle.json | Calls: 6 | Cost: $0.0018 (less than 0.2 cents for a complete paper, citation, and patent bundle).
Error Handling and Troubleshooting
Save the X-Request-Id response header whenever diagnosing a failed call:
| HTTP Status | Platform Code & Common Trigger | Fix |
|---|---|---|
400 | 10000 / 10001: Mixing page and start, bad date syntax, or unsupported html/no_cache | Validate fields against the Scholar Reference and Patents Reference |
401 | 20000: Missing or invalid API key | Check Authorization: Bearer header formatting |
402 | 40000: Prepaid balance too low | Top up credits on the API Hop Pricing page |
403 | 20001: Key lacks permission for this gateway | Inspect API key scopes in console |
405 | Sent POST or attached a JSON body | All six routes require GET query params with null body |
429 | 40001 / 40002: Rate or concurrency limit exceeded | Add 0.3s delay between sequential requests and 2s / 4s backoff |
5xx / 60s timeout | 50000–50003: Upstream error or timeout (credit hold released) | Retry with bounded backoff and log X-Request-Id |
Common Issues and Gotchas
- Passing full patent paths to
/details: Search payloads sometimes returnpatent_idvalues formatted likepatent/CN119480895B/en.GET /v1/google-patents/detailsrequires the plainpublication_number(CN119480895B), rejecting URLs or slash-delimited paths with400. - Violating mutually exclusive parameter rules:
/google-scholar/searchrejectspagepaired withstart, and rejectsclusterpaired withqueryorcites. When passingcase_idto/google-scholar/case-law, omit all search filters and pagination flags. In/google-patents/search,aftermust be<= beforewhen date types match. - Hardcoding sample IDs across runs: Documentation examples (
p7YVSi5UNiMJ,US7654321B2) only demonstrate format. Always extract live 12-character result IDs and publication numbers from fresh search responses. - Misreading
zero_trace=trueand empty-result billing: Settingzero_trace=trueprevents server-side artifact archiving for confidential IP searches, without altering billing. Valid empty responses (results: []) still bill$0.0003, so stop pagination loops as soon as results run empty.
Cost Estimation and Workload Math
With all six Google Scholar and Google Patents endpoints priced uniformly at $0.0003 per successful call (300 credits):
$$\text{Total Cost} = (N_{\text{Scholar}} + N_{\text{Patents}}) \times $0.0003$$
| Research & IP Workflow | Call Mix & Volume | API Hop Cost | SerpApi ($25–$75/mo) / SearchApi (~$40/mo) |
|---|---|---|---|
| Run this tutorial’s 6-call pipeline | 1 Scholar search + 3 cites + 2 Patent calls | $0.0018 (~0.18 cents) | Requires card or hits 100–250 free trial cap |
| Build a 1,000-paper BibTeX corpus | 100 search pages + 1,000 /cite = 1,100 calls | $0.33 | Exceeds SerpApi’s $25/mo 1,000-search Starter plan |
| Track 200 authors weekly (monthly) | 200 × 4 = 800 /author calls | $0.24 / mo | Avoids $25–$40/mo recurring fixed fees for light jobs |
| 10,000-patent FTO screening + details | 1,000 /patents/search + 10,000 /details | $3.30 | ~$44/mo+ on SearchApi or ~$110–$165 on SerpApi |
A $10 minimum top-up on the API Hop Pricing page covers 33,333 requests with no expiration date. You can also query news and web search endpoints in the API Hop Data API catalog or route patent claims and abstracts into Claude, GPT, or DeepSeek using the same key.
What to Watch Next
- Account-specific rate overrides: Account-level pricing takes precedence over the default
$0.0003catalog price; high-volume teams can verify effective credit charges in the console. - USPTO ODP transition: As USPTO shifts legacy PatentsView traffic onto its Open Data Portal, Google Patents endpoints remain a single unified index when your search covers US, EPO, WIPO, CN, JP, and KR filings together.
FAQ
Is there an official or free Google Scholar API?
Google offers no official Google Scholar API and aggressively blocks automated scraping with CAPTCHAs. Open academic graphs such as OpenAlex ($1/day free tier) and Semantic Scholar (free key at ~1 req/s) provide free metadata, but lack Google Scholar’s proprietary ranking, citation popups, and US case-law opinions. API Hop has no permanent free tier, yet charges zero monthly fee: a $10 minimum deposit on the API Hop Pricing page covers 33,333 calls at $0.0003/req, and this tutorial costs $0.0018.
How are Google Scholar API and Google Patents API priced?
On API Hop, all four Google Scholar endpoints (search, author, case-law, cite) and both Google Patents endpoints (search, details) bill a flat $0.0003 per successful request (300 credits, or $0.30 per 1,000 calls). Failed upstream calls release credit reservations, while valid empty responses count as one successful call.
Can one script query both Google Scholar and Google Patents?
Yes. Both services share the same Bearer API key, prepaid balance, and success / request_id / data.content JSON contract. You can even set scholar=true inside /v1/google-patents/search to include scholarly literature alongside patent hits.
Why does /v1/google-scholar/cite reject my paper ID with 400?
/cite enforces the regex ^[A-Za-z0-9_-]{12}$ and accepts only a 12-character native result_id from a fresh Google Scholar search payload. It rejects DOIs, paper titles, and URLs.
What payment methods work without a US credit card?
API Hop supports global self-serve prepaid billing without a US credit card or corporate verification. Top up on the API Hop Pricing page via USDT/USDC crypto, Brazil PIX, or Indonesia QRIS / GoPay / DANA with non-expiring credits.
Verification note: All six Google Scholar and Google Patents endpoints, regex constraints, and $0.0003/req rates were verified on 2026-11-30 against live API Hop reference docs and public competitor pricing (account-specific rates take precedence).