Zotero api misses entries

18 views
Skip to first unread message

Johannes Radinger

unread,
Sep 29, 2025, 8:16:18 AM (8 days ago) Sep 29
to zotero-dev

Hi all,

I’m new to using the Zotero API and I’d like to embed our group library into a webpage using a short PHP script. However, I’ve noticed that the API does not return all items (in CSL-JSON format) that are actually included in the library.

For example, when I compare the public library view:
https://www.zotero.org/groups/6039140/ag_gewaesseroekologie_h/items/9F4JXJTZ/library

with the corresponding API request:
https://api.zotero.org/groups/6039140/items?format=csljson

I see that some entries are missing, for instance, Klefoth et al. 2023 does not appear in the API response.

Could this be related to certain fields that cannot be converted into CSL-JSON? (Although a manual export from Zotero online to CSL-JSON for that item works fine.)

Any suggestion what I am doing wrong here?

Thanks a lot in advance!

Best,
Johannes

Sebastian Karcher

unread,
Sep 29, 2025, 8:48:52 AM (8 days ago) Sep 29
to zoter...@googlegroups.com
I think you're just hitting the default item limit of the API (25)?
You can set this to up to 100, but you should really build in proper pagination into your implementation from the start.

Hth,
Sebastian 

Sent from my phone

--
You received this message because you are subscribed to the Google Groups "zotero-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zotero-dev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/zotero-dev/ad4f2940-9f0f-4922-aa97-1515f14625een%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages