http://185.14.92.231/api/v1
Every request needs an API key. Keys are created in the panel under API keys — the full key is shown once at creation. Send it as a bearer token:
Authorization: Bearer sess_<your key>
A missing or unknown key returns 401. A revoked key returns 403. Keys belong to one panel account and share its quotas, history and billing.
| Action | Price | Free quota / 24h |
|---|---|---|
| claim, bulk | $0.10 per session | daily plan limit applies |
| recover | $0.10 after quota | 20 — only for accounts delivered in the last 24h |
| replacement | $0.10 after quota | 20 |
| refreshes/buy | $0.10 per refresh | prepaid credits, never expire |
| unlimited plan | per-customer daily price | all refreshes free, no 24h rule |
Usage is invoiced: charges accumulate as amount owed and never block a request. Responses include the running total in billing.owed_cents (USD cents).
Refresh payment order: unlimited plan (if enabled for the account, billed once per rolling 24h) → daily free quota → prepaid credits (quotas.refreshes_extra in /usage) → invoiced $0.10. Refresh responses report which was used in source: plan, daily, credit or billed.
Session holds expire 24h after the holder's last claim or refresh — untouched sessions return to the stock pool and may be claimed by someone else (recover then returns 409). Accounts on an unlimited-refresh plan hold their sessions indefinitely.
Refresh responses carry quota headers: X-RateLimit-Limit, X-RateLimit-Used. Usage beyond the free quota is billed, not blocked.
/session/claimClaims one fresh session. Billed $0.10. Counts toward the daily plan limit.
POST /api/v1/session/claim Authorization: Bearer sess_...
{
"session": {
"account_id": 680,
"username": "Kingflipz",
"uuid": "f06aaefa-2e14-499b-a341-bf773adcfbca",
"session_token": "eyJraWQi...",
"expires_at": 1794000000
},
"billing": { "charged_cents": 10, "owed_cents": 320 }
}
/session/bulkClaims up to 100 sessions in one call. Partial delivery is normal — the daily plan limit and stock bound the result. Every delivered session is billed.
POST /api/v1/session/bulk Authorization: Bearer sess_... Content-Type: application/json { "amount": 5 }
{
"delivered": 5,
"requested": 5,
"sessions": [ { "account_id": 1129, "username": "Zawliet", "uuid": "...", "session_token": "eyJ...", "expires_at": 1794000000 } ],
"billing": { "charged_cents": 50, "owed_cents": 370 }
}
/session/recoverRefreshes the session for a username linked to the key owner. Free within the 24h quota, then $0.10. The token is re-issued through Microsoft OAuth before it is returned.
POST /api/v1/session/recover Authorization: Bearer sess_... Content-Type: application/json { "username": "Kingflipz" }
Free if the account was delivered to this account within the last 24h; otherwise billed. The response also sets fresh_delivery and free. Unknown username 404, username never linked to the key owner 404 not_your_account, session held by another customer 409.
/session/replacementReturns a new session, ignoring the daily plan limit. Free within the 20/24h quota, then $0.10. Same response shape as claim plus free.
/session/replaceReplaces one specific account: the old account is banned and permanently removed from the stock rotation, and a fresh session is delivered in its place. Billed like a replacement (free within the 20/24h quota, then $0.10).
POST /api/v1/session/replace Authorization: Bearer sess_... Content-Type: application/json { "account_id": 260 }
{
"replaced": { "account_id": 260, "username": "Julli2506" },
"session": { "account_id": 1129, "username": "Zawliet", "uuid": "...", "session_token": "eyJ...", "expires_at": 1794000000 },
"free": true,
"billing": { "charged_cents": 0, "owed_cents": 100 }
}
Unknown or not-yours account 404, already replaced 409 already_replaced, no substitute in stock 503.
/refreshes/buyPrepays extra refreshes at $0.10 each. Credits never expire and are consumed after the daily free quota runs out — before any per-refresh billing.
POST /api/v1/refreshes/buy Authorization: Bearer sess_... Content-Type: application/json { "amount": 10 }
{
"added": 10,
"credits": 10,
"billing": { "charged_cents": 100, "owed_cents": 420 }
}
The remaining balance is also reported in GET /usage as quotas.refreshes_extra.
/usageKey, license, quotas, billing and stock state in one call.
{
"user_id": "1262025288846413845",
"license": { "daily_limit": 5, "limit_bypass": false, "expires_at": 1794000000 },
"usage": { "claims_today": 2, "claims_total": 31 },
"quotas": {
"price_per_session_cents": 10,
"refreshes_used_24h": 3, "refreshes_free_24h": 20, "refreshes_free_left": 17, "refreshes_extra": 10,
"replacements_used_24h": 0, "replacements_free_24h": 20, "replacements_free_left": 20
},
"billing": { "owed_cents": 310, "paid_cents": 200 },
"stock": { "available": 14, "claimed": 17, "total_active": 31 }
}
/stockAvailable, claimed and total active session counts.
{ "available": 98, "claimed": 80, "total_active": 178, "total_refreshable": 178 }
All errors share one shape:
{ "error": { "code": "no_stock", "message": "All sessions are currently claimed..." } }
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_amount / invalid_user_id | Malformed input |
| 401 | missing_key / invalid_key | No, or unknown, API key |
| 403 | key_revoked / no_license / license_expired | Key or plan inactive |
| 404 | account_not_found / not_your_account / key_not_found | Unknown username, account or key |
| 409 | session_unavailable | Session currently held by another customer |
| 429 | daily_limit_reached | Daily plan limit exhausted |
| 503 | no_stock / refresh_failed / maintenance | Empty stock, refresh failure, or the service is down for maintenance |
Session Panel API v1 · Panel sign in