The OncoTree API. (A) Interactive documentation of the OncoTree API. (B) The API returns all curated attributes, which include cancer type full name, a unique OncoTree code of the tumor type, the tissue type, and the OncoTree code for the parent tumor type and any mapping to external sources. Historical information if applicable are also returned. API, application programming interface.