Citation Generator API: DOI to APA, MLA, Chicago & BibTeX
citation_formatterConverts DOIs, ISBNs, PMIDs, arXiv IDs, titles or messy references into APA, MLA, Chicago, Harvard, IEEE, Vancouver, BibTeX and RIS citations checked against Crossref.
Instructions
Use this to turn DOIs, ISBNs, PMIDs, arXiv IDs, titles or messy references into citations. Input: a reference list or pasted .bib/.ris text. Output: APA 7, MLA 9, Chicago, Harvard, IEEE, Vancouver, BibTeX and RIS per reference, checked against Crossref.
Runs the Apify Actor pandadad0214/citation-formatter (https://apify.com/pandadad0214/citation-formatter) on your own Apify account. Price: $0.003 per citation formatted. Runs that find nothing are not charged per result. Spending is capped per call by run_max_charge_usd.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Paste a reference list or file contents. Optional. Paste a whole bibliography (numbered, one per line, or blank-line separated), or the contents of a .bib (BibTeX) or .ris file. BibTeX/RIS entries are converted directly without a lookup. | |
| styles | No | Citation styles. Styles to output. All six are included in the price, so pick as many as you like. | |
| includeRis | No | RIS export. Add an RIS entry per reference and a combined .ris file (Zotero, Mendeley, EndNote, Rayyan). Default: on. | |
| references | No | References (one per line). DOIs, DOI links, ISBNs, arXiv IDs, PMIDs ("PMID: 123"), paper titles, or messy reference strings in any style. Each one is looked up and formatted. | |
| contactEmail | No | Contact email for Crossref (optional). Optional. Sent to Crossref and NCBI as the contact so requests use their faster 'polite' pools. Never shared elsewhere. | |
| includeBibtex | No | BibTeX export. Add a BibTeX entry per reference and a combined .bib file (LaTeX, Overleaf, JabRef). Default: on. | |
| maxReferences | No | Max references per run. Safety cap. Only formatted citations are billed. Whole number, 1 to 20,000 references; default 1,000. | |
| minMatchScore | No | Minimum match score for text lookups (50-100). How closely a search result must match a free-text reference (title, authors, year) to be used. DOIs and ISBNs are exact lookups and are not affected. Whole number, 50 to 100; default 80. | |
| run_max_items | No | Optional. Most results to return from this call (default from PANDA_MAX_ITEMS, 50). Also limits how many results the Actor produces and charges for, unless you set its own max field. | |
| fixAllCapsTitles | No | Fix ALL-CAPS titles. Some registry records store titles in capitals. Convert them to sentence case. Default: on. | |
| run_timeout_secs | No | Optional. Seconds to wait for results (default from PANDA_TIMEOUT_SECS, 120; max 300). | |
| run_max_charge_usd | No | Optional. Hard spending cap for this call in USD (default from PANDA_MAX_CHARGE_USD, 0.50). | |
| sentenceCaseTitles | No | Sentence-case article and book titles. APA, Harvard, IEEE and Vancouver use sentence case ("Deep residual learning for image recognition"). Registries often store Title Case, so we convert it; acronyms like CVPR, mRNA and COVID-19 are kept. MLA and Chicago re-capitalise automatically. Check proper nouns (names, places) in converted titles. Default: on. | |
| listUnresolvedInFiles | No | List unresolved references in the bibliography files. Append references we could not find to the end of each bibliography file, marked [UNRESOLVED - check manually], so nothing silently disappears. They are never charged. Default: on. |