Format citations
format_citationsFormat references in a citation style (APA 7, MLA 9, Chicago author-date, Harvard, Vancouver, IEEE, AMA) or export them as BibTeX, RIS or CSL-JSON. By default every reference is first verified against Crossref, PubMed and OpenAlex, and verified references are formatted from the database record, so wrong years, pages or author names in the input are corrected. References that could not be verified are formatted exactly as written and flagged in entries[].warnings. Returns the bibliography and, for text and html output, the matching in-text citation for each reference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Citation style: apa (APA 7), mla (MLA 9), chicago (Chicago author-date), harvard (Harvard), vancouver (Vancouver), ieee (IEEE), ama (AMA). Ignored for bibtex/ris/csl-json output. | apa |
| output | No | text (plain bibliography), html, bibtex, ris or csl-json. | text |
| verify | No | Verify each reference before formatting (recommended). When false, references are formatted exactly as given, without corrections. | |
| references | Yes | References in any form: a pasted list in any style, BibTeX, RIS, CSL-JSON, or DOIs one per line. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quota | No | ||
| style | Yes | ||
| output | Yes | ||
| content | Yes | ||
| entries | Yes | ||
| warnings | Yes | ||
| style_title | Yes |