Skip to content

open_api

Developer Portal

Powering

Real-time market data, trading, and financial intelligence — delivered through SDK, CLI, MCP and OpenAPI for developers worldwide.

Developer Tools

Everything you need to build, test, and ship financial applications

open_api CLI

AI-native command-line tool covering every OpenAPI

  • 120+ commands for market data, trading, fundamentals
  • --format json output for scripting and AI agent integration
  • Candlestick data with multi-period support — daily, hourly, 15-min
  • Portfolio P&L with position breakdown and allocation view
  • OAuth 2.0 — works in SSH and headless servers
CLI Documentation
$ brew install --cask open_api/tap/open_api-terminal

MCP

Connect your AI assistant to live market data — no API keys required

Hosted HTTP MCP service with OAuth 2.1 authentication. Your AI coding assistant gets real-time quotes, account info, and trading capabilities in one connection.

$claude mcp add --transport http open_api https://openapi.open_api.dev/mcp

OAuth 2.1 — browser opens automatically on first use. No API key needed.

MCP Documentation

API Capabilities

Everything you need to build trading and market data applications

OpenAPI SDK

Production-grade SDKs with real-time streaming and full trading capabilities

7 language SDKs built on a Rust core — subscribe to live market data, place orders, and monitor positions with async/await patterns and built-in rate limiting.

from open_api import QuoteContext, Config, OAuthBuilder

oauth = OAuthBuilder("your-client-id").build(
    lambda url: print("Visit:", url))
config = Config.from_oauth(oauth)
ctx = QuoteContext(config)

resp = ctx.quote(["AAPL.US", "TSLA.US", "NVDA.US", "GOOG.US"])
print(resp)
pip3 install open_api

Multi-Market

US, HK, SG, CN (SH/SZ) — stocks, ETFs, options, warrants

Free & Paper Trading

No additional API charges. Paper trading with real market data, no securities account required.

Real-time Push

WebSocket push for quotes, order depth, trades, and order status updates

Complete Trading

Submit, replace, withdraw orders. Trailing stops, conditional orders, and auction orders.

OAuth 2.0 + Async

Automatic token management with modern async/await patterns and built-in rate control.

Start Building in Minutes

Set up your environment, authenticate, and make your first API call — everything you need to go from zero to live data.