API & AI Agents·3 min read·Updated: 2026-11-29
API Key Creation, Passkey Step-Up & Security Controls
Create scoped read + trade API keys in the GaiaEx mobile app, store secrets safely, and keep withdrawal privileges locked to your TEE wallet.
1. Creating an API Key (App-Only Passkey Step-Up)
Bots and scripts cannot self-issue API keys. Every key requires human biometric or passkey confirmation inside the GaiaEx mobile app:
- Open Settings → API Keys → Create inside the GaiaEx mobile app.
- Complete the passkey step-up prompt and assign read or read + trade permissions.
- Copy your api_key and api_secret once and export them via environment variables (GAIAEX_API_KEY, GAIAEX_API_SECRET) or a secrets manager.
2. Built-In Safety Guarantees
All API keys inherit canWithdraw=false: they can read account state and submit or cancel orders, but they can never transfer collateral out of your wallet. Rotate keys periodically and revoke unused keys immediately in-app.

