# Querying citations via API

**URL:** <https://community.crossref.org/t/querying-citations-via-api/13454>\
**Category:** Metadata Retrieval\
**Tags:** cited-by, xml\_api\
**Created:** [21 March 2025 17:49 UTC](https://community.crossref.org/t/querying-citations-via-api/13454 "2025-03-21T17:49:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomwagstaff-opml](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@tomwagstaff-opml](https://community.crossref.org/u/tomwagstaff-opml)\
**Post date:** [21 March 2025 17:49 UTC](https://community.crossref.org/t/querying-citations-via-api/13454/1 "2025-03-21T17:49:24Z")

</div>

Hi everyone,

I’m planning to do a network analysis of some research, looking at how it has been used and how it’s located in the broader body of evidence. For that purpose, I need to retrieve data on citations i.e. I provide a DOI, and get back a list of other DOIs that cited the work in question.

From the REST API, I can get citation counts, and I can get reference counts as well as full details of the referenced works. But not the converse - I can’t get the list of citing works. I see this was [requested previously](https://community.crossref.org/t/retrieving-cited-by-data-using-crossref-api/1818) and this isn’t available via the REST API.

This [documentation](https://www.crossref.org/documentation/cited-by/retrieve-citations/) says it is possible to retrieve that list of citing works via a different, XML API - but I can’t see any clear examples of how you would structure such a query to include the list of citing DOIs, or to be honest, which URL I’m supposed to hit. (I’ve been looking at this [DOI to metadata](https://www.crossref.org/documentation/retrieve-metadata/xml-api/doi-to-metadata-query/) page.

Would anyone be kind enough to walk me through a simple example of how to fetch this kind of data?

---

<div class="post-metadata">

**Author:** ![Shayn](https://sea2.discourse-cdn.com/flex020/user_avatar/community.crossref.org/shayn/32/57_2.png) [@Shayn](https://community.crossref.org/u/Shayn)\
**Post date:** [21 March 2025 18:14 UTC](https://community.crossref.org/t/querying-citations-via-api/13454/2 "2025-03-21T18:14:46Z")

</div>

Hello, and thanks for your question.

While citation counts are openly available via the REST API (and the XML API as well), at this point in time, full citation data is only made available to Crossref members. This may change in the future, but as things stand, the data you’re looking for is not part of the public metadata corpus.

Best,  
Shayn

---

<div class="post-metadata">

**Author:** ![tomwagstaff-opml](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@tomwagstaff-opml](https://community.crossref.org/u/tomwagstaff-opml)\
**Post date:** [21 March 2025 18:29 UTC](https://community.crossref.org/t/querying-citations-via-api/13454/3 "2025-03-21T18:29:31Z")

</div>

Hi Shayn,

Thanks for your speedy reply.

If we were to become members, would this type of query be possible then?

---

<div class="post-metadata">

**Author:** ![Shayn](https://sea2.discourse-cdn.com/flex020/user_avatar/community.crossref.org/shayn/32/57_2.png) [@Shayn](https://community.crossref.org/u/Shayn)\
**Post date:** [21 March 2025 19:40 UTC](https://community.crossref.org/t/querying-citations-via-api/13454/4 "2025-03-21T19:40:09Z")

</div>

Technically yes, but Crossref membership is only available to organizations that produce scholarly or professional content, or a funder that issues grants to researchers. And, you’d have to agree to our [membership terms](https://www.crossref.org/membership/terms/), including the intention to register DOIs as persistent identifiers for the content you publish or the grants you issue.

If all of that applies to your organization, please have a look at our membership information [here](https://www.crossref.org/membership/) and you’ll find a link to apply at the bottom of the page.

---

<div class="post-metadata">

**Author:** ![tomwagstaff-opml](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@tomwagstaff-opml](https://community.crossref.org/u/tomwagstaff-opml)\
**Post date:** [24 March 2025 09:23 UTC](https://community.crossref.org/t/querying-citations-via-api/13454/5 "2025-03-24T09:23:28Z")

</div>

Hi Shayn,

We meet all those requirements, so joining is an option for us - but only if it would actually allow us to run this sort of query for all works - not just ones we later deposited ourselves. Would that be possible, and is this the API call we’d need?

```auto
https://doi.crossref.org/servlet/getForwardLinks?usr=email@address.com/role&pwd=password&doi=doi&startDate=YYYY-MM-DD&endDate=YYYY-MM-DD

```

Cheers,  
Tom

---

<div class="post-metadata">

**Author:** ![Shayn](https://sea2.discourse-cdn.com/flex020/user_avatar/community.crossref.org/shayn/32/57_2.png) [@Shayn](https://community.crossref.org/u/Shayn)\
**Post date:** [24 March 2025 13:51 UTC](https://community.crossref.org/t/querying-citations-via-api/13454/6 "2025-03-24T13:51:09Z")

</div>

Yes, Crossref members can now query for cited-by data for all DOIs, not just their own. That’s a change we made within the past few years.

```auto
https://doi.crossref.org/servlet/getForwardLinks?usr=email@address.com/role&pwd=password&doi=doi&startDate=YYYY-MM-DD&endDate=YYYY-MM-DD

```

Yes, that’s the query structure for all cited-by data for a single DOI or a full DOI prefix asserted within a given date range.

---

<div class="post-metadata">

**Author:** ![poppynicolette](https://sea2.discourse-cdn.com/flex020/user_avatar/community.crossref.org/poppynicolette/32/1206_2.png) [@poppynicolette](https://community.crossref.org/u/poppynicolette)\
**Post date:** [26 March 2025 16:01 UTC](https://community.crossref.org/t/querying-citations-via-api/13454/7 "2025-03-26T16:01:35Z")

</div>

Not to disuade you or your organization from becoming a member, but you can retrieve the cited/citing relationships for a DOI using the OpenCitations database: [OpenCitations - OpenCitations Index Search Interface](https://opencitations.net/index/search)  
They have a search interface as well as an API. I notice the numbers can be slightly different, but they do their own cleaning methods on DOIs in references, so may take a conservative approach to prevent false positives.  
You can find their methods here in their GitHub: [GitHub - opencitations/coci: Repository of the OpenCitations Index of Crossref open DOI-to-DOI citations (COCI)](https://github.com/opencitations/coci)

---

<div class="post-metadata">

**Author:** ![tomwagstaff-opml](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@tomwagstaff-opml](https://community.crossref.org/u/tomwagstaff-opml)\
**Post date:** [26 March 2025 17:48 UTC](https://community.crossref.org/t/querying-citations-via-api/13454/8 "2025-03-26T17:48:30Z")

</div>

Thank you so much for uncovering this Poppy, OpenCitations looks like an extremely useful resource and probably is in all honesty a more practical for us to approach on this project, which is on a pretty short turnaround.

We do publish though and may well sign up for membership at some point - it’s probably just a discussion that needs to happen at company level rather than the tail of this one project wagging the organisational dog…
