GeminiGemini
SandboxGet API key
  • Crypto Trading
  • Prediction Markets
  • SDKs & Tools
Changelog
Gemini Crypto Exchange LogoGemini Crypto Exchange Logo

© 2026 Gemini Space Station, Inc.

Overview
TypeScript SDK
SDKs & Tools

SDKs & Tools

Build with Gemini using official SDKs and developer tools.

TypeScript SDK

The official TypeScript SDK for the Gemini API. Two entry points — gemini-markets/server for Node.js, Bun, and Deno, and gemini-markets/browser for frontend apps and edge runtimes.

TerminalCode
npm install gemini-markets
  • Quickstart — install, create a client, make your first request
  • Authentication — HMAC, OAuth, and browser PKCE
  • WebSocket — real-time streams and live order books
  • Error handling — error classes, diagnostics, and safe logging
  • Patterns & recipes — pagination, timeouts, heartbeat, and advanced configuration
  • API Reference — all 105 operations across 7 namespaces, with code examples
  • WebSocket Reference — streams, methods, and wire format
  • Deep dives — order book reconstruction, RFQ, data types, request validation, sessions, transport

Build with Gemini today

  • Set up authentication
  • Use the demo environment
  • Explore API specifications
Last modified on August 14, 2026