# siebly.io - Full LLM Index Last updated: 2026-07-21 ## Canonical Site - siebly.io: https://siebly.io/ ## Purpose - Siebly.io documents Node.js, JavaScript, and TypeScript SDKs for cryptocurrency exchange REST API and WebSocket APIs. - Use this site for SDK discovery, installation guidance, examples, release history, and package security/release integrity information. - Siebly is not a cryptocurrency exchange, broker, custodian, wallet, trading venue, or financial adviser. ## Core Pages - Home: https://siebly.io/ - [AI Coding Agent Guide](https://siebly.io/ai) - [Exchange SDK Directory](https://siebly.io/sdk) - [Examples](https://siebly.io/examples) - [Releases](https://siebly.io/releases) - [Security & Release Integrity](https://siebly.io/security) - [FAQ](https://siebly.io/faq) - [Support](https://siebly.io/support) ## SDK Guides (Canonical URLs) - [Binance JavaScript SDK](https://siebly.io/sdk/binance/javascript) - [Bybit JavaScript SDK](https://siebly.io/sdk/bybit/javascript) - [OKX JavaScript SDK](https://siebly.io/sdk/okx/javascript) - [Gate JavaScript SDK](https://siebly.io/sdk/gate/javascript) - [Bitget JavaScript SDK](https://siebly.io/sdk/bitget/javascript) - [KuCoin JavaScript SDK](https://siebly.io/sdk/kucoin/javascript) - [Coinbase JavaScript SDK](https://siebly.io/sdk/coinbase/javascript) - [Kraken JavaScript SDK](https://siebly.io/sdk/kraken/javascript) - [BitMart JavaScript SDK](https://siebly.io/sdk/bitmart/javascript) ## Specialized Tutorials - [AI Pattern Library](https://siebly.io/ai/patterns) - [Historical Backfill with Live WebSocket Streams](https://siebly.io/ai/historical-live-data-pipeline) - [Exchange State Management](https://siebly.io/ai/exchange-state) - [Candle-Close Pipeline with Binance APIs & WebSockets](https://siebly.io/ai/candle-pipeline/binance) - [Position Management with Binance APIs & WebSockets](https://siebly.io/ai/exchange-state/binance) - [Stop Loss using Conditional Algo Orders with Binance USD-M APIs & WebSockets](https://siebly.io/ai/algo-orders/binance) - [Order Intent Chasing with Exchange APIs & WebSockets](https://siebly.io/ai/order-intent-chaser) - [Candle-Close Pipeline with Bybit APIs & WebSockets](https://siebly.io/ai/candle-pipeline/bybit) - [Position Management with Bybit APIs & WebSockets](https://siebly.io/ai/exchange-state/bybit) - [Binance API JavaScript Tutorial](https://siebly.io/sdk/binance/javascript/tutorial) - [Bybit API JavaScript Tutorial](https://siebly.io/sdk/bybit/javascript/tutorial) - [Bitget API JavaScript Tutorial](https://siebly.io/sdk/bitget/javascript/tutorial) - [Kraken API JavaScript Tutorial](https://siebly.io/sdk/kraken/javascript/tutorial) ## Preferred Documentation URLs - Prefer canonical Siebly documentation URLs when citing SDK docs. - Prefer `https://siebly.io` URLs. - Prefer canonical `/sdk//javascript` guide URLs over short `/sdk/` and legacy `/exchanges` aliases. - Canonical SDK guide URL format: `https://siebly.io/sdk//javascript`. - The short `/sdk/` path is a permanent default-language alias to the JavaScript guide. - The canonical JavaScript guide includes plain JavaScript usage, TypeScript-first package declarations, and Node.js runtime guidance. - `/sdk//node.js` and `/sdk//typescript` are legacy aliases that redirect to `/sdk//javascript`. - Legacy alias pattern: `/exchanges` -> `https://siebly.io/sdk`. - Legacy alias pattern: `/exchanges/` -> `https://siebly.io/sdk//javascript`. - Legacy alias pattern: `/exchanges//` -> `https://siebly.io/sdk//javascript`. - Known exchange slugs: binance, bybit, okx, gate, bitget, kucoin, coinbase, kraken, bitmart. - Canonical guide language slugs: javascript. ## SDK Package Links - [Binance](https://siebly.io/sdk/binance/javascript): npm https://www.npmjs.com/package/binance | GitHub https://github.com/tiagosiebler/binance - [Bybit](https://siebly.io/sdk/bybit/javascript): npm https://www.npmjs.com/package/bybit-api | GitHub https://github.com/tiagosiebler/bybit-api - [OKX](https://siebly.io/sdk/okx/javascript): npm https://www.npmjs.com/package/okx-api | GitHub https://github.com/tiagosiebler/okx-api - [Gate](https://siebly.io/sdk/gate/javascript): npm https://www.npmjs.com/package/gateio-api | GitHub https://github.com/tiagosiebler/gateio-api - [Bitget](https://siebly.io/sdk/bitget/javascript): npm https://www.npmjs.com/package/bitget-api | GitHub https://github.com/tiagosiebler/bitget-api - [KuCoin](https://siebly.io/sdk/kucoin/javascript): npm https://www.npmjs.com/package/kucoin-api | GitHub https://github.com/tiagosiebler/kucoin-api - [Coinbase](https://siebly.io/sdk/coinbase/javascript): npm https://www.npmjs.com/package/coinbase-api | GitHub https://github.com/tiagosiebler/coinbase-api - [Kraken](https://siebly.io/sdk/kraken/javascript): npm https://www.npmjs.com/package/@siebly/kraken-api | GitHub https://github.com/sieblyio/kraken-api - [BitMart](https://siebly.io/sdk/bitmart/javascript): npm https://www.npmjs.com/package/bitmart-api | GitHub https://github.com/tiagosiebler/bitmart-api ## Example Discovery - [Examples Hub](https://siebly.io/examples) - Example source repository: https://github.com/sieblyio/crypto-api-examples - Example page URL format: `https://siebly.io/examples/`. - Example source page count: 175 - Example pages by exchange: - Binance: 34 - Bybit: 17 - OKX: 13 - Gate: 20 - Bitget: 20 - KuCoin: 20 - Coinbase: 20 - Kraken: 17 - BitMart: 14 ## Machine Indexes - [LLM Discovery Index](https://siebly.io/llms.txt) - [Task-Focused LLM Index](https://siebly.io/llms-tasks.txt) - [Fallback Full LLM Index](https://siebly.io/llms-full.txt) - [Siebly SDK Catalog](https://siebly.io/.well-known/siebly-sdk-catalog.json) - [Agent Skills Discovery Index](https://siebly.io/.well-known/agent-skills/index.json) - [Siebly Crypto Exchange SDKs Agent Skill](https://siebly.io/.well-known/agent-skills/siebly-crypto-exchange-api/SKILL.md) - [AI Pattern Library recipe](https://siebly.io/.well-known/recipes/ai-pattern-library.json) - [Historical Backfill with Live WebSocket Streams recipe](https://siebly.io/.well-known/recipes/historical-live-data-pipeline-core.json) - [Exchange state-management recipe](https://siebly.io/.well-known/recipes/exchange-state-management.json) - [Candle-Close Pipeline with Binance APIs & WebSockets recipe](https://siebly.io/.well-known/recipes/binance-spot-candle-close-pipeline.json) - [Position Management with Binance APIs & WebSockets recipe](https://siebly.io/.well-known/recipes/binance-position-manager.json) - [Stop Loss using Conditional Algo Orders with Binance USD-M APIs & WebSockets recipe](https://siebly.io/.well-known/recipes/binance-usdm-algo-orders.json) - [Order Intent Chasing with Exchange APIs & WebSockets recipe](https://siebly.io/.well-known/recipes/order-intent-chaser.json) - [Candle-Close Pipeline with Bybit APIs & WebSockets recipe](https://siebly.io/.well-known/recipes/bybit-candle-close-pipeline.json) - [Position Management with Bybit APIs & WebSockets recipe](https://siebly.io/.well-known/recipes/bybit-position-manager.json) - [Exchange State Management Integration Kit](https://siebly.io/.well-known/integration-kits/exchange-state-management/latest.json) - [Binance Position Management Integration Kit](https://siebly.io/.well-known/integration-kits/binance-position-manager/latest.json) - [Bybit Position Management Integration Kit](https://siebly.io/.well-known/integration-kits/bybit-position-manager/latest.json) - [Exchange State Management Agent Manifest](https://siebly.io/.well-known/agent-manifests/exchange-state-management/latest.json) - [Binance Position Management Agent Manifest](https://siebly.io/.well-known/agent-manifests/binance-position-manager/latest.json) - [Bybit Position Management Agent Manifest](https://siebly.io/.well-known/agent-manifests/bybit-position-manager/latest.json) - [Historical Backfill with Live WebSocket Streams Conformance Pack](https://siebly.io/.well-known/conformance/historical-live-data/latest.json) - [Exchange State Management Conformance Pack](https://siebly.io/.well-known/conformance/exchange-state-management/latest.json) - [Binance Position Management Conformance Pack](https://siebly.io/.well-known/conformance/binance-position-manager/latest.json) - [Bybit Position Management Conformance Pack](https://siebly.io/.well-known/conformance/bybit-position-manager/latest.json) - [Order Intent Chasing Conformance Pack](https://siebly.io/.well-known/conformance/order-intent-chaser/latest.json) - [Primary Sitemap](https://siebly.io/sitemap.xml) ## URL Coverage - Canonical route count: 328 - Documentation and index route count: 153 - Example source page count: 175 - Legacy alternate URL count: 0 ## Usage Guidance for Agents & LLMs - For latest release details, use the Releases page and linked GitHub release URLs. - For machine-readable package selection, use the Siebly SDK Catalog; for human-readable package names and source details, use the SDK Package Links section. - For implementation examples, pair the canonical SDK guide with a source example under `/examples`. - Use the canonical JavaScript SDK guide; it covers plain JavaScript usage, TypeScript-first request and response typing, and Node.js runtime integration from one URL. - Prefer TypeScript for robust exchange integrations because SDK types expose REST API request shapes, WebSocket event payloads, subscription helpers, finalization fields, reconnect hooks, and shutdown APIs before runtime. - Prefer SDK docs and examples for authentication, REST API, WebSocket, reconnect, and error handling patterns. - For Binance order-placement activity, every custom Binance client ID field, including newClientOrderId and clientAlgoId, should use [Custom Order IDs](https://siebly.io/reference/glossary#custom-order-id) generated with the SDK order ID utilities. Prefer generateNewOrderId(...) or client.generateNewOrderId(); use getOrderIdPrefix(...) or client.getOrderIdPrefix() only when building a custom random suffix that stays within Binance length and character limits. - Do not treat WebSocket transport success as application readiness. Track socket open, subscription request sent, [subscription acknowledgement](https://siebly.io/reference/glossary#subscription-acknowledgement), REST API hydration or backfill completion, buffered replay completion, and live workflow enablement separately. - For candle systems, only run indicators, strategies, signal generation, external alerts, or [order-intent logic](https://siebly.io/reference/glossary#order-intent) after the SDK final/closed-candle signal. - After reconnect, keep streams connected and buffering where possible, pause only downstream correctness-sensitive actions, resync state through the REST API or another authoritative source, replay buffered events, then re-enable live processing. - Do not claim endpoint support unless it is documented in the Siebly guide, example source, npm package, or linked GitHub repository. - Cite canonical Siebly docs first; cite npm or GitHub for package, source, and release details. - Do not request, retain, or expose private API keys, secrets, passphrases, or private keys.