Connect your app
Already have a key? Enter it in the terminal. Need a key? Choose a package.
Choose a packageApp setup
Choose your app and follow the short setup.
Codex CLI — Linux / WSL
Install from the developer
The app download stays on the developer’s official site or repository, not GetAPI. If the app is already installed, continue with GetAPI setup below.
Connect to GetAPI
bash -c ' IFS= read -r -s -p "GetAPI API key: " GETAPI_KEY </dev/tty || exit 1
printf "\n" >/dev/tty
getapi_fetch() { local body; body=$(curl -fsSL --connect-timeout 8 --max-time 30 "$1" 2>/dev/null) || return 1; [[ "$body" == *"# GetAPI installer v1"* && "$body" == *"# End GetAPI installer v1" ]] || return 1; printf '"'"'%s\n'"'"' "$body"; }; SCRIPT=$(getapi_fetch '"'"'https://direct.getapi.trade:8443/v1/i?tool=codex-cli&os=macos&lang=en'"'"' || getapi_fetch '"'"'https://api.getapi.trade/v1/i?tool=codex-cli&os=macos&lang=en'"'"') && printf '"'"'%s\n'"'"' "$SCRIPT" | bash -s -- "$GETAPI_KEY"'This command runs the GetAPI setup script. It configures the connection and backs up existing settings. Enter your key in the terminal when prompted; the copied command does not contain it.
- Run the setup
Open Terminal and paste the bash command above.
- Enter your API key
Paste the key when the terminal asks. Wait for setup to finish. Existing configuration is backed up by the installer.
- Restart the app
Open a new session and send a short request. Check the result and usage in your dashboard.
Connection problems
GPT, Grok and DeepSeek use OpenAI-compatible settings; Claude uses Anthropic / Messages. For Grok and DeepSeek, select Chat Completions and use an exact model ID from your key’s catalog.
If the connection resets or times out, check the client, selected model, balance and network. For a different network route, use the protocol-specific direct address.
- GPT, Grok and DeepSeek — OpenAI-compatible
https://direct.getapi.trade:8443/v1- Claude — Anthropic / Messages
https://direct.getapi.trade:8443
For support, provide the client version, time and request ID. Keep your API key private.
Remove GetAPI
Restore the settings saved before GetAPI setup. Close the app, run the command below, then restart the app and open a new terminal. No API key is required.
bash -c 'getapi_fetch() {
local body
body=$(curl -fsSL --connect-timeout 8 --max-time 30 "$1" 2>/dev/null) || return 1
[[ "$body" == *"# GetAPI rollback v1"* && "$body" == *"# End GetAPI rollback v1" ]] || return 1
printf "%s\n" "$body"
}
SCRIPT=$(getapi_fetch "https://direct.getapi.trade:8443/v1/i/rollback?tool=codex-cli&os=linux&lang=en" || getapi_fetch "https://api.getapi.trade/v1/i/rollback?tool=codex-cli&os=linux&lang=en") || {
printf "%s\n" "Rollback unavailable or incomplete; no files changed." >&2; exit 1
}
printf "%s\n" "$SCRIPT" | bash'Rollback restores saved settings and removes files recorded as created by the installer. Keep the backup files until you have checked the result.
If the backup is missing, contact support before changing application files. Support
If you configured GetAPI manually, remove its provider or restore your previous API URL and key in the app. Remove any GetAPI variables or aliases you added to your shell profile.