Databento

App · 14 actions

Inspect market data coverage, estimate historical queries, resolve symbols and track existing batch jobs.

Actions

ActionWhat it does
Estimate billable sizeEstimate the billable size in bytes for a historical query.
Estimate historical data costEstimate the US dollar cost of a historical data query.
Estimate record countEstimate how many records a historical query would return.
Get batch job detailsRead the current state and details of an existing historical export job.
Get dataset conditionRead daily historical data availability and quality for a dataset.
Get dataset rangeGet the available date range and schema ranges for a dataset.
List batch job filesList the files and their download information for a completed export.
List batch jobsList existing historical export jobs and their states.
List dataset schemasList record schemas available for a dataset.
List dataset unit pricesList data prices in US dollars per gigabyte, by feed mode and schema.
List datasetsList available market data dataset codes for an optional date range.
List publishersList Databento publishers and their market data dataset codes.
List schema fieldsList fields for a record schema and output encoding.
Resolve symbolsTranslate instrument symbols between supported Databento symbology types.

Estimate billable size

Estimate the billable size in bytes for a historical query.

Inputs

DatasetdatasettextRequired
The Databento dataset code.
SymbolssymbolslistRequired
Symbols to include in the request.
SchemaschematextRequired
Market data schema.One of: mbo, mbp-1, mbp-10, tbbo, trades, ohlcv-1s, ohlcv-1m, ohlcv-1h, ohlcv-1d, definition, statistics, status.
Startstartdate and timeRequired
Inclusive start time.
Endenddate and time
Exclusive end time.
Stype instype_intext
Type of input symbol.One of: raw_symbol (Raw symbol), instrument_id (Instrument id), continuous, parent.
Limitlimitnumber
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

DatasetdatasettextRequired
The Databento dataset code.
SymbolssymbolslistRequired
Symbols to include in the request.
SchemaschematextRequired
Market data schema.One of: mbo, mbp-1, mbp-10, tbbo, trades, ohlcv-1s, ohlcv-1m, ohlcv-1h, ohlcv-1d, definition, statistics, status.
Startstartdate and timeRequired
Inclusive start time.
Endenddate and time
Exclusive end time.
Stype instype_intext
Type of input symbol.One of: raw_symbol (Raw symbol), instrument_id (Instrument id), continuous, parent.
Limitlimitnumber
Maximum records to estimate.At least 1.
Modemodetext
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

DatasetdatasettextRequired
The Databento dataset code.
SymbolssymbolslistRequired
Symbols to include in the request.
SchemaschematextRequired
Market data schema.One of: mbo, mbp-1, mbp-10, tbbo, trades, ohlcv-1s, ohlcv-1m, ohlcv-1h, ohlcv-1d, definition, statistics, status.
Startstartdate and timeRequired
Inclusive start time.
Endenddate and time
Exclusive end time.
Stype instype_intext
Type of input symbol.One of: raw_symbol (Raw symbol), instrument_id (Instrument id), continuous, parent.
Limitlimitnumber
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

Jobjob_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

DatasetdatasettextRequired
The Databento dataset code.
Start datestart_datedate
First UTC date to include.
End dateend_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

DatasetdatasettextRequired
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

Jobjob_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

Statesstateslist
Job states to include.One or more of: queued, processing, done, expired.
Sincesincedate 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

DatasetdatasettextRequired
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

DatasetdatasettextRequired
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 datestart_datedate
First UTC date to include.
End dateend_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

SchemaschematextRequired
Market data schema.One of: mbo, mbp-1, mbp-10, tbbo, trades, ohlcv-1s, ohlcv-1m, ohlcv-1h, ohlcv-1d, definition, statistics, status.
EncodingencodingtextRequired
Output encoding.One of: dbn, csv, json.
Datasetdatasettext
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

DatasetdatasettextRequired
The Databento dataset code.
SymbolssymbolslistRequired
Symbols to include in the request.
Stype instype_intextRequired
Type of input symbol.One of: raw_symbol (Raw symbol), instrument_id (Instrument id), continuous, parent.
Stype outstype_outtextRequired
Type of output symbol.One of: raw_symbol (Raw symbol), instrument_id (Instrument id), continuous, parent.
Start datestart_datedateRequired
Inclusive start date.
End dateend_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"
    ]
  }
}

On this page