Scholar Sidekick (REST API) — Citations, Retraction & Open-Access
Turn a scholarly identifier into a formatted citation, a bibliography file, or an
integrity check (retraction / open-access / fabrication), via a documented REST API.
No API key and no install required — plain HTTPS calls over curl. An optional
RapidAPI key only raises rate limits.
Prefer the bundled scholar-sidekick MCP server instead if it is connected — same
capabilities as native tool calls. This skill is the zero-setup path that works in any
agent that can run curl, and needs no RAPIDAPI_KEY.
When to Use
- The user has an identifier (DOI, PMID, PMCID, ISBN, arXiv, ISSN, ADS bibcode, WHO IRIS URL; shortDOI aliases like
10/aabbe accepted) and wants metadata, a formatted citation, or a bibliography file.
- "Cite this in APA/Vancouver/Chicago…", "give me a BibTeX/RIS file", "export these refs".
- "Has this been retracted?", "is this open access?", "is this citation real / did you make it up?"
- Do NOT use to search for papers by topic — that's discovery. This assumes you already have an identifier.
Surfaces — call the API, never scrape the UI
The site is built for agents. The contract lives at:
Always call the JSON REST API below. Do not drive the website form.
Authentication & limits
Calls to scholar-sidekick.com/api/* work anonymously — no key required — at a
rate-limited free tier (~40 format / 10 export requests per window), which is plenty for
normal, human-driven agent use. Use the anonymous endpoints by default.
Two optional routes raise the limits; they are alternatives, not layers:
Never ask the user for a key just to make a call work — anonymous is the default and is
sufficient. Only mention a key if they hit a rate limit.
Quick Reference
Base URL: https://scholar-sidekick.com
| Need |
Endpoint |
Body |
| Format a citation |
POST /api/format |
{text, style, output} |
| Export a bibliography file |
POST /api/export |
{text, format} |
| Retraction / correction / EoC check |
POST /api/retraction-check |
{id} |
| Open-access status + best legal URL |
POST /api/oa-check |
{id} |
| Verify a claimed citation (fabrication) |
POST /api/verify |
{claimed: {title, doi}} |
| Audit a whole bibliography (batch verify + retraction) |
POST /api/audit |
{bibliography: "…"} or {claims: […]} |
| Service health |
GET /api/health |
— |
Procedure
Format a citation
curl -sS -X POST "https://scholar-sidekick.com/api/format" \
-H "Content-Type: application/json" \
-d '{"text": "10.1038/nphys1170", "style": "vancouver", "output": "text"}'
text: one identifier, or several newline-separated for a batch. Pass verbatim — PMID:, arXiv:, ISBN hyphens, and https://doi.org/… are all tolerated. A shortDOI alias (10/aabbe, from shortdoi.org) is accepted anywhere a DOI is, and expanded to the full DOI before resolving.
style: vancouver (default), ama, apa, ieee, cse, or any CSL style ID (chicago-author-date, harvard-cite-them-right, modern-language-association, nature, bmj, the-lancet, …).
output: text or json.
Response: { "ok": true, "items": [{ "formatted": "…" }], "text": "…" }.
Export a bibliography file
curl -sS -X POST "https://scholar-sidekick.com/api/export" \
-H "Content-Type: application/json" \
-d '{"text": "10.1038/nphys1170\nPMID:30049270", "format": "bibtex"}' \
-o refs.bib
format: bibtex, ris, csl-json, endnote-xml, refworks, nbib, rdf, csv, txt.
Check retraction
curl -sS -X POST "https://scholar-sidekick.com/api/retraction-check" \
-H "Content-Type: application/json" \
-d '{"id": "10.1016/S0140-6736(97)11096-0"}'
Returns { ok, doi, result: { isRetracted, hasCorrections, hasConcern, notices[], title } }
(Crossref + Retraction Watch). One identifier per call — field is id. When the work has
no DOI (e.g. a book), result is null and reason explains why (no_doi / timeout / upstream).
Check open access
curl -sS -X POST "https://scholar-sidekick.com/api/oa-check" \
-H "Content-Type: application/json" \
-d '{"id": "10.1371/journal.pone.0173664"}'
Returns { ok, doi, result: { isOa, oaStatus, bestLocation: {url, hostType, license, version}, locations[] } }
(Unpaywall). One identifier per call — field is id.
Verify a claimed citation (catch fabrication)
curl -sS -X POST "https://scholar-sidekick.com/api/verify" \
-H "Content-Type: application/json" \
-d '{"claimed": {"title": "The title exactly as cited", "doi": "10.xxxx/xxxxx"}}'
Citation fields go inside a claimed object: title (required) plus an identifier
(doi, pmid, … — recommended) and optional authors / year / container. Returns
{ ok, verdict, confidence, matched }, verdict ∈ matched / mismatch / ambiguous /
not_found:
matched — the claim agrees with the record at the identifier.
mismatch — the identifier resolves but the title doesn't: the dominant AI-fabrication
pattern (real DOI + invented title; Topaz et al., Lancet 2026).
ambiguous — the identifier resolves to one paper but the claimed title matches a different
real paper (a wrong-identifier error, not a fabrication).
not_found — neither identifier nor title resolves anywhere.
Use this for "is this citation real?", not a plain format/resolve.
Audit a whole bibliography (batch fabrication + retraction check)
curl -sS -X POST "https://scholar-sidekick.com/api/audit" \
-H "Content-Type: application/json" \
-d '{"bibliography":"@article{a, title={A real title}, doi={10.1038/nphys1170}}\n@article{b, title={An invented title}, doi={10.1016/j.neuroscience.2023.02.008}}"}'
The batch counterpart to /api/verify. Send EITHER bibliography (raw BibTeX / RIS /
CSL-JSON text; format auto-detected, override with format) OR claims (array of
{title + one identifier} objects) — not both. Optional options.checks defaults to
["retraction"] (pass [] to skip). Max 25 entries per call (excess reported via
truncated). Returns { ok, format, entries[], parseErrors[], truncated, summary } where
each entry carries verdict / confidence / retraction and
summary = { total, matched, mismatch, ambiguous, not_found, errored, retracted }.
One bad entry becomes status: "error" without failing the batch. This audits citation
identity — it does not check whether a source supports the claim it is cited for.
Pitfalls
- Never scrape the web UI — the JSON API is faster and stable.
- Pass identifiers verbatim; don't strip prefixes.
- Body fields differ per endpoint:
format/export use text; retraction-check/oa-check use id (one identifier per call); verify wraps fields in claimed. Don't mix them up.
- ISBNs have no DOI, so retraction/OA return a "no DOI" result for books.
- Don't fabricate a fallback: if a call fails or returns
ok:false, report that — never invent a citation, retraction status, OA verdict, or a "matched" verdict.
Verification
curl -sS https://scholar-sidekick.com/api/health returns { "ok": true, … }.
- A good
/api/format response has items[].formatted non-empty.
Optional: bundled MCP server (power users)
This plugin also ships the scholar-sidekick MCP server (tools: resolveIdentifier,
formatCitation, exportCitation, checkRetraction, checkOpenAccess, verifyCitation,
auditBibliography). It runs anonymously too — prefer it when it's connected, since native
tool calls beat curl:
npx -y scholar-sidekick-mcp@latest # anonymous; no key needed
1---2name: scholar-sidekick-api3description: Resolve scholarly identifiers (DOI including shortDOI aliases, PMID, PMCID, ISBN, arXiv, ISSN, ADS bibcode, WHO IRIS URL) into formatted citations (10,000+ CSL styles) and bibliography exports (BibTeX, RIS, EndNote, CSV…), and check retraction, open-access, and citation-fabrication status. Calls a documented REST API over plain HTTP — no install, no API key needed for the free tier.4license: MIT5---67# Scholar Sidekick (REST API) — Citations, Retraction & Open-Access89Turn a scholarly identifier into a formatted citation, a bibliography file, or an10integrity check (retraction / open-access / fabrication), via a documented REST API.11**No API key and no install required** — plain HTTPS calls over `curl`. An optional12RapidAPI key only raises rate limits.1314> Prefer the bundled `scholar-sidekick` MCP server instead if it is connected — same15> capabilities as native tool calls. This skill is the zero-setup path that works in any16> agent that can run `curl`, and needs no `RAPIDAPI_KEY`.1718## When to Use19- The user has an identifier (DOI, PMID, PMCID, ISBN, arXiv, ISSN, ADS bibcode, WHO IRIS URL; shortDOI aliases like `10/aabbe` accepted) and wants metadata, a formatted citation, or a bibliography file.20- "Cite this in APA/Vancouver/Chicago…", "give me a BibTeX/RIS file", "export these refs".21- "Has this been retracted?", "is this open access?", "is this citation real / did you make it up?"22- Do NOT use to *search* for papers by topic — that's discovery. This assumes you already have an identifier.2324## Surfaces — call the API, never scrape the UI25The site is built for agents. The contract lives at:26- https://scholar-sidekick.com/llms.txt (index of agent surfaces)27- https://scholar-sidekick.com/AGENTS.md (REST + MCP guide)28- https://scholar-sidekick.com/openapi/openapi.yml (OpenAPI 3.1)2930Always call the JSON REST API below. Do not drive the website form.3132## Authentication & limits33Calls to `scholar-sidekick.com/api/*` work **anonymously — no key required** — at a34rate-limited free tier (~40 format / 10 export requests per window), which is plenty for35normal, human-driven agent use. Use the anonymous endpoints by default.3637Two optional routes raise the limits; they are alternatives, not layers:38- A free **first-party key** (`ssk_…`) from https://scholar-sidekick.com/account, sent as39 `Authorization: Bearer ssk_…` against `scholar-sidekick.com`.40- A **RapidAPI** subscription for paid/managed volume: subscribe at41 https://rapidapi.com/scholar-sidekick-scholar-sidekick-api/api/scholar-sidekick and call42 the RapidAPI gateway with your `X-RapidAPI-Key`.4344Never ask the user for a key just to make a call work — anonymous is the default and is45sufficient. Only mention a key if they hit a rate limit.4647## Quick Reference48Base URL: `https://scholar-sidekick.com`4950| Need | Endpoint | Body |51|------|----------|------|52| Format a citation | `POST /api/format` | `{text, style, output}` |53| Export a bibliography file | `POST /api/export` | `{text, format}` |54| Retraction / correction / EoC check | `POST /api/retraction-check` | `{id}` |55| Open-access status + best legal URL | `POST /api/oa-check` | `{id}` |56| Verify a claimed citation (fabrication) | `POST /api/verify` | `{claimed: {title, doi}}` |57| Audit a whole bibliography (batch verify + retraction) | `POST /api/audit` | `{bibliography: "…"}` or `{claims: […]}` |58| Service health | `GET /api/health` | — |5960## Procedure6162### Format a citation63```bash64curl -sS -X POST "https://scholar-sidekick.com/api/format" \65 -H "Content-Type: application/json" \66 -d '{"text": "10.1038/nphys1170", "style": "vancouver", "output": "text"}'67```68- `text`: one identifier, or several newline-separated for a batch. Pass verbatim — `PMID:`, `arXiv:`, ISBN hyphens, and `https://doi.org/…` are all tolerated. A shortDOI alias (`10/aabbe`, from shortdoi.org) is accepted anywhere a DOI is, and expanded to the full DOI before resolving.69- `style`: `vancouver` (default), `ama`, `apa`, `ieee`, `cse`, or any CSL style ID (`chicago-author-date`, `harvard-cite-them-right`, `modern-language-association`, `nature`, `bmj`, `the-lancet`, …).70- `output`: `text` or `json`.71Response: `{ "ok": true, "items": [{ "formatted": "…" }], "text": "…" }`.7273### Export a bibliography file74```bash75curl -sS -X POST "https://scholar-sidekick.com/api/export" \76 -H "Content-Type: application/json" \77 -d '{"text": "10.1038/nphys1170\nPMID:30049270", "format": "bibtex"}' \78 -o refs.bib79```80- `format`: `bibtex`, `ris`, `csl-json`, `endnote-xml`, `refworks`, `nbib`, `rdf`, `csv`, `txt`.8182### Check retraction83```bash84curl -sS -X POST "https://scholar-sidekick.com/api/retraction-check" \85 -H "Content-Type: application/json" \86 -d '{"id": "10.1016/S0140-6736(97)11096-0"}'87```88Returns `{ ok, doi, result: { isRetracted, hasCorrections, hasConcern, notices[], title } }`89(Crossref + Retraction Watch). One identifier per call — field is **`id`**. When the work has90no DOI (e.g. a book), `result` is `null` and `reason` explains why (`no_doi` / `timeout` / `upstream`).9192### Check open access93```bash94curl -sS -X POST "https://scholar-sidekick.com/api/oa-check" \95 -H "Content-Type: application/json" \96 -d '{"id": "10.1371/journal.pone.0173664"}'97```98Returns `{ ok, doi, result: { isOa, oaStatus, bestLocation: {url, hostType, license, version}, locations[] } }`99(Unpaywall). One identifier per call — field is **`id`**.100101### Verify a claimed citation (catch fabrication)102```bash103curl -sS -X POST "https://scholar-sidekick.com/api/verify" \104 -H "Content-Type: application/json" \105 -d '{"claimed": {"title": "The title exactly as cited", "doi": "10.xxxx/xxxxx"}}'106```107Citation fields go inside a **`claimed`** object: `title` (required) plus an identifier108(`doi`, `pmid`, … — recommended) and optional `authors` / `year` / `container`. Returns109`{ ok, verdict, confidence, matched }`, verdict ∈ `matched` / `mismatch` / `ambiguous` /110`not_found`:111- `matched` — the claim agrees with the record at the identifier.112- `mismatch` — the identifier resolves but the title doesn't: the dominant AI-fabrication113 pattern (real DOI + invented title; Topaz et al., Lancet 2026).114- `ambiguous` — the identifier resolves to one paper but the claimed title matches a *different*115 real paper (a wrong-identifier error, not a fabrication).116- `not_found` — neither identifier nor title resolves anywhere.117118Use this for "is this citation real?", not a plain format/resolve.119120### Audit a whole bibliography (batch fabrication + retraction check)121```bash122curl -sS -X POST "https://scholar-sidekick.com/api/audit" \123 -H "Content-Type: application/json" \124 -d '{"bibliography":"@article{a, title={A real title}, doi={10.1038/nphys1170}}\n@article{b, title={An invented title}, doi={10.1016/j.neuroscience.2023.02.008}}"}'125```126The batch counterpart to `/api/verify`. Send EITHER `bibliography` (raw BibTeX / RIS /127CSL-JSON text; format auto-detected, override with `format`) OR `claims` (array of128`{title + one identifier}` objects) — not both. Optional `options.checks` defaults to129`["retraction"]` (pass `[]` to skip). Max 25 entries per call (excess reported via130`truncated`). Returns `{ ok, format, entries[], parseErrors[], truncated, summary }` where131each entry carries `verdict` / `confidence` / `retraction` and132`summary = { total, matched, mismatch, ambiguous, not_found, errored, retracted }`.133One bad entry becomes `status: "error"` without failing the batch. This audits citation134identity — it does not check whether a source supports the claim it is cited for.135136## Pitfalls137- Never scrape the web UI — the JSON API is faster and stable.138- Pass identifiers verbatim; don't strip prefixes.139- Body fields differ per endpoint: `format`/`export` use `text`; `retraction-check`/`oa-check` use `id` (one identifier per call); `verify` wraps fields in `claimed`. Don't mix them up.140- ISBNs have no DOI, so retraction/OA return a "no DOI" result for books.141- Don't fabricate a fallback: if a call fails or returns `ok:false`, report that — never invent a citation, retraction status, OA verdict, or a "matched" verdict.142143## Verification144- `curl -sS https://scholar-sidekick.com/api/health` returns `{ "ok": true, … }`.145- A good `/api/format` response has `items[].formatted` non-empty.146147## Optional: bundled MCP server (power users)148This plugin also ships the `scholar-sidekick` MCP server (tools: `resolveIdentifier`,149`formatCitation`, `exportCitation`, `checkRetraction`, `checkOpenAccess`, `verifyCitation`,150`auditBibliography`). It runs anonymously too — prefer it when it's connected, since native151tool calls beat `curl`:152```bash153npx -y scholar-sidekick-mcp@latest # anonymous; no key needed154```