Developers

The REST API

Search 142,107 peer-reviewed ML papers from your own code: by text, by the sections of a paper, or from a PDF link. Free key below, no sign-up.

On this page: Quick start
Quick start

A key, and your first request.

Use this key straight away. There's nothing to sign up for.

Your API key pw_live_65d65b6a1f42920fda777e306f0005c0b9141bba4327dff203be010c1f34be72
Daily limit
500 requests
Resets
Midnight UTC
Includes
Search & summaries

Need more volume, or the full synthesis analysis? Get in touch.

Set the key once, then try a text search:

# Set once
export API_KEY="pw_live_65d65b6a1f42920fda777e306f0005c0b9141bba4327dff203be010c1f34be72"

# Text search: the 10 most relevant papers
curl -X POST https://priorwork.fyi/api/query \
  -H "X-API-Key: $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "contrastive learning for vision transformers",
    "max_results": 10
  }'
The base URL is https://priorwork.fyi. Send your key in the X-API-Key header on every request.
Options

The analysis parameter

ValueWhat you getExtra time
"none"Search results only, no LLM processing—
"summaries"Per-paper structured notes: problem, method, key results, evidence strength. Uses cached extractions when available.+5–15 s
Response shape

What paper search returns.

The topics endpoints have their own response tables, in the Topics API section below.

Search only (analysis: "none")

{
  "query": "diffusion models for image generation",
  "total_results": 10,
  "uncited_count": 8,
  "cited_count": 2,
  "results": [
    {
      "paper_id": "DDPM_2020",
      "title": "Denoising Diffusion Probabilistic Models",
      "authors": "Ho, Jain, Abbeel",
      "year": "2020",
      "conference": "NeurIPS",
      "abstract": "We present ...",
      "similarity": 0.91,
      "is_cited": false,
      "download_url": "https://..."
    }
  ],
  "llm_analysis": null,
  "llm_error": null
}

With summaries (analysis: "summaries")

The results array is unchanged; an llm_analysis.extractions list is added:

{
  "results": [ /* same as above */ ],
  "llm_analysis": {
    "extractions": [
      {
        "paper_id": "DDPM_2020",
        "problem": "The core problem addressed",
        "core_insight": "The key observation that justifies the approach",
        "method_summary": "How the paper solves it",
        "key_results": ["Result 1", "Result 2"],
        "baselines_beaten": ["Baseline A"],
        "limitations": ["Main limitation", "Secondary limitation"],
        "applicability_conditions": "Assumptions and constraints on when this applies",
        "positioning": "Gap in prior work the authors claim to fill",
        "evidence_strength": "4/5 — Strong empirical evidence with ablations"
      }
    ],
    "error": null
  }
}
is_cited only means something when you pass check_citations: true. A similarity above 0.83 is a strong match; above 0.97 the paper is probably already in your references.
Topics API

Open research problems, and checking an idea.

A different corpus and a different question. Paper search returns papers from a 142,107-paper index; these endpoints work on the research topics that FutureWork.fyi publishes: ranking them against an interest, or judging whether a project you describe has already been done.

They differ on keys. search accepts any valid key, including the public free key; validate needs a key with analysis rights.

GET/api/research-suggestionsThe topics themselves

Every published topic, in one document. No key, no parameters, no ranking: this is the corpus, useful on its own if you'd rather browse than search. It's also what you join /api/topics/search results against, since that endpoint returns keys rather than text.

curl https://priorwork.fyi/api/research-suggestions

// → {"artifact": "162e7c8fb8cd", "generated": "2026-09-08", "topics": [ … ]}

artifact identifies this exact set of topics. It changes whenever the published set does: a new topic, a withdrawn one, or the same topics with rewritten text. /api/topics/search returns the same id, so a client that caches this document can compare the two and refetch only when it moves:

hits = requests.post(f"{BASE}/api/topics/search", json={"q": q}).json()
if hits["artifact"] != cached_artifact_id:
    blob = requests.get(f"{BASE}/api/research-suggestions").json()
    cached_topics, cached_artifact_id = blob["topics"], blob["artifact"]
