Guide
Market dataStocksFuturesOptions API key

Databento API guide

Databento is a newer market-data vendor built for quants: exchange-native data, normalized into a few consistent schemas, sold pay-as-you-go. It is the go-to choice when OHLC bars are not enough and you need ticks or the full order book.

Last verified

Quick answer

Databento sells normalized exchange data — OHLCV, trades, top of book, MBP-10 depth and full order-by-order (MBO) — for US equities, futures and options, historical and live. You authenticate with one API key (HTTP Basic, key as username); pricing is usage-based with a $199/month Standard plan and higher licensing tiers.

Databento API at a glance

Pricing
Usage-based; Standard $199/mo
Availability
Worldwide
Paper trading
Not applicable (data only)
Integration type
REST + API key
In AlgoGP
Design and backtest in AlgoGP, connect the exported code
Schemas
ohlcv-1m/1h/1d, trades, tbbo, mbp-1, mbp-10, mbo
Datasets
e.g. GLBX.MDP3 (CME), XNAS.ITCH, OPRA.PILLAR
Auth
API key as HTTP Basic username
Clients
Python, C++, Rust; HTTP API
Pricing
Usage-based; Standard $199/mo; higher license tiers

Schemas and datasets

Pick a dataset (one venue feed) and a schema (level of detail). Historical requests are priced by data volume, and metadata.get_cost tells you the cost before you download. Databento reports roughly 6 µs normalization latency for live data, a vendor processing figure rather than end-to-end latency.

import databento as db
client = db.Historical("db-YOUR_KEY")
data = client.timeseries.get_range(dataset="GLBX.MDP3", schema="ohlcv-1d",
    symbols="ES.c.0", stype_in="continuous", start="2024-01-01", end="2024-12-31")
print(data.to_df().tail())
Daily ES futures bars (pip install databento).

Build a Databento strategy with AlgoGP

AlgoGP does not connect to Databento natively yet. Databento uses plain HTTPS with an API key, so it is a good candidate for a native adapter; it is not built in yet.

  1. 1

    Design and backtest in AlgoGP

    Describe the strategy to the copilot and backtest it on years of normalized history. The result does not depend on any vendor.

  2. 2

    Export the Python project

    Every project exports strategy.py, market_data.py, brokers.py and live.py. The strategy only sees bars, cash, positions and orders, never a vendor’s wire format.

  3. 3

    Plug in Databento

    Implement the four adapter methods (account, positions, submit_market_order and a candle fetcher) with Databento’s SDK, or keep a built-in platform for paper trading and add Databento when you go live.

Built-in data sources for the same markets: Alpaca, Yahoo Finance, Alpha Vantage, Tradier.

Databento API: frequently asked questions

Is Databento free?

New accounts get free credits; after that pricing is usage-based or by subscription (Standard $199/mo).

Does Databento have crypto data?

Its focus is regulated exchange data (equities, futures, options); use crypto-specialist vendors for crypto.

Databento vs Massive (Polygon)?

Databento is stronger for tick and depth data and futures; Massive is simpler for aggregated US stock bars with flat pricing.

Design and backtest your Databento strategy first

AlgoGP turns an idea into Python and tests it on years of history before you connect it to Databento. The exported code keeps the broker behind four small adapter methods.

  • AI copilot writes and revises the rules
  • Backtests with realistic costs
  • Exported Python ready to wire to Databento

Free plan, no card required.

Databento alternatives

Independent guide. AlgoGP is not affiliated with Databento. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.