API Overview
Paperguide API overview for searching research papers, looking up a paper, and checking your credits in your app or workflow.
curl --request GET \
--url "https://api.paperguide.ai/v1/papers/10.48550%2Farxiv.2005.11401" \
--header "x-api-key: pg_api_your_key_here"
Overview
Use the Paperguide API to search academic papers, get the details of one paper, and check how many credits you have left.
Base URL
Send all requests to:
https://api.paperguide.ai/v1
Authentication
Add your API key to the x-api-key header on every request.
x-api-key: pg_api_your_key_here
Keep API keys on your server and out of client-side code.
Create an API key
- In Paperguide, open Settings and select API Keys.
- Click Create Key, enter a key name (for example, My App), and click Create.
- Copy the key right away. You won't be able to see it again.
To stop a key from working, click Revoke next to it. Any app using that key stops working, and this can't be undone.
Personal and organization keys
Keys you create under your personal account use your personal AI credits.
If you belong to an organization, switch Settings to that organization and open API Keys there. Keys created there use the organization's shared credits, which all members use together.
If you leave the organization, the organization keys you created stop working and return 403 Organization membership required. Revoke them and create a new key.
Available endpoints
| Endpoint | What it does |
|---|---|
GET /search | Search academic papers with keyword and semantic matching, plus filters. |
GET /papers/{id} | Get one paper by its Paperguide paper_id, DOI, or PubMed ID. |
GET /usage | Check your credits, what each call costs, and the fair-use limits. |
Look up a paper
Send a GET request to /papers/{id}. The id can be:
- A Paperguide
paper_id, from search results - A DOI, such as
10.1038/s41586-020-2649-2orhttps://doi.org/10.1038/s41586-020-2649-2 - A PubMed ID, such as
32015507,pmid:32015507, orpubmed:32015507
URL-encode the value when it contains slashes, such as a DOI.
The response is a single paper with the same fields as a search result, including bibtex. See Search Papers for the full field list. If no paper matches, the API returns 404 Paper not found.
Credits
API calls use the same AI credits as the rest of Paperguide. There is no separate API allowance.
| Call | Credits |
|---|---|
GET /search | 10 |
GET /papers/{id} | 2 |
GET /usage | Free |
- You're charged only when a call succeeds. A paper that can't be found (
404) and calls that fail cost nothing. - Credits refresh every month with your plan. See AI Credits for how many each plan includes and how to buy more.
- When you don't have enough credits for a call, the API returns
402and tells you when your credits renew.
You can see what the API has used in Settings → Usage, where it's listed as API.
Fair use
To keep the service fast for everyone, each person can make up to:
| Limit | Calls |
|---|---|
| Per minute | 60 |
| Per hour | 600 |
| Per day | 2,000 |
| At the same time | 10 |
- The limits are per person. All your API keys and your AI assistants connected through MCP share them, so adding keys doesn't raise them.
- In an organization, each member has their own limits. One busy member doesn't use up anyone else's.
- Every call counts, including
/usage, a paper that isn't found, and calls refused for lack of credits. - If you go over a limit, the API returns
429. For the per-minute, per-hour, and per-day limits, the response tells you how many seconds to wait inretry_after_secondsand in theRetry-Afterheader. For the at-the-same-time limit, wait for one of your calls to finish. - Enterprise plans have no fair-use limits.
Common errors
The API returns JSON errors with an error title and a message.
| 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 this call. |
404 | No paper matches the id (paper lookup only). |
429 | You went over a fair-use limit. See Fair use. |
500 | Something went wrong on our side. Try again later. |
Next steps
Open the endpoint pages for parameters, example responses, and response fields.