ICPC API Documentation

Retrieve comprehensive information about different cancer types in JSON format.

Endpoint For Dataset Information

GET /api/cancer/{cancerType}

Replace {cancerType} with the desired type, e.g. lung, breast, prostate, Colorectal, gastric.

Examples

https://domain-name.com/api/cancer/lung
https://domain-name.com/api/cancer/breast

Usage

1. In the Browser

Paste the URL into your browser; JSON will display. To download it, right-click and choose Save As….

2. Using curl

curl -X GET "https://domain-name.com/api/cancer/lung" \
  -H "Accept: application/json"

3. Using wget

wget https://domain-name.com/api/cancer/lung

4. With Python (requests)

import requests

url = "https://domain-name.com/api/cancer/lung"
response = requests.get(url, headers={"Accept": "application/json"})

if response.status_code == 200:
    data = response.json()
    print(data)
else:
    print("Error:", response.status_code)

Sample JSON Response


        {"columns": ["country", "Specialized_Centers", "GeneMol_Centers", "Infra_Avg", "Treatment_Access", "Research_Funding", "Awareness_Campaigns", "Treatment_Avg", "Survival_Rates", "Early_Detection", "Palliative_Care", "SEdPc_Avg", "EGFR", "ALK", "PD_L1", "MET", "ROS1", "BRAF", "KRAS", "Biomark_Avg", "Clinical_Guideline", "Feasibility_Integration", "Adopt_inti", "Engagement_Updates", "ESMO", "Overall_Average", "Reimbursement", "No_cost", "Cancer_Screening"], "data": [{"country": "South Africa", "Specialized_Centers": 3, "GeneMol_Centers": 3, "Infra_Avg": 3.0, "Treatment_Access": 3, "Research_Funding": 3, "Awareness_Campaigns": 4, .........
    

Usage Tips

Note: This API is public—no authentication required.