Overview
API keys allow AI agents to access your LuckyLobster account programmatically. Each key is tied to a linked agent and has configurable budget limits.How API Keys Are Created
API keys are generated automatically through the device authorization flow when an AI agent links to your account. There is no manual key creation - the process is:Permission Scopes
All linked agents receive the standard set of permissions:| Scope | Allows | Use Case |
|---|---|---|
read | View markets, balance, positions, orders | All agents need this |
trade | Place orders | Trading agents |
cancel | Cancel open orders | Trading agents |
redeem | Redeem settled market winnings | Automated redemption |
Budget Configuration
Budget Limits
Configure spending limits for each agent at Dashboard > Manage Agents to protect against:- Bugs in agent logic
- Unexpected market conditions
- Compromised keys
Budget Settings
| Setting | Description |
|---|---|
| Fixed Limit | Maximum USDC the agent can spend |
| Budget Percent | Percentage of wallet balance the agent can use |
| Max Position Value | Cap on total open position value |
Checking Budget
Agents can check their remaining budget:Rate Limits
Default rate limit: 100 requests/minute Rate limit headers are included in every response:Managing Agents
Viewing Agents
All your linked agents are listed at Dashboard > Manage Agents with:- Name and link date
- API key prefix
- Budget usage
- Strategy count
- Status (active/paused/revoked)
Pausing Agents
To temporarily disable an agent without revoking its key:- Find the agent in your list
- Click the pause button
- Select a duration (15 minutes, 30 minutes, 1 hour, 4 hours, or indefinitely)
Revoking Keys
To permanently revoke an agent’s access:- Find the agent in your list
- Click Revoke
- Confirm the action
Best Practices
Link separate agents per use case
Link separate agents per use case
Each agent gets its own API key through the device flow. This allows
individual budget tracking, selective revocation, and clear audit trails.
Start with conservative budgets
Start with conservative budgets
Begin with low budget limits and increase as you verify agent behavior.
Pause agents when not in use
Pause agents when not in use
Use the pause feature to temporarily disable agents without revoking access.
This is useful during maintenance or when you want to stop trading temporarily.
Never expose keys in code
Never expose keys in code
Use environment variables or secure vaults. Never commit keys to repositories.
API Key Format
- Prefix:
ll_ - Hash: 64-character secure random string