Every new account receives $125 in free data credits. These credits allow you to start receiving actual historical data immediately and verify your integration at no cost.
Choose a service
Databento provides two data services: historical and live. These two services are nearly identical, but we separate them due to licensing fees and the differences between response-request and real-time streaming APIs. You can choose to integrate just one or both services.
Historical | Live | Reference | |
---|---|---|---|
Coverage | Data from at least 24 hours ago. | Intraday historical data from within the last 24 hours and real-time data. | Historical with intraday updates. |
Pricing | Usage-based or flat-rate. No monthly license fees. | Usage-based or flat-rate. Monthly license fees apply. | Dataset license fees apply. |
Access | Client libraries (C++, Python, and Rust) and API (HTTP). | Client libraries (C++, Python, and Rust) and API (Raw). | Client libraries (Python) and API (HTTP). |
Getting historical data
Select how you will be integrating Databento below to see installation instructions. By default, Python has been selected for you.
If you don't see an official client library for your preferred language, you can still integrate our historical service through its HTTP API.
Install our Python client library with pip. Python 3.9+ is required.
A simple Databento historical application looks like this.
This replays 10 minutes of trades of the entire CME Globex market event-by-event.
Copy this to a file main.py
. Then, run the file with python main.py
.
You can modify this application to specify particular instruments, and schemas.
Let's get ESM2
and NQZ2
data in 1-second OHLCV bars.
You have successfully written your first historical data application with Databento! Here are shortcuts to some of the next steps you can take:
- To download a large amount of data to disk, see how to do a batch download of data files.
- To get another dataset, just swap the dataset. You can get a list of datasets and their names from our metadata.
- You can use our symbology API to find other instrument IDs.
- You can also find dataset names and instrument IDs interactively from our search.
To learn more, read the full documentation for our historical service under API reference - Historical.
Getting live data
Select how you will be integrating Databento below to see installation instructions.
If you don't see an official client library for your preferred language, you can still integrate our service via the Raw API.
Install our Python client library with pip. Python 3.9+ is required.
A simple Databento live application looks like this.
This prints 10 seconds of trades for all ES futures contracts event-by-event.
Copy this to a file main.py
. Then, run the file with python main.py
.
You can modify this application to specify particular instruments, and schemas.
Let's get ES.FUT
and NQ.FUT
data in 1-second OHLCV bars.
You have successfully written your first live data application with Databento! To learn more, read the full documentation for our live service under API reference - Live.
Getting reference data
Select how you will be integrating Databento below to see installation instructions. By default, Python has been selected for you.
If you don't see an official client library for your preferred language, you can still integrate our reference service through its HTTP API.
Install our Python client library with pip. Python 3.8+ is required.
You have successfully written your first reference data application with Databento! Here are shortcuts to some of the next steps you can take:
- Read the corporate actions dataset guide.
- Become familiar with the reference data enum lookup tables.
- Go through the corporate actions examples.
To learn more, read the full documentation for our reference service under Reference API.