Bank Marketing
APISold by Data 37
Portuguese bank direct-marketing campaign records for predicting term-deposit subscription. Source: UCI Machine Learning Repository — https://archive.ics.uci.edu/dataset/222 Data vintage: 2008–2010 (published 2012) 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/bank-marketing
Example request
{}
Response shape
Fields
- object
columnsarray of- string
notestringsample_rowsarray of- object
agestring client agebalancestring average yearly account balance (EUR)campaignstring contacts performed during this campaigncontactstring last contact communication typedaystring last contact day of monthdefaultstring · yes | no has credit in default?durationstring last contact duration (seconds) — leaks the target; drop for realistic modelseducationstring education levelhousingstring · yes | no has housing loan?jobstring job typeloanstring · yes | no has personal loan?maritalstring marital statusmonthstring last contact monthpdaysstring days since last contact in a previous campaign (-1 = never)poutcomestring outcome of the previous campaignpreviousstring contacts before this campaignystring · yes | no client subscribed a term deposit — the target variable
- object
Example rows
| age | job | marital | education | default | balance | housing | loan | contact | day | month | duration | campaign | pdays | previous | poutcome | y |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 58 | management | married | tertiary | no | 2143 | yes | no | unknown | 5 | may | 261 | 1 | -1 | 0 | unknown | no |
| 44 | technician | single | secondary | no | 29 | yes | no | unknown | 5 | may | 151 | 1 | -1 | 0 | unknown | no |
| 33 | entrepreneur | married | secondary | no | 2 | yes | yes | unknown | 5 | may | 76 | 1 | -1 | 0 | unknown | no |
Example response (JSON)
{
"columns": [
"age",
"job",
"marital",
"education",
"default",
"balance",
"housing",
"loan",
"contact",
"day",
"month",
"duration",
"campaign",
"pdays",
"previous",
"poutcome",
"y"
],
"note": "Free preview. Full file delivered on download.",
"sample_rows": [
{
"age": "58",
"job": "management",
"marital": "married",
"education": "tertiary",
"default": "no",
"balance": "2143",
"housing": "yes",
"loan": "no",
"contact": "unknown",
"day": "5",
"month": "may",
"duration": "261",
"campaign": "1",
"pdays": "-1",
"previous": "0",
"poutcome": "unknown",
"y": "no"
},
{
"age": "44",
"job": "technician",
"marital": "single",
"education": "secondary",
"default": "no",
"balance": "29",
"housing": "yes",
"loan": "no",
"contact": "unknown",
"day": "5",
"month": "may",
"duration": "151",
"campaign": "1",
"pdays": "-1",
"previous": "0",
"poutcome": "unknown",
"y": "no"
},
{
"age": "33",
"job": "entrepreneur",
"marital": "married",
"education": "secondary",
"default": "no",
"balance": "2",
"housing": "yes",
"loan": "yes",
"contact": "unknown",
"day": "5",
"month": "may",
"duration": "76",
"campaign": "1",
"pdays": "-1",
"previous": "0",
"poutcome": "unknown",
"y": "no"
}
]
}Call it from the shell
curl 'https://api.datapoint.market/r/data37/bank-marketing'
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", "bank-marketing", 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