Don't wait for a key to fail to resolve instead. A key comes from a topic's supporting papers, so a run that rewrites every title leaves every key unchanged, and a cache waiting for a failure would serve stale text indefinitely.
About 4.6 MB for ~180 topics, because each one carries its full reasoning. Fetch it once and keep it rather than per search: topics only change when the pipeline runs, and generated tells you when that was.
FieldTypeWhat it is
keystringStable id, derived from the papers behind the topic. This is what /api/topics/search returns
titlestringThe project, phrased as a paper title
whystringThe limitation several papers independently hit
impactstringWhat changes if it works
riskstringThe reason it might not
approachesstringConcrete ways in, numbered
regionstringThe research area it was mined from
papersintHow many papers the evidence rests on
statementsarrayThe limitations those papers stated, word for word
sources, neighboursarrayThe papers themselves, with ids you can look up
verification.verdictstringOPEN if a prior-art check found nothing that closes it
childrenarraySub-problems, on the ~20% of topics that split
hydestringThe synthetic abstract the ranker matches your query against

title, why, impact, risk and approaches are the ones worth reading. The rest is provenance, kept so any claim can be traced back to its papers.

These are generated, not curated. verification.verdict records a prior-art check, but that check finds only about a third of work that already exists, so an OPEN verdict is not evidence the problem is unsolved. Treat a topic as a lead to investigate.

Phrasing the query

Each topic is stored as a synthetic abstract of the paper that would close it, so the match is intent against intent. Write what you want to work on the way you'd write it in an abstract. Measured against the live index:

StyleQueryResultsTop score
keywordsefficient transformers edge devices0—
a titleEfficient Vision Transformers for Edge Deployment210.385
a questionhow can I make vision transformers efficient on edge devices?180.368
proseWe want to cut the compute and memory cost of vision transformers so they can run on resource-constrained edge hardware without losing accuracy.290.430

Keywords return nothing. That isn't a bug: a bare term barely overlaps a full abstract, so it lands under the relevance floor. The same goes for a bare method name: diffusion models returns 0, while "generated images are hard to attribute to their source model" returns 26. Describe the problem, not the technique.

Broad is worse, not better. machine learning returns 5 and evaluation returns 2, while "detecting hallucination in retrieval-augmented generation" scores 0.556, the highest of any test here. Specific queries have something to match against; vague ones don't.

More detail helps, up to about a thousand characters.

Query lengthResultsTop score
159 chars, one sentence590.462
459 chars, a paragraph850.598
1,059 chars960.652
1,953 chars980.652 (unchanged)

The ranker stops reading at 256 tokens, roughly 1,000 characters, which is why the last two rows score the same. Put the substance first; there's no benefit to sending a whole paper.

POST/api/topics/searchRank research topics

Ranks the published research topics against a free-text description of what you want to work on. It never touches the paper index, answers in about 5 ms, and returns topic keys you join against GET /api/research-suggestions.

Needs a key. Any valid key works, including the public free key above; no analysis rights needed. It has its own allowance of 2,000 requests a day, separate from paper search both ways: ranking topics never uses your paper-search quota, and a key that has used up that quota still works here.

The site's own pages call this without a key and aren't capped. A web page can't keep a secret, so those requests count against the site's key instead. The exemption is decided by the Origin header, so it doesn't extend to an API caller who leaves that header out.
curl -X POST https://priorwork.fyi/api/topics/search \
  -H "Content-Type: application/json" \
  -d '{"q": "protein folding"}'

# → {"degraded": false, "results": [{"key": "6e3242e12882", "score": 0.45}, …]}
FieldTypeDefaultDescription
qstringrequiredWhat you want to work on, in your own words
min_scorefloat0.30Relevance floor. Below it, a "match" is shared vocabulary rather than shared subject
limitintunsetA safety cap, not a page size. Leave it off and the floor decides how many results there are; maximum 500

Response

{
  "artifact": "162e7c8fb8cd",
  "degraded": false,
  "results": [
    { "key": "6e3242e12882", "score": 0.450090 },
    { "key": "a9d4b3708af5", "score": 0.413924 }
  ]
}
FieldTypeMeaning
artifactstringId of the topic set these keys came from. Compare it with your cached copy to know when to refetch
results[].keystringStable topic id. Join it against GET /api/research-suggestions; this endpoint returns keys, never topic text, so the two can never disagree about what a topic says
results[].scorefloatCosine similarity, highest first. Not comparable across queries: rank within one response, don't set thresholds across them
degradedbooltrue means ranking was unavailable and results is empty. Fall back to whatever you had
staleboolOnly present on a deployment mismatch: the ranker's vectors describe a different set of topics, so its keys wouldn't resolve

