API Documentation

Integrate AlexHoursBoost into your own server, bot or application.

Base URL: https://alexlamasg.lat/api Auth: API Key Format: JSON

Getting Started

1
Sign Up

Create an account at alexlamasg.lat/register

2
Generate API Key

Go to Settings → API Keys → Generate

3
Integrate

Use your API key with the endpoints documented below

Authentication

All authenticated requests require the header X-Api-Key:

X-Api-Key: ahb_tu_api_key_aqui
Security: Do not share your API key. Each key has permissions tied to your account and plan.

Rate Limits

PlanRequests/minNotes
Free30Ideal for personal use
Pro120For bots and automation
Enterprise500High-traffic servers

Error Codes

CodeMeaning
400Bad request — missing parameters
401API key not provided
403Invalid API key or plan limit
404Resource not found
409Conflict — resource already exists
429Too many requests — rate limited
500Internal server error

My Account

GET /api/v1/me Get your account info
Request
curl -H "X-Api-Key: ahb_tu_key" https://alexlamasg.lat/api/v1/me
Response
{ "username": "alex", "plan": "pro", "max_accounts": 5, "max_hours": 500 }

Steam Accounts

GET /api/v1/accounts List all your accounts
curl -H "X-Api-Key: ahb_tu_key" https://alexlamasg.lat/api/v1/accounts
{ "accounts": [ { "id": 1, "account_name": "mysteam", "steam_id64": "76561198...", "status": "online", "total_hours_boosted": 125.5, "is_boosting": true, "created_at": "2025-01-15T..." } ] }
POST /api/v1/accounts Add a Steam account
Parameters
FieldTypeRequiredDescription
account_namestringYesSteam username
passwordstringYesAccount password
shared_secretstringNoSteam Guard Mobile shared secret
curl -X POST https://alexlamasg.lat/api/v1/accounts \ -H "X-Api-Key: ahb_tu_key" \ -H "Content-Type: application/json" \ -d '{"account_name":"misteam","password":"pass123","shared_secret":"abc="}'
{ "success": true, "account_id": 42 }
DELETE /api/v1/accounts/:id Delete an account
curl -X DELETE -H "X-Api-Key: ahb_tu_key" https://alexlamasg.lat/api/v1/accounts/42

Boost Control

POST /api/v1/accounts/:id/start Start boost for an account
curl -X POST -H "X-Api-Key: ahb_tu_key" https://alexlamasg.lat/api/v1/accounts/1/start
{ "success": true, "message": "Boost started for account #1" }
POST /api/v1/accounts/:id/stop Stop boost for an account
curl -X POST -H "X-Api-Key: ahb_tu_key" https://alexlamasg.lat/api/v1/accounts/1/stop
GET /api/v1/accounts/:id/status Detailed status of an account
curl -H "X-Api-Key: ahb_tu_key" https://alexlamasg.lat/api/v1/accounts/1/status
{ "id": 1, "account_name": "misteam", "steam_id64": "76561198...", "status": "online", "total_hours_boosted": 125.5, "is_boosting": true, "bot_status": "playing" }

Games

POST /api/v1/accounts/:id/games Add games for boosting
FieldTypeRequiredDescription
gamesarrayYesArray of objects with app_id and game_name
curl -X POST https://alexlamasg.lat/api/v1/accounts/1/games \ -H "X-Api-Key: ahb_tu_key" \ -H "Content-Type: application/json" \ -d '{"games":[{"app_id":730,"game_name":"CS2"},{"app_id":570,"game_name":"Dota 2"}]}'
{ "success": true, "added": 2 }
GET /api/v1/accounts/:id/games List games of an account
curl -H "X-Api-Key: ahb_tu_key" https://alexlamasg.lat/api/v1/accounts/1/games
{ "games": [ { "id": 1, "app_id": 730, "game_name": "CS2" }, { "id": 2, "app_id": 570, "game_name": "Dota 2" } ] }

Server Status

GET /api/v1/server/status No authentication required
curl https://alexlamasg.lat/api/v1/server/status
{ "server_status": "online", "active_bots": 23, "version": "1.0.0" }

Integration Examples

Node.js Python Bash PHP
const API_KEY = 'ahb_tu_key_aqui'; const BASE = 'https://alexlamasg.lat/api/v1'; // List accounts const res = await fetch(`${BASE}/accounts`, { headers: { 'X-Api-Key': API_KEY } }); const data = await res.json(); console.log(data.accounts); // Start boost await fetch(`${BASE}/accounts/1/start`, { method: 'POST', headers: { 'X-Api-Key': API_KEY } }); // Add games await fetch(`${BASE}/accounts/1/games`, { method: 'POST', headers: { 'X-Api-Key': API_KEY, 'Content-Type': 'application/json' }, body: JSON.stringify({ games: [ { app_id: 730, game_name: 'Counter-Strike 2' }, { app_id: 570, game_name: 'Dota 2' } ] }) });

SDKs & Wrappers

Node.js SDK
npm install alexhoursboost-sdk
Coming Soon
Python SDK
pip install alexhoursboost
Coming Soon

Ready to get started?

Generate your first API key and start integrating.

Generate API Key