Works citing a work
The works that cite a given work (by DOI or work id): the cited work's title, year and citation count, the total number of citing works, and each citing work's DOI, work id, title, type, publication date, authors (name, ORCID, position, institutions), journal or venue, ISSN, publisher, volume, issue, pages, language, its own citation count and open-access status and link. Filter by year range, type, open access or keywords; sort by most cited, newest or oldest. Pass next_page back as page; null on the last page (paging stops at 10,000 results).
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
doi | string | DOI of the cited work (or its doi.org URL). Pass this or work_id. Example: 10.1038/nature14539 |
work_id | string | Work id of the cited work (the work_id of a result, e.g. W2919115771), for works without a DOI; instead of doi. |
q | string | Keywords to search within the citing works. |
type | string | Citing work type (article, review, preprint, book-chapter, conference-paper, dataset, dissertation...). |
from_year | integer | Published in or after this year. |
to_year | integer | Published in or before this year. |
open_access | boolean | true: only open-access citing works. |
sort | citations | newest | oldest | Order (default citations: most cited first). |
limit | integer | Works per page (default 20, max 100). |
page | integer | Page number. Pass next_page from the previous response; null on the last page. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/papers/v1/citations?doi=10.1038%2Fnature14539" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/papers/v1/citations",
params={"doi": "10.1038/nature14539"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/papers/v1/citations");
url.searchParams.set("doi", "10.1038/nature14539");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).