Crypto Exchange SDKs
TypeScript-first SDKs for CEX & DEX REST APIs & WebSockets. Built with precision. Designed & heavily used by algorithmic traders.
Get Started
in Minutes
Choose from our comprehensive collection of exchange SDKs. Install any SDK via npm and start integrating exchange APIs in just a few lines of code with consistent patterns across all platforms.
01
Choose Your Exchange
Each hand-crafted SDK is tailored to each exchange. Heavily used and actively stress tested, with full REST API and WebSocket coverage for the complete offering of each cryptocurrency exchange.
02
Install via npm
Install your chosen SDK using npm or your favourite package manager, with full TypeScript support included.
npm install bybit-api03
Configure API Keys
Set up your exchange API credentials securely in your application environment.
04
Execute Orders via API
Use the intuitive SDK to place orders, get market data, and manage your account with consistent patterns across all exchanges.
05
Explore Examples
Browse practical examples on the web and GitHub, plus SDK-specific examples for the selected exchange.
Select Exchange SDK
- Binance SDK - npm install binance
- Bybit SDK - npm install bybit-api
- OKX SDK - npm install okx-api
- Gate SDK - npm install gateio-api
- Bitget SDK - npm install bitget-api
- KuCoin SDK - npm install kucoin-api
- Coinbase SDK - npm install coinbase-api
- Kraken SDK - npm install @siebly/kraken-api
- BitMart SDK - npm install bitmart-api
Bybit SDK REST API Example
/*
npm install bybit-api
REST snippets are loaded from the shared quickstart cache.
Open the selected SDK quickstart for exchange-specific client names and methods.
*/Bybit SDK WebSocket Events Example
/*
npm install bybit-api
WebSocket snippets are loaded from the shared quickstart cache.
Open the selected SDK quickstart for exchange-specific clients, topics, and handlers.
*/Bybit SDK WebSocket API Example
/*
npm install bybit-api
WebSocket API snippets are loaded from the shared quickstart cache.
Open the selected SDK quickstart for exchange-specific command methods.
*/SDK
Portfolio
Professional-grade JavaScript, TypeScript, and Node.js SDKs trusted by thousands of developers worldwide. Each exchange guide shows how the same SDK package is used from JavaScript, Node.js, and TypeScript contexts.
Binance JavaScript SDK
Typed SDKs for Binance spot, futures, margin, REST, WebSocket, and WebSocket API workflows.
binance
Features: Spot, Futures, WebSockets, TypeScript
Bybit JavaScript SDK
Complete REST API and WebSocket clients for all available Bybit product groups, including spot, derivatives & options.
bybit-api
Features: Derivatives, Spot, WebSockets, Copy
OKX JavaScript SDK
OKX SDK support for spot, futures, options, grid workflows, and live market streaming.
okx-api
Features: Spot & Futures, Options, WebSockets, Grid
Gate JavaScript SDK
Gate SDK support for spot, futures, account workflows, and realtime streams.
gateio-api
Features: Multi Markets, Lending, WebSockets, Sub Accounts
Bitget JavaScript SDK
Bitget SDK support for spot, futures, copy trading, and real-time websocket flows.
bitget-api
Features: Copy, Futures, Spot, P2P
KuCoin JavaScript SDK
KuCoin Node.js/TypeScript SDKs for spot, margin, futures, and lending integrations.
kucoin-api
Features: Spot, Margin, Futures, Lending
Coinbase JavaScript SDK
Coinbase SDK support for Advanced Trade, Exchange, Prime, Commerce, and systematic API workflows.
coinbase-api
Features: Advanced Trade, Exchange, Prime, Commerce
Kraken JavaScript SDK
Kraken SDK support for spot, futures, and WebSocket connectivity.
@siebly/kraken-api
Features: Spot, Futures, WebSockets
BitMart JavaScript SDK
BitMart API SDK support across spot, margin, futures, and websocket market data.
bitmart-api
Features: Spot, Margin, WebSockets, Futures
Why Use
Our SDKs?
Production-tested SDKs for real-world systematic trading. Used by thousands of systems and refined through years of live exchange executions. Each follows industry best practices and delivers a consistent developer experience.
TypeScript First
Built with TypeScript from the ground up with comprehensive type definitions for safer, faster development.
Battle Tested
Used in production by thousands of developers and systems for nearly a decade.
Real-time Data
Complete WebSocket support for real-time market data, account updates, and even order placement for compatible exchanges.
Comprehensive Docs
Clear documentation with examples, guides, and API references for every endpoint.
Active Maintenance
Continuously updated to track exchange API changes and enhancements, matching latest API capabilities.
Developer Friendly
Consistent, intuitive APIs across all SDKs for quick adoption and productivity.
Frequently Asked
Questions
Find answers to common questions about our cryptocurrency exchange SDKs.
What is a crypto exchange SDK?
A crypto exchange SDK is a developer toolkit that wraps raw exchange APIs into typed, well-documented functions. Instead of stitching REST and WebSocket requests together yourself, you get ready-made clients for authentication, trading, market data, and utilities that follow best practices out of the box. These SDKs even allow you to send orders via WebSockets and await them like a REST API.
How do I get started with your SDKs?
Simply install any SDK via npm (e.g., 'npm install @siebly/kraken-api') or your favourite package manager (pnpm, yarn, etc) and import it into your project. Follow the examples for more detailed guidance. Each SDK comes with full TypeScript support and comprehensive documentation. TypeScript is strictly optional, but you'll benefit from rich types even in pure JavaScript projects.
What features does the SDK support?
The core surface covers authenticated trading (spot, margin, derivatives), public market data, WebSocket streaming, account management, withdrawals, and exchange-specific extras like copy trading or sub-accounts. Where the exchange exposes other endpoints, as well as sending orders via a persisted WebSocket connection (WebSocket API), we surface those too.
Are the SDKs free to use?
Yes, all our SDKs are completely free and open-source. You can use them in both personal and commercial projects without any licensing fees. We hope they help you as they've helped us scale our systems. If they have, do consider sponsoring us on GitHub to support our open-source efforts.
Do you support all exchange features?
Our SDKs provide comprehensive coverage of exchange all known exchange APIs including REST endpoints, WebSocket streams (for consuming WebSocket events), and WebSocket API calls (for sending commands over a persisted WebSocket connection). We continuously update our SDKs to support the latest features & capabilities.
Why use the SDK instead of coding directly against the API?
The SDK handles signature generation, request building, connectivity heartbeats, WebSocket persistence & reconenctivity, and type safety for you. That means fewer bugs, faster onboarding for new engineers, and consistent behaviour across exchanges without re-implementing the same boilerplate. Decades of active usage across thousands of projects gives you a proven foundation for all your connectivity to exchange APIs.
Can I use a coding agent to build with cryptocurrency exchange APIs?
Yes. We take pride in the SDKs being built by hand, and they are designed to be developer-friendly and work well with coding agents. The well-typed functions, comprehensive documentation, and consistent interfaces make it easy for coding agents to understand and use the SDK effectively. We also have a [dedicated AI section](/ai) on our website, with detailed guides, skills, patterns, and a prompt generator to help you build with exchange APIs using your coding agent. All parts of this website are also available in markdown. Just point your agent to the AI page and your agent will know how to query it.
Do I need API keys to start?
Public market data works without credentials. To trade or manage accounts you will need API keys from the exchange. The SDK accepts keys via environment variables or secure secrets managers.
How often are the SDKs updated?
We regularly monitor exchange API changes and update our SDKs accordingly. Most updates are released within days of exchange API modifications. See something that you can't find in our SDK? Get in touch or open a pull request!
Is the SDK secure and audited?
We enforce static analysis, dependency scanning, and manual code review for every release. Our NPM account uses a secure, isolated, 0-trust mailbox with strict rules. The release workflow is gated behind both automated and manual approval steps. We use a tokenless publishing process with OIDC, ensuring no NPM tokens are in existence. Provenance metadata with each release ensures supply-chain integrity.
Where can I get help if I encounter issues?
You can get help through our GitHub repositories or by reaching out to our community support channels.
Can I use these SDKs in production environments?
Our SDKs are battle-tested and have nearly a decade of heavy usage in realtime systematic trading systems across thousands of users. That being said, integrations can vary and we recommend thorough testing in staging environments before deploying to production.
Can you build a new SDK for our exchange?
We frequently evaluate the leading exchanges in the market - if you would like us to consider your exchange in our next release, please get in touch!