The citation service provides an HTTP API for programmatic retrieval of formatted citations.

GET /format

    $ curl https://citation.doi.org/format?doi=10.1145/2783446.2783605&style=apa&lang=en-US
                        |
                        |
                        |
                        V
    Garza, K., Goble, C., Brooke, J., & Jay, C. (2015). Framing the community data system interface.
    In Proceedings of the 2015 British HCI Conference (pp. 269–270).
    British HCI 2015: 2015 British Human Computer Interaction Conference. ACM. https://doi.org/10.1145/2783446.2783605
                    

Query Params

Query Param Description
doi The DOI to render a citation for.
style The style the citation should be rendered in e.g. "apa".
lang The language/locale the citation should be rendered in e.g. "en-US".

GET /metadata

You can also retrieve the metadata for the citation in application/vnd.citationstyles.csl+json format by supplying the DOI.

    $ curl https://citation.doi.org/metadata?doi=10.1145/2783446.2783605
                        |
                        |
                        |
                        V
    {...}
                    
Updated November 7, 2024