
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
databento
Advanced tools
The official Python client library for Databento.
Key features include:
The best place to begin is with our Getting started guide.
You can find our full client API reference on the Historical Reference and Live Reference sections of our documentation. See also the Examples section for various tutorials and code samples.
The library is fully compatible with distributions of Anaconda 2023.x and above.
The minimum dependencies as found in the pyproject.toml are also listed below:
To install the latest stable version of the package from PyPI:
pip install -U databento
The library needs to be configured with an API key from your account.
Sign up for free and you will automatically
receive a set of API keys to start with. Each API key is a 32-character
string starting with db-, that can be found on the API Keys page of your Databento user portal.
A simple Databento application looks like this:
import databento as db
client = db.Historical('YOUR_API_KEY')
data = client.timeseries.get_range(
dataset='GLBX.MDP3',
symbols='ES.FUT',
stype_in='parent',
start='2022-06-10T14:30',
end='2022-06-10T14:40',
)
data.replay(callback=print) # market replay, with `print` as event handler
Replace YOUR_API_KEY with an actual API key, then run this program.
This uses .replay() to access the entire block of data
and dispatch each data event to an event handler. You can also use
.to_df() or .to_ndarray() to cast the data into a Pandas DataFrame or numpy ndarray:
df = data.to_df() # to DataFrame
array = data.to_ndarray() # to ndarray
Note that the API key was also passed as a parameter, which is
not recommended for production applications.
Instead, you can leave out this parameter to pass your API key via the DATABENTO_API_KEY environment variable:
import databento as db
# Pass as parameter
client = db.Historical('YOUR_API_KEY')
# Or, pass as `DATABENTO_API_KEY` environment variable
client = db.Historical()
Distributed under the Apache 2.0 License.
FAQs
Official Python client library for Databento
We found that databento demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.