DOI to Citation API
Turns DOIs into ready-to-paste reference citations in APA, MLA, Chicago, IEEE, Harvard, BibTeX or any other citation style name, one row per DOI.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from doi.org
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/doi-citation-formatter/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"dois":["10.1038/nature12373"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
3 fields.
Basics
- Doi
The DOI, lower case, without a link prefix.
Example 10.1038/nature12373
- Style
The citation style used.
Example apa
- Citation text
The formatted reference on one line.
Example Kucsko, G., Maurer, P. C., Yao, N. Y., Kubo, M., Noh, H. J., Lo, P. K., Park, H., & Lukin, M. D. (2013).…
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
doi | text | Doi | 3 of 3 |
style | text | Style | 3 of 3 |
citation_text | text | Citation text | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Doi | Style | Citation text |
|---|---|---|---|
| 1 | 10.1038/nature12373 | apa | Kucsko, G., Maurer, P. C., Yao, N. Y., Kubo, M., Noh, H. J., Lo, P. K., Park, H., & Lukin, M. D. (2013). Nanometre-scale thermometry in a living cell. Nature, 500(7460), 54–58. https://doi.org/10.1038/nature12373 |
| 2 | 10.1126/science.1157784 | apa | Renear, A. H., & Palmer, C. L. (2009). Strategic Reading, Ontologies, and the Future of Scientific Publishing. Science, 325(5942), 828–832. https://doi.org/10.1126/science.1157784 |
| 3 | 10.1145/3292500.3330701 | apa | Akiba, T., Sano, S., Yanase, T., Ohta, T., & Koyama, M. (2019). Optuna. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2623–2631. https://doi.org/10.1145/3292500.3330701 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- One run takes at most 200 DOIs; a DOI that the DOI system does not know is skipped and gives no row.
- Citations are produced by the DOI registration agencies (Crossref, DataCite) from the metadata the publisher registered, so they can miss fields such as page numbers or contain the publisher's own typos.
- The style is a citation style name, for example apa, modern-language-association, chicago-author-date, ieee, harvard-cite-them-right, vancouver or bibtex; an unknown style name is refused.
- The citation is one line of plain text (BibTeX entries are joined onto one line).
- DOIs are looked up one at a time with a short pause, so 200 DOIs take about a minute.
- Citation metadata comes from Crossref and DataCite and is free to reuse; not affiliated with either.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.