Upstream quirks
Findings from about 70 requests against the live Europe PMC services on
2026-11-27, with the RESTful web service documentation,
the OpenAPI document at https://www.ebi.ac.uk/europepmc/webservices/rest/v3/api-docs,
the annotations API page, and the
grants API page as references. Where a
quirk affects europaea, the behavior of the client is noted.
Search
pageSizeaccepts at most 1000; a larger value answers HTTP 404 with{"errCode": 404, "errMsg": "Invalid page size provided. Valid size is between 1 and 1000"}.- Search pages with
cursorMarktokens (opaque base64); the first request usescursorMark=*.nextCursorMarkrepeats unchanged once the result list is exhausted; the framework cursor iteration stops on that. sorttakesfield asc|descwith the fieldsCITED,P_PDATE_D,PDATE,AUTHOR_ID, andRELEVANCE. Thequery=... sort_cited:yspelling from the documentation also works.synonym=true|falseis echoed in the request envelope.- A search can take several seconds; one
SRC:PMC AND OPEN_ACCESS:Ysearch took about ten seconds. The client timeout default of 30 seconds covers it. - The search service answers transient HTTP 503 (
Search service is temporarily unavailable) for some requests. The framework retry policy retries it.
Article records and per-article routes
/article/{source}/{id}wraps the record in aresultkey alongsidehitCountand the request echo. The unwrapper returns the record.fullTextXMLandsupplementaryFilestake a bare id (PMC13810549,NBK32884), not theSOURCE:IDform.fullTextXMLanswers 404 for articles without open access full text (MED/23903748answers 404; the PMC twin of the same article also has no JATS full text).bookXMLanswers HTTP 200 with a namespace-heavy wrapper document that carries<message>Article is not either Open Access article or a valid NBK/PM ID</message>and<isOpenAccess>N</isOpenAccess>for a book without open access XML. The client raisesNotFoundErroron that shape.- XML routes need
Accept: application/xml(or anything but JSON):fullTextXMLanswers 406 toAccept: application/json. The client overrides the per-request header. references,citations, anddatabaseLinkspage withpageandpageSize(pageSize=1000works onreferences). Therequestecho ofcitationsanddatabaseLinksdoes not reflect the requested page (offSetstays 1); the records are still the requested page.- The routes are
/{source}/{id}/databaseLinks(curated,database,page,pageSizeparameters) and/{source}/{id}/datalinks(lowercase, not paged,category,obtainedByparameters).dataLinks(camelCase) answers 404. datalinksanswersdataLinkList.Categorywith nestedSectionandLinklist.Linkrecords whose keys are PascalCase (Name,Title,LinkProvider). The models alias them.labsLinksreturns per-provider link counts and also pages withpageandpageSize.evaluations/{source}/{id}returnsevaluationList.evaluation, empty for most articles.- These routes do not exist in the current service (all answer 404 on
2026-11-27, and none appears in the OpenAPI document):
comments,correctionsAndErratum, andtextMinedTerms(with or without a type suffix). Comments and corrections are part of the core record (commentCorrectionList); text-mined terms moved to the annotations API. - The
/preprint/{source}/{id}routes that older documentation lists (fullTextXML,annotations,supplementaryFiles,references,citations,databaseLinks,datalinks,labsLinks) all answer 404 (verified 2026-11-27). A preprint record is available through/article/PPR/{id}, and/{id}/supplementaryFilesworks for a preprint id./article/PPR/{id}/referencesanswers 404, and/{id}/fullTextXMLanswers 500 for a preprint id.
The POST search and the status monitor (verified 2026-11-27)
POST /searchPOSTis the GET search with the parameters (query,resultType,synonym,cursorMark,pageSize,sort,format) in anapplication/x-www-form-urlencodedbody. Withoutformat=jsonin the body the route answers XML.cursorMarkpaging works identically (verified with a two-page walk). europaea wraps it assearch_post()anditerate_post().POST /status-update-searchtakesContent-Type: application/jsonwith a body{"ids": [{"src": "PPR", "extId": "PPR324115"}, ...]}and answers{"metrics": {...}, "articlesWithStatusUpdate": [...]}.metricscounts queried, found, without update, with update, andarticlesNotFound. Articles with updates carrysrc,ext_ID,title,firstPublishDate,statusUpdates(for example["PUBLISHED_VERSION_AVAILABLE"]), andlinks(SELF,PUBLISHED_ARTICLE; thehrefvalues can literally start with"null", as innullMED/35166174).- The route returns data only for articles the status monitor tracks.
8 requests over 2026-11-27: 25 recent
PPRrecords and 40 randomPMCrecords answered 0 updates; 30PPRrecords from 2020 answered 14 with updates (preprints that received a published version). Recent preprints and journal articles do not carry updates, so an emptyarticlesWithStatusUpdateis a normal answer, not an error. europaea wraps it asclient.articles.status_updates().
Annotations API
annotationsByArticleIdstakes comma-joinedarticleIds(MED:23903748orPMC:PMC4221854) and answers a JSON list of per-article records.annotationsByEntity(parameterentity),annotationsByProvider(parameterprovider),annotationsByRelationship(parametersfirstEntityandsecondEntity), andannotationsBySectionAndOrTypepage with a floatcursorMarkand answer{cursorMark, nextCursorMark, articles}. Exhaustion is signaled withnextCursorMarkof-1.0, which the client maps toNone.annotationsByProviderrejects unknown provider names with 400 and lists the valid names in the error message.annotationsBySectionAndOrTypewithout any filter returns the whole annotation store (a test request with onlysection=Methodsanswered about 24 MB). The client requirestypeorsection.
Grants (Grist) API
- The query endpoint is
https://www.ebi.ac.uk/europepmc/GristAPI/rest/get/query=<q>&format=json&page=N. The parameters must be glued to the path with&. With a?query string (...query=malaria?format=json) the route content-negotiates and answers 406 forAccept: application/json, and answers XML otherwise; theformat=jsonparameter is ignored in that position. - A
pageSizequery parameter is concatenated into the query string (Query: "pageSize=2malaria"). The route has no page size. - The answer keys are PascalCase (
HitCount,Request,RecordList) andHitCountis a JSON string.
Rate limits
The Europe PMC documentation publishes no rate limit and no hard request limit for unauthenticated callers. europaea defaults to 3 requests per second and a concurrency of 2 out of courtesy, and keeps the framework timeout default of 30 seconds because a search can take about ten seconds.