Gemini Developer Platform
Gemini provides a unified developer platform to discover markets, manage accounts, and trade supported assets.
Account model note: Product access and account selection depend on your chosen interface. Always verify credential and account requirements for each product and protocol.
Start with your trading product
Choose what you want to trade before choosing a protocol.
- Spot crypto — current trading guides and API documentation.
- Margin — margin concepts and REST reference.
- Perpetuals — perpetuals concepts and derivatives REST reference.
- Prediction markets — event-contract guides and API documentation.
- Stocks — available in the Gemini UI. API trading documentation is coming soon.
Instrument availability, interface coverage, and regional eligibility vary by product. Review product guides for specific rules.
Understand credentials and accounts
Credentials authenticate callers. Accounts define the execution context. Roles and OAuth scopes govern permitted operations, while product settings control asset access.
Current REST documentation describes two API-key patterns:
- A Master API key can target any subaccount in its group by passing the account shortname in supported requests.
- An account-scoped API key is bound to one specific account.
OAuth, WebSocket, and FIX have distinct authentication and account-selection rules. Always follow the documentation for your chosen interface.
Choose an interface
- REST APIs for request-and-response operations.
- WebSocket APIs for streaming data and real-time workflows.
- FIX APIs for institutional order routing and drop copies.
- SDKs & Tools for the Gemini MCP server, code samples, and agent skills. SDK packages and the Gemini API CLI are in development.
Use the API Reference for exact endpoint schemas and status codes.
A safe integration flow
- Choose a trading product and confirm its availability for your use case.
- Create credentials supported by your interface.
- Identify your target trading account.
- Verify required product access and credential permissions.
- Discover active instruments and review product-specific rules.
- Preview operations when supported by the API.
- Confirm the resolved account before executing mutating requests.
- Monitor order status through WebSocket events or REST status endpoints.
Test your implementation in the demo environment before trading live.