GET data/citation/{format}/{query}
Operation ID: getCitation
Auth: unknown
Description
Generates citation data given a URL, DOI, PMID, or PMCID. Automated requests can be made at a rate of 1 request per second (rps). See more at [Citoid service documentation](https://www.mediawiki.org/wiki/Citoid) The citation data can be requested in one of the following formats: - `mediawiki`: format designed for MediaWiki to be used with `templateData`. Uses [Zotero field names](https://aurimasv.github.io/z2csl/typeMap.xml). - `mediawiki-basefields`: `mediawiki` format with Zotero `basefield` field names. - `zotero`: format used by [Zotero](https://www.zotero.org/). - `bibtex`: format used in conjunction with LaTeX documents. See [bibtex.org](http://www.bibtex.org/). - `wikibase`: format designed for [Wikibase](https://www.mediawiki.org/wiki/Extension:Wikibase_Repository). Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
Parameters (3)
(string, header, optional)
For some articles the result depends on the `Accept-Language` header, so provide it if localized content is required.
(string, path, required)
The format to use for the resulting citation data
Constraints: {'enum': ['mediawiki', 'mediawiki-basefields', 'zotero', 'bibtex', 'wikibase']}
(string, path, required)
URL of an article, DOI, PMCID or PMID in the URL-encoded format. Note that on the Swagger-UI doc page you don't need to URI-encode the parameter manually, it will be done by the docs engine.
No probe data for this endpoint yet.