Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://services.cancerimagingarchive.net/services/v2/TCIA/query/getPatientStudy?Collection=TCGA-GBM&PatientID=GBM-0123&format=csv

This can be broken down as follows:

BaseURLhttps://services.cancerimagingarchive.net/services/v2The BaseURL includes the version number of this API (v2 in this example)
Resource/TCIA 
QueryEndpoint/query/getPatientStudy 
Query ParametersCollection=TCGA-GBM
PatientID=GBM-0123
 
Formatformat=csvSome APIs support CSV/HTML/XML/JSON, while others only support a single return type.
Therefore this is required only in instances where multiple return types are supported.

...

AttributeDICOM TagDescription
NANASet of images in a zip file

...

 

Testing the API

There are two RESTful servers provided by TCIA. A test system is loaded with a small set of known data to allow you to test your applications. The production system is configured to use the full TCIA database. The query format is the same for both systems. The base URLs are:

 

The test server is loaded with this data:

Collections

Collection
TCGA-KIRC
BREAST-DIAGNOSIS
TCGA-LGG
CT COLONOGRAPHY
LIDC-IDRI
TCGA-GBM
RIDER Lung PET-CT
TCGA-OV
Head-Neck Cetuximab
TCGA-PRAD
NSCLC Radiogenomics
TCGA-BRCA
RIDER PHANTOM MRI
TCGA-KIRP
RIDER PHANTOM PET-CT

 

PatientStudy

StudyInstanceUIDStudyDateStudyDescriptionAdmittingDiagnosesDescriptionStudyIDPatientAgePatientIDPatientNamePatientBirthDatePatientSexEthnicGroupCollectionSeriesCount
1.3.6.1.4.1.14519.5.2.1.3344.4004.4483581302664837903905810182401995-02-26CT Urogram with 3DNULLNULLNULLTCGA-CW-6088TCGA-CW-6088NULLMNULLTCGA-KIRC3
1.3.6.1.4.1.14519.5.2.1.4792.2001.6275775188861537552263837821622008-10-18Digital Right Mammogram DiagnosticNULLNULL029YBreastDx-01-0070NULLNULLFNULLBREAST-DIAGNOSIS5
1.3.6.1.4.1.14519.5.2.1.9203.4004.2616882243665039470855251168201991-12-07FORFILE CD MR ABDOMENNULLNULL072YTCGA-BP-5198TCGA-BP-5198NULLMNULLTCGA-KIRC8
1.3.6.1.4.1.14519.5.2.1.5826.4003.897160909780395368971006445736 2002-12-19NR MRI BRAIN W/WONULLNULL042YTCGA-FG-8186TCGA-FG-8186NULLFNULLTCGA-LGG3
1.3.6.1.4.1.9328.50.4.10415 2000-01-01CT SCREENING VIRT COLONOSCOPYNULL1056Y1.3.6.1.4.1.9328.50.4.00111.3.6.1.4.1.9328.50.4.0011NULLMNULLCT COLONOGRAPHY1
1.3.6.1.4.1.14519.5.2.1.6279.6001.6272752011926753262157424983712000-01-01NULLNULLNULL LIDC-IDRI-0077NULLNULLNULLNULLLIDC-IDRI1
1.3.6.1.4.1.14519.5.2.1.7695.4001.2183610890005329623548517135892001-06-06MSTEALTHNULLNULL030YTCGA-08-0355NULLNULLFNULLTCGA-GBM1
1.3.6.1.4.1.9328.50.17.1711695030150124843657753733479717035432006-05-07NULLNULLNULL000YRIDER-1009463841218236NULLNULLNULLRIDER Lung PET-CT3
1.3.6.1.4.1.14519.5.2.1.7777.4007.2070993776756119135729502872221992-09-01CT Chest withNULLNULL060YTCGA-24-1423TCGA-24-1423NULLFNULLTCGA-OV2
1.3.6.1.4.1.14519.5.2.1.5099.8010.1999200869208231717064549032511999-08-23Neck^HeadNeckPETCTNULLNULL000D0522c00010522c0001NULLFNULLHead-Neck Cetuximab1
1.3.6.1.4.1.14519.5.2.1.4334.1501.1115589256377782588181959247981991-07-17CT CHEST W CONTRASTNULLNULL062YGSM714069GSM714069NULL0NULLNSCLC Radiogenomics2
1.3.6.1.4.1.14519.5.2.1.9203.4002.2591722375720971881289511163912002-08-10NULLNULLNULL041YTCGA-AO-A03VTCGA-AO-A03VNULLFNULLTCGA-BRCA1
1.3.12.2.1107.5.2.31.30165.300000080831154544671000000072008-08-31Physics^EFJ NCINULL1018YZZ083108CZZ RIDER 31990-01-01MNULLRIDER PHANTOM MRI7
1.3.6.1.4.1.14519.5.2.1.8421.4010.1947039462769837777211828391512001-12-12MRI ABD W+WO CONTNULLNULL052YTCGA-B9-4115TCGA-B9-4115NULLMNULLTCGA-KIRP1
1.2.840.113619.2.55.3.1602280607.497.1169961245.4592007-01-27NULLNULL2324000YSNMCB04SNMCB04NULLNULLNULLRIDER PHANTOM PET-CT1
1.3.6.1.4.1.14519.5.2.1.4792.2001.2065523960385364588124118158562008-09-09MRI Right Breast with and without ContrastNULLNULLNULLBreastDx-01-0070NULLNULLFNULLBREAST-DIAGNOSIS2
             
             

Series

...

Click Here to see the test data that has been loaded on these test servers have the following test data