Start here
Authentication
One API key, sent as a bearer token. Choose how you want to recover access.
Authorization: Bearer mr-live-<26 base58>Choose how to start
Without an account
No email or wallet required. Save your key and permanent dashboard link.
Get a key →With an account
Sign in with email or a Solana wallet for recovery and key replacement.
Choose a sign-in method →Same prices and API behavior. Keys are created before payment.
Save these before you pay
- Your API key
- Shown once after creation or rotation. Only its hash is stored; the original key cannot be recovered.
- Your dashboard link
- A permanent secret. It survives key rotation and lets you create a replacement key.
- Accountless recovery
- If every usable key and the dashboard link are lost, there is no personal recovery.
1. Rotate the key
Rotate it in the dashboard. Save the new key and the old key’s expiry.
2. Update your clients
The old key keeps working for 24 hours.
3. Finish the switch
After expiry, the old key returns 401 invalid_api_key.
Add an account later
Attach email or a wallet without changing your API key.
Your API key proves control of the accountless balance. It keeps working after you attach an account.
curl https://api.minirouter.sh/me/claim \
-H "Authorization: Bearer $MINIROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'Limits and balance alerts
Spend caps are on by default, with lower defaults for accountless keys.
Adjust limits in the dashboard. Rate limits explains each control.
rpmLimit- requests per minute
tpmLimit- estimated input and output tokens per minute
dailyLimitNano- daily spend cap in nano-USD
monthlyLimitNano- monthly spend cap in nano-USD
allowedModels- Models this key may call.
The x-minirouter-balance-usd response header reports your balance. Browser-push and email credit alerts are optional.