Crossref quirks
Behavior of the live API that shapes how the client works. Each item is verified against the live service.
Filters
filter=doi:a|breturns zero results. The supported OR form is repeated keys:filter=doi:a,doi:b. Batch lookups use that form.- Crossref has no publisher filter. Scope by
prefix,member, orror-idinstead. - Unknown query parameters are rejected with 400, not ignored. The client sends only
rows,offset,query,filter,sort,order,select,cursor, andmailto, and rejects per-route unsupported ones client-side.
Paging
- There is no
pageparameter. Paging isoffsetplusrows, withoffset + rows <= 10000androws <= 1000.search()raisesConfigurationErrorbefore sending a request past the cap. - Deep paging uses
cursoron/worksand scoped*/worksroutes; non-works list routes (/journals,/funders,/members,/licenses) rejectcursorwith 400 and use offset paging instead. Cursor exhaustion is implicit: the last non-empty page still returns anext-cursor; only the following request returns emptyitems. - Cursor requests reject the
issuedandpublished*sorts with asort-criteria-incompatible-with-cursor400 (since 2026-08-24). Cursor result sets are no longer stable under index-date windows, so incremental sync should preferfrom-created-date/until-created-datewindows overfrom-index-date. samplecaps at 100 and cannot combine withrowsoroffset;sample()handles both.- The API serves both
https://api.crossref.organdhttps://api.crossref.org/v1with identical payloads; stavrophora pins/v1.
Routes
/prefixeshas no list route (404); only/prefixes/{prefix}and/prefixes/{prefix}/worksexist./licenseshas no single-item route (404); only the list exists./typesignoresrowsandoffsetand always returns the complete list (about 30 types)./journals/{issn}returnstitleas a bare string while/journalsreturns a list; theJournalmodel accepts both./prefixes/{prefix}returnsmemberandprefixas fullhttps://id.crossref.org/member/297-style URIs; thePrefixmodel normalizes them to bare values.
Response shapes
- Every response wraps in one
messagelevel: single items live inmessage, lists inmessage.itemswith totals inmessage.total-results.Page.metacarries the envelope minus the results, so facets and totals stay reachable. - The published spec is incomplete: several returned fields are absent from it. All models use
extra="allow", so unknown fields survive parsing. - Reference entries, license entries, and funder entries vary in shape between publishers; every field is optional and tolerant types (
SafeList,SafeStr,SafeInt) absorb nulls and scalar-vs-list differences. event.sponsoris a string for one sponsor and a list for several (ACM GECCO proceedings print two sponsors). TheEventmodel accepts both and always yields a list.