Two IDs for one paper is a trap for copy-paste: the paperId is a long string, the corpusId is a number, and each works in some places and fails in others. Quoting the wrong one sends the next tool to the wrong paper — or nowhere.
Semantic Scholar's API documentation says there are two different IDs for a single paper: paperId, the primary way to identify papers, and corpusId, used by its datasets. Semantic Scholar — Academic Graph API (checked 2026-11-28). No AI tool was run for this guide: the practice example below is synthetic, about a fictional study, and every result in the table is an expected result for you to reproduce.
Use the practice example
The example below is synthetic. It is about a fictional study, and it was not produced by any AI tool. It is the only material for the exercise.
Practice source: Practice paper — a fictional Semantic Scholar record: "paperId '5c5751d45e298cea054f32b392c12c61027d2fe7', corpusId 215416146, title 'Construction of the Literature Graph in Semantic Scholar'."
Practice AI answer: Practice AI answer: "Paper ID 215416146 — use it to fetch the paper."
Check which ID it is
Work through the table row by row, opening the practice source each time. Expected result: the table below is what to expect if you run the same check yourself on the practice example.
| Part of the claim | AI answer says | Source says | Verdict |
|---|---|---|---|
| The number | Paper ID 215416146 | 215416146 is the corpusId | Wrong — the corpusId, not the paperId |
| The paperId | Not given | 5c5751d4… (long string) | Left out — the real paperId was never quoted |
| The use | Fetch the paper by it | corpusId works in datasets, not as the primary ID | Wrong — the wrong ID for the job |
Watch for the pattern
Before you pass an ID on, ask: string or number? A long hexadecimal string is a paperId; a plain number is a corpusId. Use the paperId for the website and API, and the corpusId only where datasets expect it.
What to do with each verdict
- Matches: keep the claim, and keep the source with it so the next reader can check it too.
- Overstated or narrowed: rewrite the claim using the source’s own words and limits.
- Not in the source: do not repeat the claim as coming from that source. Find the real source, or drop the claim.
Limits
- No AI tool was run for this guide. The practice source and answer are synthetic, and all results are expected results, not test outcomes.
- This guide checks one claim against one source. A claim can match the source and still misrepresent the wider literature, so read the full paper for anything you will act on.
- This guide checks one pair of IDs. The API key, when used, must be set in the x-api-key header, case-sensitive.
Related check: How to Check Whether an AI Answer's Citation Is a Secondary Citation, Not a Source It Read Directly. Also: How to Check an AI Answer's Abbreviated Journal Title Against the Journal.
Sources
- Semantic Scholar — Academic Graph API — Says there are two different IDs for a single paper: paperId, the primary identifier, and corpusId, used by datasets (checked 2026-11-28).
