Do you develop an application that uses the PubMed API? Do you need to access PubMed data programmatically? Then you’ll be interested to know that we will be launching an updated version of the E-utilities API for PubMed on April 4, 2022. This updated version will align the functions of the E-utilities with the web version of PubMed released in 2020. For example, search results returned by the updated ESearch E-utility will now match those of web PubMed. To be clear, this update only affects E-utility calls with &db=pubmed. The behavior of all other Entrez databases will not change.
Why are we doing this?
This release will fully transfer all E-utility functions to the technology stack that supports web PubMed. What this means for you is not only consistent behavior for both web and API PubMed interfaces, but also more reliable performance.
Will URLs for PubMed E-utility calls be changing?
Fortunately, for the most part, no! With only a few exceptions, current E-utility URLs for PubMed (&db=pubmed) will continue to function after we release the update. Here are the exceptions:
- ESearch will only be able to access the first 10,000 records retrieved by the search query (&retmax <= 10,000; &retstart + &retmax <= 10,000)
- EPost will only be able to accept up to 10,000 PMIDs in a single URL request.
- EFetch will no longer support returns in ASN.1 format.
Will the output of PubMed E-utility calls be changing?
Again, in almost all cases, no. Here are the exceptions:
- ESearch will now return exactly the same PubMed IDs (PMIDs) that are currently returned by web PubMed
- EFetch will now return XML data by default (&retmode is not set) rather than ASN.1. In other words, the default value of &retmode will become “xml”.
What should you do?
- If you manage code that creates PubMed E-utility requests, review the above changes to ensure that your code will continue to function after the update.
- Verify your code on a test server that we will make public later this fall. We’ll update this blog about the details when they become available.
- Attend our webinar about these changes on October 20 if you have questions or concerns.
What will happen to the current version of the PubMed E-utilities after the release on April 4, 2022?
Once we release the updated PubMed E-utilities, the current version of the PubMed E-utilities will no longer be available. All PubMed requests will use the same technology stack.
Please write to us at email@example.com if you have any questions or concerns.