Databento
App · 14 actions
Inspect market data coverage, estimate historical queries, resolve symbols and track existing batch jobs.
Actions
| Action | What it does |
|---|---|
| Estimate billable size | Estimate the billable size in bytes for a historical query. |
| Estimate historical data cost | Estimate the US dollar cost of a historical data query. |
| Estimate record count | Estimate how many records a historical query would return. |
| Get batch job details | Read the current state and details of an existing historical export job. |
| Get dataset condition | Read daily historical data availability and quality for a dataset. |
| Get dataset range | Get the available date range and schema ranges for a dataset. |
| List batch job files | List the files and their download information for a completed export. |
| List batch jobs | List existing historical export jobs and their states. |
| List dataset schemas | List record schemas available for a dataset. |
| List dataset unit prices | List data prices in US dollars per gigabyte, by feed mode and schema. |
| List datasets | List available market data dataset codes for an optional date range. |
| List publishers | List Databento publishers and their market data dataset codes. |
| List schema fields | List fields for a record schema and output encoding. |
| Resolve symbols | Translate instrument symbols between supported Databento symbology types. |
Estimate billable size
Estimate the billable size in bytes for a historical query.
Inputs
- Dataset
datasettextRequired - The Databento dataset code.
- Symbols
symbolslistRequired - Symbols to include in the request.
- Schema
schematextRequired - Market data schema.One of:
mbo,mbp-1,mbp-10,tbbo,trades,ohlcv-1s,ohlcv-1m,ohlcv-1h,ohlcv-1d,definition,statistics,status. - Start
startdate and timeRequired - Inclusive start time.
- End
enddate and time - Exclusive end time.
- Stype in
stype_intext - Type of input symbol.One of:
raw_symbol(Raw symbol),instrument_id(Instrument id),continuous,parent. - Limit
limitnumber - Maximum records to estimate.At least 1.
Outputs
datanumber- The response from Databento.
Example output
{
"data": 40
}Estimate historical data cost
Estimate the US dollar cost of a historical data query.
Inputs
- Dataset
datasettextRequired - The Databento dataset code.
- Symbols
symbolslistRequired - Symbols to include in the request.
- Schema
schematextRequired - Market data schema.One of:
mbo,mbp-1,mbp-10,tbbo,trades,ohlcv-1s,ohlcv-1m,ohlcv-1h,ohlcv-1d,definition,statistics,status. - Start
startdate and timeRequired - Inclusive start time.
- End
enddate and time - Exclusive end time.
- Stype in
stype_intext - Type of input symbol.One of:
raw_symbol(Raw symbol),instrument_id(Instrument id),continuous,parent. - Limit
limitnumber - Maximum records to estimate.At least 1.
- Mode
modetext - Historical delivery mode.One of:
historical,historical-streaming.
Outputs
datanumber- The response from Databento.
Example output
{
"data": 0.01
}Estimate record count
Estimate how many records a historical query would return.
Inputs
- Dataset
datasettextRequired - The Databento dataset code.
- Symbols
symbolslistRequired - Symbols to include in the request.
- Schema
schematextRequired - Market data schema.One of:
mbo,mbp-1,mbp-10,tbbo,trades,ohlcv-1s,ohlcv-1m,ohlcv-1h,ohlcv-1d,definition,statistics,status. - Start
startdate and timeRequired - Inclusive start time.
- End
enddate and time - Exclusive end time.
- Stype in
stype_intext - Type of input symbol.One of:
raw_symbol(Raw symbol),instrument_id(Instrument id),continuous,parent. - Limit
limitnumber - Maximum records to estimate.At least 1.
Outputs
datanumber- The response from Databento.
Example output
{
"data": 1
}Get batch job details
Read the current state and details of an existing historical export job.
Inputs
- Job
job_idtextRequired - Select an existing batch job.
Outputs
dataobject- The response from Databento.
Example output
{
"data": {
"id": "XNAS-EXAMPLE",
"state": "done",
"ts_received": "2026-11-02T15:00:00Z"
}
}Get dataset condition
Read daily historical data availability and quality for a dataset.
Inputs
- Dataset
datasettextRequired - The Databento dataset code.
- Start date
start_datedate - First UTC date to include.
- End date
end_datedate - UTC end date for the range.
Outputs
datalist- The response from Databento.
Example output
{
"data": [
{
"condition": "available",
"date": "2026-11-02",
"last_modified_date": "2026-11-03"
}
]
}Get dataset range
Get the available date range and schema ranges for a dataset.
Inputs
- Dataset
datasettextRequired - The Databento dataset code.
Outputs
dataobject- The response from Databento.
Example output
{
"data": {
"end": "2026-11-03",
"schema": {
"trades": {
"end": "2026-11-03",
"start": "2018-05-01"
}
},
"start": "2018-05-01"
}
}List batch job files
List the files and their download information for a completed export.
Inputs
- Job
job_idtextRequired - Select an existing batch job.
Outputs
datalist- The response from Databento.
Example output
{
"data": [
{
"filename": "sample.dbn.zst",
"size": 1024
}
]
}List batch jobs
List existing historical export jobs and their states.
Inputs
- States
stateslist - Job states to include.One or more of:
queued,processing,done,expired. - Since
sincedate and time - Only show jobs submitted at or after this time.
Outputs
datalist- The response from Databento.
Example output
{
"data": [
{
"id": "XNAS-EXAMPLE",
"state": "done",
"ts_received": "2026-11-02T15:00:00Z"
}
]
}List dataset schemas
List record schemas available for a dataset.
Inputs
- Dataset
datasettextRequired - The Databento dataset code.
Outputs
datalist- The response from Databento.
Example output
{
"data": [
"trades",
"ohlcv-1d"
]
}List dataset unit prices
List data prices in US dollars per gigabyte, by feed mode and schema.
Inputs
- Dataset
datasettextRequired - The Databento dataset code.
Outputs
datalist- The response from Databento.
Example output
{
"data": [
{
"feed_mode": "historical",
"schema": "trades",
"unit_price": 1.0
}
]
}List datasets
List available market data dataset codes for an optional date range.
Inputs
- Start date
start_datedate - First UTC date to include.
- End date
end_datedate - UTC end date for the range.
Outputs
datalist- The response from Databento.
Example output
{
"data": [
"XNAS.ITCH"
]
}List publishers
List Databento publishers and their market data dataset codes.
Inputs
None.
Outputs
datalist- The response from Databento.
Example output
{
"data": [
{
"dataset": "XNAS.ITCH",
"description": "Nasdaq TotalView",
"publisher_id": 2,
"venue": "XNAS"
}
]
}List schema fields
List fields for a record schema and output encoding.
Inputs
- Schema
schematextRequired - Market data schema.One of:
mbo,mbp-1,mbp-10,tbbo,trades,ohlcv-1s,ohlcv-1m,ohlcv-1h,ohlcv-1d,definition,statistics,status. - Encoding
encodingtextRequired - Output encoding.One of:
dbn,csv,json. - Dataset
datasettext - Limit fields to this dataset.
Outputs
datalist- The response from Databento.
Example output
{
"data": [
{
"name": "price",
"type": "float"
}
]
}Resolve symbols
Translate instrument symbols between supported Databento symbology types.
Inputs
- Dataset
datasettextRequired - The Databento dataset code.
- Symbols
symbolslistRequired - Symbols to include in the request.
- Stype in
stype_intextRequired - Type of input symbol.One of:
raw_symbol(Raw symbol),instrument_id(Instrument id),continuous,parent. - Stype out
stype_outtextRequired - Type of output symbol.One of:
raw_symbol(Raw symbol),instrument_id(Instrument id),continuous,parent. - Start date
start_datedateRequired - Inclusive start date.
- End date
end_datedate - Exclusive end date.
Outputs
dataobject- The response from Databento.
Example output
{
"data": {
"not_found": [],
"partial": [],
"result": {
"AAPL": [
{
"d0": "2026-11-02",
"d1": "2026-11-03",
"s": "1"
}
]
},
"stype_in": "raw_symbol",
"stype_out": "instrument_id",
"symbols": [
"AAPL"
]
}
}