Actions46
- Account Actions
- Market Actions
- Order Actions
- Position Actions
- Trade Actions
- Trading Actions
- Transaction Actions
- System Actions
Account → Get API Keys
AI-generatedSummary
Retrieve API key information for a specified account index and key index from the Lighter DEX API.
Inputs
- accountIndex — The account index to query API keys for. Defaults to 0 when not specified. The account index selects which account's API keys to retrieve from the Lighter system. Appears in the UI when resource is 'account' and operation is 'getApiKeys' or 'getNextNonce'.
- apiKeyIndexParam — The API key index to retrieve. Defaults to 3. Valid values range from 3 to 254. Selects which specific API key entry to fetch. Appears in the UI when resource is 'account' and operation is 'getApiKeys' or 'getNextNonce'.
Output shape
object
The Lighter node returns the raw JSON response from the
/api/v1/apikeysendpoint. The exact structure of the returned object is determined by the upstream Lighter API. If the node is configured to continue on failure, any errors are returned as{ error: error.message }paired with the corresponding input item.
Examples
Example 1: Get API keys for the default account (index 0) with the default key index (3)
Leave accountIndex and apiKeyIndexParam at their defaults, or set accountIndex to the desired account number and apiKeyIndexParam to the desired key number (3-254).