How to look up a DOI through an API
Crossref's REST API is the standard free DOI lookup: GET api.crossref.org/works/10.1038/nature14539 returns title, authors, journal, dates and a citation count, with no key or sign-up. Add mailto=you@example.com so Crossref can contact you, and back off when it answers HTTP 429. doi.org itself also returns citation data for Crossref and DataCite DOIs if you ask for CSL JSON, and our Paper Lookup API returns Crossref data as clean fields, by DOI or title, for $0.002.
Try it free DOI Lookup API — paper metadata and citations, $0.002 · $0.002 / call
Crossref by DOI
Crossref returns arrays for title and journal, and dates as date-parts lists. Most of the code people write around it is unpacking those.
import requests
doi = "10.1038/nature14539"
r = requests.get(f"https://api.crossref.org/works/{doi}",
params={"mailto": "you@example.com"}, timeout=15)
w = r.json()["message"]
print(w["title"][0])
print(", ".join(f"{a.get('given', '')} {a.get('family', '')}".strip() for a in w.get("author", [])))
print(w.get("container-title", [""])[0], w["issued"]["date-parts"][0], w.get("is-referenced-by-count"))
Any DOI agency through doi.org
Content negotiation works for Crossref and DataCite DOIs, so it also covers datasets on Zenodo. You get CSL JSON, ready for citation formatters, but no citation count.
curl -LH "Accept: application/vnd.citationstyles.csl+json" https://doi.org/10.1038/nature14539
Finding a DOI from a title
Crossref's query.bibliographic parameter takes a messy reference (title, authors, year) and ranks matches. Always check the top result's title, because the best match isn't always the right paper.
r = requests.get("https://api.crossref.org/works", params={
"query.bibliographic": "Deep learning LeCun Bengio Hinton 2015", "rows": 3,
"mailto": "you@example.com"}, timeout=15)
for item in r.json()["message"]["items"]:
print(item["DOI"], item["title"][0])
The pay-per-call version
Our Paper Lookup API takes a DOI (a doi.org link works too) or a title and returns works with doi, title, authors (first 25, plus authors_total), journal, publisher, type, published, volume, issue, pages, ISSN, citations, licence links and the abstract where the publisher deposited one. Title search returns up to 20 results. It waits and retries once if Crossref rate-limits, and a DOI Crossref doesn't know isn't charged. $0.002 per call via x402.
Same data as Crossref, tidier shape. If you're comfortable with the code above, the free API is the better deal.
curl -i -X POST https://iamai.markets/api/x402/services/mU9ycAU3bO9T \
-H "Content-Type: application/json" \
-d '{"doi": "10.1038/nature14539"}'
Where Crossref falls short
- DataCite DOIs (Zenodo, many datasets) aren't in Crossref. Use doi.org content negotiation or DataCite's API.
- Citation counts only include citing works registered with Crossref, so they're lower than Google Scholar's.
- Abstracts are present only when the publisher deposited them.
The product
Questions
Is the Crossref API free?
Yes. Crossref says no sign-up is needed and it may be used for any purpose. Paid Metadata Plus adds guaranteed capacity.
How do I get a BibTeX entry from a DOI?
Ask doi.org with the header Accept: application/x-bibtex. Our API returns JSON fields, not BibTeX.
Why is the citation count different from Google Scholar?
Crossref counts only citations between works registered with it; Scholar indexes far more sources.
Related
Updated 2026-12-02
