{
  "markdown": "# Longbridge Developers\n\n**https://open.longbridge.com**\n\nLongbridge Developers is the official developer platform for Longbridge — providing programmatic access to real-time market data, trading, account management, and AI integrations across HK, US, and CN markets.\n\n---\n\n## Repository structure\n\n```\n/\n├── docs/                        # Site content and VitePress config\n│   ├── .vitepress/              # Theme, components, markdown plugins, locale configs\n│   ├── en/                      # English content (root locale)\n│   ├── zh-CN/                   # Simplified Chinese content\n│   └── zh-HK/                   # Traditional Chinese content\n├── openapi/                     # Submodule: OpenAPI spec + SDK source (openapi, Python, Rust, etc.)\n├── openapi-go/                  # Submodule: Go SDK\n├── longbridge-terminal/         # Submodule: CLI binary source (longbridge)\n├── skills/longbridge/           # AI Skill — knowledge base for AI agents\n├── scripts/                     # Build scripts (llms.txt generation, markdown normalization)\n├── openapi.yaml                 # Canonical API specification (source of truth for API Reference)\n└── CONTRIBUTING.md              # Contribution guidelines for AI agents and humans\n```\n\n---\n\n## What you can build\n\n- Automated trading strategies and order management\n- Real-time quote dashboards and data pipelines\n- Portfolio trackers and risk monitoring tools\n- AI agents with live market data and trading capabilities\n\n## Access methods\n\n| Method                                                       | Best for                                             |\n| ------------------------------------------------------------ | ---------------------------------------------------- |\n| [SDK](https://open.longbridge.com/sdk)                       | Python, Rust, Node.js, Go, Java, C++ apps            |\n| [HTTP / WebSocket API](https://open.longbridge.com/docs/api) | Any language, custom integrations                    |\n| [CLI](https://open.longbridge.com/docs/cli) (`longbridge`)   | Terminal workflows, scripting, AI tool-calling       |\n| [MCP](https://open.longbridge.com/docs/mcp)                  | ChatGPT Apps and AI assistants (Cursor, Claude, etc.) |\n| [Skill](https://open.longbridge.com/skill)                   | Give any AI direct knowledge of Longbridge APIs      |\n\n## Quick start\n\n### 1. Open a Longbridge account\n\nDownload the [Longbridge App](https://longbridge.com/download) and complete account onboarding.\n\n### 2. Enable OpenAPI access\n\nLog in to [open.longbridge.com](https://open.longbridge.com), complete developer verification, and obtain your API token.\n\n### 3. Choose your integration\n\n**CLI — fastest way to get started:**\n\n```bash\nbrew install --cask longbridge/tap/longbridge-terminal\nlongbridge auth login\nlongbridge quote TSLA.US NVDA.US 700.HK\n```\n\n**Python SDK:**\n\n```bash\npip install longbridge\n```\n\n**MCP for AI assistants** — in ChatGPT web, desktop, or mobile, open the [Longbridge ChatGPT App](https://chatgpt.com/apps/longbridge/asdk_app_6a2baf2fad748191812393c3e00308ef) or search `longbridge` in Apps, authorize, then use `@longbridge` in the message box.\n\nFor other MCP clients, add Longbridge as a remote MCP server:\n\n```json\n{\n  \"mcpServers\": {\n    \"longbridge\": {\n      \"url\": \"https://mcp.longbridge.com\"\n    }\n  }\n}\n```\n\n**AI Skill** — give your AI full knowledge of Longbridge APIs:\n\n```bash\nnpx skills add longbridge/developers -g -y\n```\n\n## Market coverage\n\n| Market        | Instruments                                      |\n| ------------- | ------------------------------------------------ |\n| Hong Kong     | Equities, ETFs, Warrants, CBBCs, Hang Seng Index |\n| United States | Stocks, ETFs, OPRA Options, Nasdaq Index         |\n| China A-share | Stocks, ETFs, Index                              |\n\n## Documentation\n\n- **Getting Started** — https://open.longbridge.com/docs/getting-started\n- **API Reference** — https://open.longbridge.com/docs/api\n- **SDK Reference** — https://open.longbridge.com/sdk\n- **CLI Reference** — https://open.longbridge.com/docs/cli\n- **MCP Setup** — https://open.longbridge.com/docs/mcp\n- **LLM / AI Integration** — https://open.longbridge.com/docs/llm\n- **Changelog** — https://open.longbridge.com/docs/changelog\n\n## LLM-friendly docs\n\nAll documentation pages are available as Markdown by appending `.md` to any URL:\n\n```\nhttps://open.longbridge.com/docs/getting-started.md\nhttps://open.longbridge.com/docs/quote/pull/static.md\n```\n\nA machine-readable index is available at:\n\n```\nhttps://open.longbridge.com/llms.txt\n```\n\n## Pricing\n\nOpenAPI access is free for Longbridge Integrated Account holders. No additional fees for activating or using the API. Standard brokerage transaction fees apply to trades.\n\n## Contributing\n\n### Local development setup\n\n```bash\ngit clone --recurse-submodules https://github.com/longbridge/developers.git\ncd developers\nbun install\nbun run dev\n```\n\nIf you already cloned without `--recurse-submodules`:\n\n```bash\ngit submodule update --init --recursive\nbun run dev\n```\n\nThe dev server starts at `http://localhost:5173` and connects to the canary API. Use `bun run dev:prod` to connect to the production API instead.\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md) for full contribution guidelines.\n",
  "bytes": 5264,
  "sha": "84d50700c98fed66045e738f433c86fe6d32d17a410f28ca8df18ea5efdd2fc3",
  "repo_slug": "longbridge/developers",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/skl_longbridge_developers_longbridge_bb8c4c17/readme"
}