Get started
Quickstart
Coming soon
Make your first call in five minutes: create a key, set an environment variable, confirm the connection and verify a reference.
Join the waitlist
Join the Discord waitlist on the API page. If you’re logged in, you can also click Join the waitlist. We’ll announce the launch on Discord.
Create a key
Create a key under API keys in your account and give it a name, such as the computer it’s for. If you last signed in more than 15 minutes ago, you’ll be asked to confirm it’s you first.
Set an environment variable
All examples read the key from
PAPERPURR_API_KEY:macOS / Linux
export PAPERPURR_API_KEY="pp_live_..."Windows PowerShell
$env:PAPERPURR_API_KEY = "pp_live_..."Confirm the connection
Check your usage. This endpoint is free, and a
200means the key works:curl
curl "https://paperpurr.com/v1/usage" \ -H "Authorization: Bearer $PAPERPURR_API_KEY"Python
import os import requests r = requests.get( "https://paperpurr.com/v1/usage", headers={"Authorization": f"Bearer {os.environ['PAPERPURR_API_KEY']}"}, ) print(r.json())JS
const r = await fetch("https://paperpurr.com/v1/usage", { headers: { Authorization: `Bearer ${process.env.PAPERPURR_API_KEY}`, }, }); console.log(await r.json());{ "plan": "std", "period": { "start": "2026-12-01T00:00:00.000Z", "end": "2027-01-01T00:00:00.000Z" }, "trial": { "included": 500, "used": 0, "remaining": 500 }, "balance": { "units": 0 }, "rate_limit": { "requests": 60, "window_seconds": 60 }, "units": { "citations.lookup": "1 / 次", "citations.verify": "1 / 条(skipped、error 不计)" }, "request_id": "req_8f2c1a9d4b7e03f1a6c5d290" }Verify a reference
curl
curl -X POST "https://paperpurr.com/v1/citations/verify" \ -H "Authorization: Bearer $PAPERPURR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"references":["Smith, J. (2020). Title. Journal, 12(3), 45-67."]}'Python
import os import requests r = requests.post( "https://paperpurr.com/v1/citations/verify", headers={"Authorization": f"Bearer {os.environ['PAPERPURR_API_KEY']}"}, json={ "references": [ "Smith, J. (2020). Title. Journal, 12(3), 45-67." ] }, ) print(r.json())JS
const r = await fetch("https://paperpurr.com/v1/citations/verify", { method: "POST", headers: { Authorization: `Bearer ${process.env.PAPERPURR_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "references": [ "Smith, J. (2020). Title. Journal, 12(3), 45-67." ] }), }); console.log(await r.json());If
results[0].statusismatched, you’re done.usage.unitsis what this call cost.
If something goes wrong
| Status | code | Cause | What to do |
|---|---|---|---|
401 | missing_api_key | The environment variable isn’t set | Run echo $PAPERPURR_API_KEY in the same terminal |
401 | invalid_api_key | The key is malformed or doesn’t exist. | Make sure you copied the whole key with no extra spaces. |
503 | coming_soon | The API isn’t open yet. Every /v1 and /mcp call returns this for now. | Join the waitlist. We’ll announce the launch on Discord. |
Next steps
- Reference verification: Check each reference against Crossref and OpenAlex and flag whether it matches, differs or can’t be found.
- MCP: Use PaperPurr from Claude Code, Cursor, VS Code, Codex and other AI clients: server address, per-client setup, tools and connection check.
- Workflow examples: How to choose between the three ways to get results, plus two complete recipes: batch-verifying references after you finish a paper, and having an agent in Claude Code find and insert citations.