One gateway, every access method — from SDK to real-time WebSocket streams
Everything you need to build, test, and ship financial applications
Investment analysis agent for real-time quotes, portfolio data, news sentiment, and market intelligence — works with any AI platform.
AI-native terminal tool with interactive TUI dashboard, 50+ commands, and --format json output for scripting and AI agent integration.
Hosted MCP service with OAuth 2.1 — zero-config integration for Claude Code, Cursor, Codex, Zed, and Cherry Studio.
Get your first quote in minutes. 7 languages — Python, Node.js, Rust, Go, Java, C, C++ — with async support and built-in rate control.
Test orders with real market data at zero cost. Simulated matching based on live bid-ask spreads, no securities account required.
llms.txt standard compliance, all docs available as .md for RAG pipelines, and Accept: text/markdown header support on longbridge.com.
brew install --cask longbridge/tap/longbridge-terminalUnlock market insights, deep research and intelligent trading for your AI
With Longbridge Skill, your AI assistant can screen stocks, decode earnings, track insider moves, and place orders — all in plain conversation.
Copy and send to any AI — it will walk you through the installation:
bunx skills add longbridge/developers -g -yConnect 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 longbridge https://openapi.longbridge.com/mcpOAuth 2.1 — browser opens automatically on first use. No API key needed.
Everything you need to build trading and market data applications
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 longbridge.openapi 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 longbridgeUS, HK, SG, CN (SH/SZ) — stocks, ETFs, options, warrants
No additional API charges. Paper trading with real market data, no securities account required.
WebSocket push for quotes, order depth, trades, and order status updates
Submit, replace, withdraw orders. Trailing stops, conditional orders, and auction orders.
Automatic token management with modern async/await patterns and built-in rate control.
Set up your environment, authenticate, and make your first API call — everything you need to go from zero to live data.
Register an OAuth 2.0 client, obtain credentials, and configure your SDK with automatic token management.
Setup GuideBrowse 100+ endpoints for quotes, trading, portfolio, and content. Try requests directly in the browser.
Explore APIsOne-line install for macOS, Linux, and Windows. 50+ commands with interactive TUI and JSON output.
Install Now