Heart Disease
APISold by Data 37
Clinical heart-disease records from several sources; Cleveland subset is commonly used. Source: UCI Machine Learning Repository — https://archive.ics.uci.edu/dataset/45 Data vintage: published 1988 Cleaned and reformatted from the original; see source page for full documentation and citation.
The URL
Send a GET request — parameters go in the query string — no payment, no API key. The relay returns the origin's JSON response directly.
https://api.datapoint.market/r/data37/heart-disease
Example request
{}
Response shape
Fields
- object
columnsarray of- string
notestringsample_rowsarray of- object
agestring age in yearscastring number of major vessels (0–3) colored by fluoroscopycholstring serum cholesterol (mg/dl)cpstring · 1=typical angina | 2=atypical angina | 3=non-anginal | 4=asymptomatic chest pain typeexangstring · 1=yes | 0=no exercise-induced anginafbsstring · 1=true | 0=false fasting blood sugar > 120 mg/dlnumstring diagnosis of heart disease (0=none, 1–4=present) — the target variableoldpeakstring ST depression induced by exercise relative to restrestecgstring · 0=normal | 1=ST-T abnormality | 2=LV hypertrophy resting ECG resultsexstring · 1=male | 0=female sexslopestring · 1=upsloping | 2=flat | 3=downsloping slope of peak exercise ST segmentthalstring · 3=normal | 6=fixed defect | 7=reversible defect thalassemiathalachstring maximum heart rate achievedtrestbpsstring resting blood pressure (mm Hg at admission)
- object
Example rows
| age | sex | cp | trestbps | chol | fbs | restecg | thalach | exang | oldpeak | slope | ca | thal | num |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 63.0 | 1.0 | 1.0 | 145.0 | 233.0 | 1.0 | 2.0 | 150.0 | 0.0 | 2.3 | 3.0 | 0.0 | 6.0 | 0 |
| 67.0 | 1.0 | 4.0 | 160.0 | 286.0 | 0.0 | 2.0 | 108.0 | 1.0 | 1.5 | 2.0 | 3.0 | 3.0 | 2 |
| 67.0 | 1.0 | 4.0 | 120.0 | 229.0 | 0.0 | 2.0 | 129.0 | 1.0 | 2.6 | 2.0 | 2.0 | 7.0 | 1 |
Example response (JSON)
{
"columns": [
"age",
"sex",
"cp",
"trestbps",
"chol",
"fbs",
"restecg",
"thalach",
"exang",
"oldpeak",
"slope",
"ca",
"thal",
"num"
],
"note": "Free preview. Full file delivered on download.",
"sample_rows": [
{
"age": "63.0",
"sex": "1.0",
"cp": "1.0",
"trestbps": "145.0",
"chol": "233.0",
"fbs": "1.0",
"restecg": "2.0",
"thalach": "150.0",
"exang": "0.0",
"oldpeak": "2.3",
"slope": "3.0",
"ca": "0.0",
"thal": "6.0",
"num": "0"
},
{
"age": "67.0",
"sex": "1.0",
"cp": "4.0",
"trestbps": "160.0",
"chol": "286.0",
"fbs": "0.0",
"restecg": "2.0",
"thalach": "108.0",
"exang": "1.0",
"oldpeak": "1.5",
"slope": "2.0",
"ca": "3.0",
"thal": "3.0",
"num": "2"
},
{
"age": "67.0",
"sex": "1.0",
"cp": "4.0",
"trestbps": "120.0",
"chol": "229.0",
"fbs": "0.0",
"restecg": "2.0",
"thalach": "129.0",
"exang": "1.0",
"oldpeak": "2.6",
"slope": "2.0",
"ca": "2.0",
"thal": "7.0",
"num": "1"
}
]
}Call it from the shell
curl 'https://api.datapoint.market/r/data37/heart-disease'
Call it from an agent
Connected in Claude (or any agent on the connector)? Buy it in one call — no API key, no signup. Call it once with no payment to take a free trial (real data) or get a price quote before you pay.
call_endpoint("data37", "heart-disease", params={})
This endpoint is free — no account, no API key, no payment. Just call the URL and the relay returns the origin's response.
Provider: Data 37