Search Papers
Paperguide Search API for finding research papers and filtering results for apps, workflows, and integrations.
curl -X GET "https://api.paperguide.ai/v1/search?query=retrieval%20augmented%20generation&year_min=2020&year_max=2024&min_citations=50&open_access=true&has_pdf=true&language=en&sources=pubmed%2Carxiv&fields=17%2C27&types=article%2Creview&journal_quartile=1&min_snip=1&min_sjr=0.5&issn=0028-0836&page=1&limit=10" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY"
import requests
import json
url = "https://api.paperguide.ai/v1/search?query=retrieval%20augmented%20generation&year_min=2020&year_max=2024&min_citations=50&open_access=true&has_pdf=true&language=en&sources=pubmed%2Carxiv&fields=17%2C27&types=article%2Creview&journal_quartile=1&min_snip=1&min_sjr=0.5&issn=0028-0836&page=1&limit=10"
headers = {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.paperguide.ai/v1/search?query=retrieval%20augmented%20generation&year_min=2020&year_max=2024&min_citations=50&open_access=true&has_pdf=true&language=en&sources=pubmed%2Carxiv&fields=17%2C27&types=article%2Creview&journal_quartile=1&min_snip=1&min_sjr=0.5&issn=0028-0836&page=1&limit=10", {
method: "GET",
headers: {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.paperguide.ai/v1/search?query=retrieval%20augmented%20generation&year_min=2020&year_max=2024&min_citations=50&open_access=true&has_pdf=true&language=en&sources=pubmed%2Carxiv&fields=17%2C27&types=article%2Creview&journal_quartile=1&min_snip=1&min_sjr=0.5&issn=0028-0836&page=1&limit=10", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api.paperguide.ai/v1/search?query=retrieval%20augmented%20generation&year_min=2020&year_max=2024&min_citations=50&open_access=true&has_pdf=true&language=en&sources=pubmed%2Carxiv&fields=17%2C27&types=article%2Creview&journal_quartile=1&min_snip=1&min_sjr=0.5&issn=0028-0836&page=1&limit=10')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['x-api-key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.body
{
"results": [
{
"paper_id": "8b0f3c2e-5a1d-4f7b-9c6e-2d4a1b3c5e7f",
"title": "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks",
"abstract": "Large pre-trained language models store factual knowledge in their parameters. We explore models that combine this with retrieval from an external index.",
"tldr": null,
"authors": [
"Patrick Lewis",
"Ethan Perez",
"Aleksandra Piktus"
],
"citation_count": 4200,
"reference_count": 70,
"doi": "10.48550/arxiv.2005.11401",
"journal_name": "arXiv (Cornell University)",
"journal_id": "S4306400194",
"pages": null,
"volume": null,
"publication_year": 2020,
"publication_date": "2020-05-22",
"publication_type": "preprint",
"url": "https://arxiv.org/abs/2005.11401",
"is_open_access": true,
"open_access_url": "https://arxiv.org/abs/2005.11401",
"pdf_url": "https://arxiv.org/pdf/2005.11401",
"fields_of_study": [
"Computer Science"
],
"institution_names": [
"University College London"
],
"journal_metrics": {
"snip": null,
"sjr": null,
"sjr_quartile": null
},
"external_ids": {
"openalex": "W3027879771",
"semantic_scholar": "218869575",
"pubmed": null,
"arxiv": "2005.11401",
"pmcid": null
},
"bibtex": "@unpublished{lewis2020retrieval,
author = {Lewis, Patrick and Perez, Ethan and Piktus, Aleksandra},
title = {{Retrieval-Augmented Generation for Knowledge-Intensive {NLP} Tasks}},
year = {2020},
month = may,
doi = {10.48550/arxiv.2005.11401},
url = {https://arxiv.org/abs/2005.11401},
}"
}
],
"total": 10,
"page": 1,
"limit": 10
}
{
"error": "Bad Request",
"message": "querystring/limit must be <= 50"
}
{
"error": "Missing API key",
"message": "Provide your API key via the x-api-key header."
}
{
"error": "Invalid API key",
"message": "The provided API key is invalid or has been revoked."
}
{
"error": "Out of credits",
"message": "This call costs 10 credits and you have 4 left. Credits renew on 2026-12-18 00:00 UTC, or you can upgrade or buy more credits in Paperguide.",
"credits_needed": 10,
"credits_remaining": 4,
"reset_date": "2026-12-18T00:00:00.000Z"
}
{
"error": "Organization membership required",
"message": "This key bills an organization you are no longer a member of. Revoke it and create a new key."
}
{
"error": "Too many requests",
"message": "Fair-use limit reached: at most 60 calls per minute. Try again in 12s.",
"retry_after_seconds": 12
}
{
"error": "Too many requests",
"message": "Too many calls at once: at most 10 can run at the same time. Wait for some to finish, then try again."
}
{
"error": "Internal server error",
"message": "Failed to validate API key."
}
curl --request GET \
--url "https://api.paperguide.ai/v1/search?query=retrieval%20augmented%20generation&fields=17&year_min=2020&year_max=2024&min_citations=50&limit=10" \
--header "x-api-key: pg_api_your_key_here"
{
"results": [
{
"paper_id": "8b0f3c2e-5a1d-4f7b-9c6e-2d4a1b3c5e7f",
"title": "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks",
"abstract": "Large pre-trained language models store factual knowledge in their parameters. We explore models that combine this with retrieval from an external index.",
"tldr": null,
"authors": ["Patrick Lewis", "Ethan Perez", "Aleksandra Piktus"],
"citation_count": 4200,
"reference_count": 70,
"doi": "10.48550/arxiv.2005.11401",
"journal_name": "arXiv (Cornell University)",
"journal_id": "S4306400194",
"pages": null,
"volume": null,
"publication_year": 2020,
"publication_date": "2020-05-22",
"publication_type": "preprint",
"url": "https://arxiv.org/abs/2005.11401",
"is_open_access": true,
"open_access_url": "https://arxiv.org/abs/2005.11401",
"pdf_url": "https://arxiv.org/pdf/2005.11401",
"fields_of_study": ["Computer Science"],
"institution_names": ["University College London"],
"journal_metrics": {
"snip": null,
"sjr": null,
"sjr_quartile": null
},
"external_ids": {
"openalex": "W3027879771",
"semantic_scholar": "218869575",
"pubmed": null,
"arxiv": "2005.11401",
"pmcid": null
},
"bibtex": "@unpublished{lewis2020retrieval,
author = {Lewis, Patrick and Perez, Ethan and Piktus, Aleksandra},
title = {{Retrieval-Augmented Generation for Knowledge-Intensive {NLP} Tasks}},
year = {2020},
month = may,
doi = {10.48550/arxiv.2005.11401},
url = {https://arxiv.org/abs/2005.11401},
}"
}
],
"total": 10,
"page": 1,
"limit": 10
}
/search
Target server for requests. Edit to use your own host.
API key (sent in header)
Search text, 1 to 500 characters.
Earliest publication year to include.
Latest publication year to include.
Minimum citation count.
Set true for open-access papers only, or false to exclude them.
Set true for papers with a PDF only, or false for papers without one.
Two-letter ISO 639-1 language code, such as en.
Comma-separated list of sources: openalex, semantic_scholar, pubmed, arxiv. Omit it, or use all, to search every source.
Comma-separated field-of-study IDs. 11 Agricultural and Biological Sciences, 12 Arts and Humanities, 13 Biochemistry, Genetics and Molecular Biology, 14 Business, Management and Accounting, 15 Chemical Engineering, 16 Chemistry, 17 Computer Science, 18 Decision Sciences, 19 Earth and Planetary Sciences, 20 Economics, Econometrics and Finance, 21 Energy, 22 Engineering, 23 Environmental Science, 24 Immunology and Microbiology, 25 Materials Science, 26 Mathematics, 27 Medicine, 28 Neuroscience, 29 Nursing, 30 Pharmacology, Toxicology and Pharmaceutics, 31 Physics and Astronomy, 32 Psychology, 33 Social Sciences, 35 Dentistry, 36 Health Professions.
Comma-separated publication types: article, preprint, book, review, report, dissertation, conference-paper, other.
Lowest SJR journal quartile to include. 1 returns Q1 only; 2 returns Q1 and Q2; and so on.
Minimum journal SNIP score. Papers without a SNIP score are left out.
Minimum journal SJR score. Papers without an SJR score are left out.
Linking ISSN (ISSN-L) of a journal, to return papers from that journal only.
Page number, 1 to 20.
Results per page, 1 to 50.
Request Preview
Response
Response will appear here after sending the request
Authentication
API Key for authentication. Provide your API key in the header.
Query Parameters
Set true for open-access papers only, or false to exclude them.
Set true for papers with a PDF only, or false for papers without one.
Comma-separated list of sources: openalex, semantic_scholar, pubmed, arxiv. Omit it, or use all, to search every source.
pubmed,arxivComma-separated field-of-study IDs. 11 Agricultural and Biological Sciences, 12 Arts and Humanities, 13 Biochemistry, Genetics and Molecular Biology, 14 Business, Management and Accounting, 15 Chemical Engineering, 16 Chemistry, 17 Computer Science, 18 Decision Sciences, 19 Earth and Planetary Sciences, 20 Economics, Econometrics and Finance, 21 Energy, 22 Engineering, 23 Environmental Science, 24 Immunology and Microbiology, 25 Materials Science, 26 Mathematics, 27 Medicine, 28 Neuroscience, 29 Nursing, 30 Pharmacology, Toxicology and Pharmaceutics, 31 Physics and Astronomy, 32 Psychology, 33 Social Sciences, 35 Dentistry, 36 Health Professions.
17,27Comma-separated publication types: article, preprint, book, review, report, dissertation, conference-paper, other.
article,reviewLowest SJR journal quartile to include. 1 returns Q1 only; 2 returns Q1 and Q2; and so on.
1Linking ISSN (ISSN-L) of a journal, to return papers from that journal only.
0028-0836Page number, 1 to 20.
Results per page, 1 to 50.
Responses
Matching papers for this page.
Results found up to and including this page. This isn't the overall number of matches; if it equals page times limit, the next page may have more.
Page number returned.
Results per page.
Endpoint overview
Search academic papers with keyword and semantic matching. Add query parameters to filter by year, citations, open access, source, field of study, publication type, language, and journal quality.
Each search costs 10 AI credits.
Add your API key to the x-api-key header on every request.
x-api-key: pg_api_your_key_here
Create API keys in Settings > API Keys in Paperguide.
Method and path
GET https://api.paperguide.ai/v1/search
Query parameters
Search text, 1 to 500 characters.
Earliest publication year to include.
Latest publication year to include.
Minimum citation count.
Set true for open-access papers only, or false to exclude them.
Set true for papers with a PDF only, or false for papers without one.
Two-letter ISO 639-1 language code, such as en or de.
Comma-separated list of sources: openalex, semantic_scholar, pubmed, arxiv. Omit it, or use all, to search every source.
Comma-separated field-of-study IDs, such as 17,27. See Field-of-study IDs.
Comma-separated publication types: article, preprint, book, review, report, dissertation, conference-paper, other.
Lowest SJR journal quartile to include. 1 returns Q1 journals only, 2 returns Q1 and Q2, and so on.
1234Minimum journal SNIP score. Papers without a SNIP score are left out.
Minimum journal SJR score. Papers without an SJR score are left out.
Linking ISSN (ISSN-L) of a journal, to return papers from that journal only.
Page number, 1 to 20. Default is 1.
Results per page, 1 to 50. Default is 10.
Field-of-study IDs
Use these IDs in the fields parameter. Results show the matching names in fields_of_study.
| ID | Field |
|---|---|
11 | Agricultural and Biological Sciences |
12 | Arts and Humanities |
13 | Biochemistry, Genetics and Molecular Biology |
14 | Business, Management and Accounting |
15 | Chemical Engineering |
16 | Chemistry |
17 | Computer Science |
18 | Decision Sciences |
19 | Earth and Planetary Sciences |
20 | Economics, Econometrics and Finance |
21 | Energy |
22 | Engineering |
23 | Environmental Science |
24 | Immunology and Microbiology |
25 | Materials Science |
26 | Mathematics |
27 | Medicine |
28 | Neuroscience |
29 | Nursing |
30 | Pharmacology, Toxicology and Pharmaceutics |
31 | Physics and Astronomy |
32 | Psychology |
33 | Social Sciences |
35 | Dentistry |
36 | Health Professions |
Request example
This example searches for computer science papers about retrieval-augmented generation published from 2020 to 2024, with at least 50 citations.
Response example
The example shows one result. A real response has up to limit results.
Response fields
Matching papers for this page.
Results found up to and including this page. This isn't the overall number of matches. If total equals page times limit, the next page may have more.
Page number returned.
Results per page.
Paper fields
Each item in results has these fields. GET /papers/{id} returns the same fields for one paper.
Paperguide ID for the paper. Use it with GET /papers/{id}.
Paper title.
Abstract, or null when not available.
One-sentence summary, or null when not available.
Author names.
Number of times the paper has been cited.
Number of references the paper cites.
DOI in lowercase, or null.
Journal or venue name.
OpenAlex ID of the journal or venue.
Page range.
Volume.
Publication year.
Publication date, when known.
Publication type, such as article or preprint.
Landing page URL, or the DOI link when there is no landing page.
Whether the paper is open access.
Open-access URL, when available.
PDF URL, when available.
Field-of-study names, such as Computer Science.
Author institutions.
Journal quality scores: snip, sjr, and sjr_quartile (such as Q1). Each is null when not available.
The paper's IDs in other databases: openalex, semantic_scholar, pubmed, arxiv, and pmcid. Each is null when not available.
Ready-to-use BibTeX entry for the paper. It includes the abstract when one is available.
Get BibTeX
There is no separate BibTeX mode. Every result includes its BibTeX entry in the bibtex field. Join the bibtex values from your results to build a .bib file for a reference manager or manuscript.
Tips for better results
- Search combines keyword and semantic matching. Exact terms help keyword matching, and relevant papers that use different wording still show up through semantic matching.
- Focused queries return more precise results. Add filters such as
fields,year_min, ormin_citationsto narrow a broad query. - To get more results, increase
limit(up to 50) or request the nextpage(up to 20).
Error responses
| Status | Meaning |
|---|---|
400 | A parameter is missing or invalid, such as limit above 50. |
401 | The API key is missing, invalid, or revoked. |
403 | The key bills an organization you are no longer a member of. |
402 | You don't have enough credits for a search (10 credits). |
429 | You went over a fair-use limit. See Fair use. |
500 | Something went wrong on our side. Try again later. |