Skip to content
AIRepoHub

OpenBB

by openbq-org

Open financial data platform for analysts, quants and AI agents researching markets.

Developer ToolsPythonCustom license
Stars
75,714
stars
Forks
7.9k
forks
Last push
6 days ago
Activity
Active
OpenBB: quick start
# Install$ pip install openbb# Start the local API server$ openbb-api

Commands from the project's README. Run them after installing (see below).

Overview

Understand OpenBB in 60 seconds

What it does
OpenBB's Open Data Platform (ODP) is an open-source Python toolkit for pulling financial and other data from many providers through one interface. You can use it in Python, as a command-line tool, or as a local API that feeds dashboards, Excel, AI copilots and the OpenBB Workspace.
The problem it solves
Financial data lives in many separate APIs, each with its own format. ODP lets you connect data sources once and use them everywhere, for example getting a stock's price history as a pandas DataFrame in one line.
Why choose it
Choose it for a free, Apache-2.0 data layer with many integrations and a ready API server. The README warns that data is not necessarily accurate and trading carries high risk.
Who should use it
  • Quants and analysts working in Python
  • Data engineers integrating market data
  • Developers building AI research copilots
  • OpenBB Workspace users adding their own data
Setup difficulty

You'll need:

  • Python 3.11 to 3.14
  • pip
  • API keys for any paid data providers you connect

How OpenBB works

ODP is described as connect-once, consume-everywhere infrastructure. In Python, from openbb import obb gives you commands such as obb.equity.price.historical("AAPL"), and results convert to DataFrames.

Running openbb-api starts a FastAPI server on 127.0.0.1:6900, which you can connect to OpenBB Workspace (the company's enterprise UI for analysts and AI agents) under Apps, then Connect backend. A separate ODP CLI installs with pip install openbb-cli.

The project includes many data integrations, listed in its documentation. The README's disclaimer says trading involves high risk, the data is not necessarily accurate, and OpenBB accepts no liability for losses from relying on it.

Features

Key features

One API for many sources

Equity, and other datasets from multiple providers.

Python SDK

obb commands return data you can turn into DataFrames.

Local API server

FastAPI backend on port 6900.

CLI

Query the platform from your terminal.

Workspace integration

Connect your backend to OpenBB Workspace.

Extensible

Add proprietary or licensed data sources.

Strengths

  • Free and Apache-2.0 licensed
  • Simple Python API
  • Ready-made API server for apps and AI tools
  • Large community

Limitations

  • Data accuracy isn't guaranteed
  • Some providers need their own (possibly paid) API keys
  • OpenBB Workspace is a separate commercial product

Practical use cases

Research notebooks

Pull price history into pandas for analysis.

AI copilot data

Serve market data to an agent through the API.

Custom dashboards

Feed Excel or a web dashboard from one backend.

Installation

Install OpenBB

Based on official documentation

Commands come from OpenBB Open Data Platform's README. AIRepoHub hasn't run them yet. View source

Prerequisites

  • Python 3.11–3.14

Supported systems

  • Windows
  • macOS
  • Linux
  1. 1

    Install

    Shell
    pip install openbb
  2. 2

    Fetch data

    Text
    from openbb import obboutput = obb.equity.price.historical("AAPL")df = output.to_dataframe()
  1. 1

    Install the ODP CLI

    Shell
    pip install openbb-cli
  1. 1

    Install and start the server

    Runs at http://127.0.0.1:6900.

    Shell
    pip install openbbopenbb-api

Configuration and API keys

SettingWhat it's for

First run

  1. 1

    Get Apple's price history in Python

    Text
    from openbb import obbdf = obb.equity.price.historical("AAPL").to_dataframe()print(df.tail())

OpenBB's documentation doesn't include sample output, so we don't show any. Expect the results in your terminal.

Your first project

Connect your own data backend to OpenBB Workspace

Serve ODP locally and use it from the Workspace UI.

Before you start

  • Python 3.11–3.14
  • An OpenBB Workspace account
  1. 1

    Install and start the API

    Shell
    pip install openbbopenbb-api
  2. 2

    Open OpenBB Workspace

    Go to the Apps tab and click Connect backend.

  3. 3

    Add the backend

    Name it Open Data Platform, use URL http://127.0.0.1:6900, click Test, then Add.

What to expect

Workspace reports a successful test with the number of apps found, and your ODP data appears in Workspace.

Next steps

  • Add data integrations from the docs
  • Install the CLI for terminal access
  • Build an AI agent on the data

Costs and requirements

What it costs to run

License
Apache-2.0.Free
Open Data Platform
Free and open source.Free
Data providers
Some providers need paid keys.Depends
OpenBB Workspace
Separate product from OpenBB.Depends

Troubleshooting

Common setup issues

Install problems

Use Python 3.11 to 3.14 and see the installation guide at docs.openbb.co.

Source: README.md

Workspace can't reach the backend

Make sure openbb-api is running and the URL is http://127.0.0.1:6900.

Source: README.md

Data looks wrong

The README warns data is not necessarily accurate; verify against the provider.

Source: README.md

Alternatives

Similar AI repositories