This page describes the representational state transfer application programming interface (REST API) implementations that can be used to access TCIA data and resources. The APIs complement the existing web interfaces and enable developers to build direct access to TCIA data into their applications using only the API documentation provided. The application developer must ensure that they and the users of their applications comply with the TCIA Data Usage Policy.
NBIA currently offers the following RESTful interfaces to its search and download functions in the TCIA radiology portal.
- The NBIA Search REST APIs allow you to perform basic queries and download data for image analysis from public collections.
- The NBIA Search with Authentication REST APIs allow you to perform basic queries on and download data for image analysis from public and restricted collections.
- The NBIA Advanced REST APIs provide access to public and restricted collections and advanced features geared towards developers seeking to integrate searching and downloading TCIA data into their own web and desktop applications.
Note that new versions of the APIs may introduce new data types that have not yet been documented. If you are interested in using the APIs and have any questions, please contact the TCIA Help Desk.
API Tutorials and Sample Code
You can find examples for using the NBIA APIs with Python in these Jupyter Notebooks. They are setup so that you can run them in Google Colab without the need to configure your own development environment.