Overview
This node integrates with the Gemini Exchange API, allowing users to interact with various endpoints of the Gemini cryptocurrency exchange. It supports operations such as placing new orders, canceling orders, checking order status, retrieving account balances, managing deposits and withdrawals, and more. This node is useful for automating trading activities, account management, and data retrieval from Gemini within an n8n workflow.
Use Case Examples
- Automatically place a new order on Gemini when a certain condition is met in your workflow.
- Retrieve your current account balances and use the data for reporting or further processing.
- Cancel all active orders in your Gemini account with a single workflow execution.
Properties
| Name | Meaning |
|---|---|
| Environment | Selects the Gemini Exchange environment to use, either Production or Sandbox for testing. |
| Endpoint | Specifies the Gemini API endpoint to call, such as creating a new order, canceling orders, retrieving balances, etc. |
| Parameters | Parameters to replace placeholders in the endpoint URL, required for endpoints with dynamic segments (e.g., :symbol, :currency). |
| JSON Payload | JSON formatted payload to send in the POST request body for the selected endpoint. |
Output
JSON
response- The JSON response data returned from the Gemini API call, which varies depending on the endpoint used.
Dependencies
- Requires Gemini API credentials including an API key and secret for authentication.
Troubleshooting
- Ensure the API credentials are correctly configured and have the necessary permissions for the requested endpoint.
- Verify that the parameters provided match the number and order of placeholders in the endpoint URL to avoid parameter mismatch errors.
- Check the JSON payload format for correctness when sending data in the request body.
- Handle API rate limits and network errors gracefully, as the Gemini API may reject requests if limits are exceeded or connectivity issues occur.
Links
- Gemini API Documentation - Official Gemini Exchange REST API documentation for reference on endpoints and usage.