Table of Contents: 2024 MARCH–APRIL No. 457
ClinicalTrials.gov API Version 2.0 Now Available. 2024 Mar-Apr;(457):e2.
The ClinicalTrials.gov API version 2.0 is now available on the modernized ClinicalTrials.gov website. The API, or application programming interface, is a tool to help researchers and developers access the data in ClinicalTrials.gov study records. This new version differs from the legacy API on the classic ClinicalTrials.gov website in important ways, some of which we highlight below.
The ClinicalTrials.gov API version 2.0 is a REST API and uses the OpenAPI Specification 3.0 to describe its meta information. This approach has the following benefits:
Specific differences in how data are handled by the new ClinicalTrials.gov API include:
The benefits of these changes for ClinicalTrials.gov API users include:
To support users as they transition to the modernized API, we have provided support documentation such as a Migration Guide, which discusses the differences between the classic ClinicalTrials.gov API and the ClinicalTrials.gov API version 2.0. It also covers how legacy endpoints are supported through the modernized API. Additional documentation includes:
Beginning in April, users may experience brief disruptions in legacy API services during a series of planned outages. Users are strongly encouraged to migrate to the new API as soon as possible. The classic ClinicalTrials.gov API will be retired in June 2024. For more information on the new ClinicalTrials.gov API, please see About the API on the modernized ClinicalTrials.gov website.