Zero results is a real answer, not an error: nothing published is close to that question, which is more useful than a list of near-misses. degraded: true is the different case. Limited to 60 requests a minute per address and 2,000 a day per key.

POST/api/topics/validateHas this been done? premium

Retrieves the closest prior work for a project description and asks whether any of it already does the job. Needs an API key with analysis rights. Each call counts against your daily quota.

curl -X POST https://priorwork.fyi/api/topics/validate \
  -H "X-API-Key: $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Verifier-free reward shaping for open-domain reasoning",
    "abstract": "We remove the dependence on rule-based answer verifiers by ...",
    "why_it_matters": "Current methods only work where answers can be checked ..."
  }'
FieldTypeDefaultDescription
titlestringrequiredWorking title. Worth about 30 points of top-1 retrieval accuracy, so don't leave it out
abstractstringrequiredThe idea, as you'd write it in an abstract
why_it_mattersstringrequiredThe limitation this removes. This is the framing the judge matches on
max_papersint103–20. How many retrieved papers the judge reads

Response

{
  "verdict": "PARTIAL",
  "found_prior_work": true,
  "reason": "Paper [2] removes the verifier requirement, but only for maths.",
  "papers": [
    { "paper_id": "Reinforcing_General_Reasoning_Without_Verifiers_2026",
      "title": "Reinforcing General Reasoning Without Verifiers",
      "similarity": 0.824, "year": "2026",
      "conference": "ICLR", "download_url": "https://..." }
  ],
  "considered": [ /* every paper the judge read, same shape */ ],
  "sensitivity_note": "This detects roughly a third of work that already exists ..."
}
FieldTypeMeaning
verdictstringALREADY_DONE, PARTIAL or OPEN. A 200 always carries one of these three
found_prior_workboolTrue for ALREADY_DONE and PARTIAL only. The one field worth branching on
reasonstringOne sentence naming the paper that decided it
papersarrayOnly the papers the verdict rests on. Empty for OPEN
consideredarrayEverything the judge read, so you can see what it worked from. Anything at 0.97 similarity or above (your own paper) is removed before judging
sensitivity_notestringSent with every response, because the caveat below decides whether the answer is useful or misleading

Phrasing the three fields

title isn't decoration. The index stores every paper as Title: …\nAbstract: …, so a title makes your submission the same shape as what it's matched against. That's worth about 30 points of top-1 accuracy (63% → 95% over 100 queries whose target paper was known).

why_it_matters should name the constraint you're removing, not the benefit. Gaps in this corpus are almost always phrased as limitations ("requires rule-based verifiers", "restricted to portrait scenes", "assumes access to the retain set"), and the paper that closes one is the paper that lifts that requirement. Matching works best when your framing has the same shape.

// weak: states a benefit
"why_it_matters": "This would make reasoning models more useful."

// strong: names the constraint being lifted
"why_it_matters": "Current methods need a rule-based checker, which limits them to maths and code."

abstract is the work itself: what you'd do and how. At least 50 characters, and the same thousand-character guidance as search applies, so say the substance early.

Read the verdict in one direction only. This finds roughly a third of work that already exists, with about a 4% false-positive rate. ALREADY_DONE and PARTIAL are worth acting on, and papers names what decided it. OPEN means nothing was found among the papers read; it is not evidence your idea is new, which is why there's no is_novel field.
StatusCodeWhen
400MISSING_FIELDSA required field is missing or blank
401AUTH_REQUIREDNo API key sent
403ANALYSIS_NOT_PERMITTEDValid key, but without analysis rights (the free tier)
422NOTHING_TO_VERIFYEvery retrieved paper was your own submission, or nothing cleared the threshold
503VERIFICATION_UNAVAILABLEThe model was unreachable or gave no verdict. Safe to retry

A 200 always carries a real verdict. Every way a judgement can fail to exist is an error with its own code, never a fourth verdict.

Your data

What happens to what you send.

A PDF you send, whether uploaded to /api/query or fetched by us from a link you pass to /api/search/pdf-url, is written to a temporary file, read, and deleted when the request finishes. Neither the file nor its text is ever stored.

What you send in sections, and the two synthesis fields written about it (relevance_to_query and query_positioning), are deleted after 30 days. They're kept that long so a change to the analysis prompt can be checked against earlier output.

LLM analysis runs on Google Vertex AI. With analysis=summaries or synthesis, the retrieved papers are sent there; with analyze_my_draft, your sections are too. Leave analysis off and nothing you send leaves our hardware.