Docs · How to use your API Key

Use Your API Key

Paste the API key we sent you below — every example on this page updates automatically. The Base URL is fixed, just copy it as-is.

Get this from the email/message after purchase. Keep it private.
https://haked.mrboi.app
For OpenAI-compatible apps use https://haked.mrboi.app/v1
STEP 1

Paste your key

Enter the key we sent above.

STEP 2

Pick your tool

Choose the tab that matches your app.

STEP 3

Copy & run

Copy the config, paste it in, start using.

Add these environment variables to your terminal, or run them directly to configure API access.

Terminal
export ANTHROPIC_BASE_URL="https://haked.mrboi.app"
export ANTHROPIC_AUTH_TOKEN="sk-YOUR-API-KEY"
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
VS Code / Claude Code · ~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://haked.mrboi.app",
    "ANTHROPIC_AUTH_TOKEN": "sk-YOUR-API-KEY",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
  }
}
Command Prompt
set ANTHROPIC_BASE_URL=https://haked.mrboi.app
set ANTHROPIC_AUTH_TOKEN=sk-YOUR-API-KEY
set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
VS Code / Claude Code · %userprofile%\.claude\settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://haked.mrboi.app",
    "ANTHROPIC_AUTH_TOKEN": "sk-YOUR-API-KEY",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
  }
}
PowerShell
$env:ANTHROPIC_BASE_URL="https://haked.mrboi.app"
$env:ANTHROPIC_AUTH_TOKEN="sk-YOUR-API-KEY"
$env:CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
VS Code / Claude Code · %userprofile%\.claude\settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://haked.mrboi.app",
    "ANTHROPIC_AUTH_TOKEN": "sk-YOUR-API-KEY",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
  }
}
These variables apply to the current terminal session. For a permanent setup, add them to ~/.bashrc, ~/.zshrc, or your shell profile.
Config path: ~/.config/opencode/opencode.json (create it if it doesn't exist). Adjust models/options as needed.
opencode.json
{
  "provider": {
    "anthropic": {
      "options": {
        "baseURL": "https://haked.mrboi.app/v1",
        "apiKey": "sk-YOUR-API-KEY"
      },
      "npm": "@ai-sdk/anthropic"
    }
  },
  "$schema": "https://opencode.ai/config.json"
}

For any OpenAI-compatible app (Cursor, Cline, Roo Code, LibreChat, ChatBox…), set the Base URL and API key below.

Base URL & Key
Base URL : https://haked.mrboi.app/v1
API Key  : sk-YOUR-API-KEY
Model    : claude-3-5-sonnet   # or gpt-4o, gemini-2.0-flash, ...
cURL test
curl https://haked.mrboi.app/v1/chat/completions \
  -H "Authorization: Bearer sk-YOUR-API-KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-3-5-sonnet","messages":[{"role":"user","content":"Hello!"}]}'
Python (openai SDK)
from openai import OpenAI
client = OpenAI(base_url="https://haked.mrboi.app/v1", api_key="sk-YOUR-API-KEY")
r = client.chat.completions.create(model="claude-3-5-sonnet",
    messages=[{"role":"user","content":"Hello!"}])
print(r.choices[0].message.content)
In Cursor: Settings → Models → OpenAI API Key → enable “Override base URL”, paste the Base URL and your key.
Need help? Contact us where you bought your key · MrCuBoi API Gateway