Developer & Reseller Public API
v1.0 RESTAutomate your Minecraft alts operations. Check stock in real-time, query pricing, and execute instant account orders using your Coins balance. Perfect for Discord bots, reseller storefronts, and automated pipelines.
https://onalt.store/api/v1Authentication Required(x-api-key header)
To execute authenticated requests (such as checking your balance or placing instant orders), you must provide your private API key in the x-api-key request header.
Returns the account profile associated with the provided x-api-key, including your current Coins balance and total orders count.
curl -X GET "https://onalt.store/api/v1/profile" \ -H "x-api-key: YOUR_API_KEY"
{
"success": true,
"profile": {
"id": "cly1a2b3c4d5e6f7",
"email": "customer@example.com",
"discordTag": "Username#0001",
"coinsBalance": 520,
"totalOrders": 14,
"apiKeyCreatedAt": "2026-10-15T18:22:10.000Z"
}
}Returns the full catalog of available products with live inventory counts and price in coins. Authentication is optional for public stock inspection, but recommended with x-api-key for higher rate limits.
curl -X GET "https://onalt.store/api/v1/products" \ -H "x-api-key: YOUR_API_KEY"
{
"success": true,
"products": [
{
"id": "prod_hypixel_unbanned",
"slug": "hypixel-unbanned",
"title": "Hypixel Unbanned",
"description": "Clean Minecraft accounts unbanned on Hypixel Network with instant delivery.",
"priceCoins": 25,
"priceUsd": 2.50,
"inStock": 48,
"minQuantity": 1,
"maxQuantity": 20
},
{
"id": "prod_unbanned_nfa",
"slug": "unbanned-nfa",
"title": "Unbanned NFA",
"description": "Non-Full Access Minecraft accounts unbanned on major networks.",
"priceCoins": 10,
"priceUsd": 1.00,
"inStock": 120,
"minQuantity": 1,
"maxQuantity": 50
}
]
}Query a specific product by its URL slug (e.g. hypixel-unbanned) to verify real-time available stock before initiating a purchase.
curl -X GET "https://onalt.store/api/v1/products/hypixel-unbanned" \ -H "x-api-key: YOUR_API_KEY"
{
"success": true,
"product": {
"id": "prod_hypixel_unbanned",
"slug": "hypixel-unbanned",
"title": "Hypixel Unbanned",
"description": "Clean Minecraft accounts unbanned on Hypixel Network with instant delivery.",
"priceCoins": 25,
"priceUsd": 2.50,
"inStock": 48,
"minQuantity": 1,
"maxQuantity": 20
}
}Creates and instantly fulfills an order using your Coins balance. Stock is allocated dynamically with uniform randomness and the decrypted accounts data (including usernames, UUIDs, session tokens, and credentials) are returned immediately in the HTTP response.
| Field | Type | Required | Description |
|---|---|---|---|
| productSlug | string | Yes | The slug identifier of the product to purchase. |
| quantity | integer | No (default: 1) | Number of accounts to purchase. |
curl -X POST "https://onalt.store/api/v1/orders" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"productSlug": "hypixel-unbanned",
"quantity": 1
}'{
"success": true,
"order": {
"orderNumber": "API-A9D412",
"product": "Hypixel Unbanned",
"quantity": 1,
"coinsDeducted": 25,
"remainingCoins": 495,
"viewUrl": "https://onalt.store/order/cly98f01b.../?token=sec_f83..."
},
"accounts": [
{
"username": "MineHero99",
"uuid": "8e36d4e8-8a8f-4c5b-9d41-3b567fa09a12",
"token": "eyJhbGciOiJSUzI1NiIs...",
"account": "minehero@gmail.com:SecretPass123"
}
]
}Lookup any previous order by its order ID or order number (e.g. API-A9D412) to retrieve the delivered Minecraft accounts.
curl -X GET "https://onalt.store/api/v1/orders/API-A9D412" \ -H "x-api-key: YOUR_API_KEY"
{
"success": true,
"order": {
"orderNumber": "API-A9D412",
"product": "Hypixel Unbanned",
"status": "DELIVERED",
"quantity": 1,
"createdAt": "2026-10-24T20:15:30.000Z"
},
"accounts": [
{
"username": "MineHero99",
"uuid": "8e36d4e8-8a8f-4c5b-9d41-3b567fa09a12",
"token": "eyJhbGciOiJSUzI1NiIs...",
"account": "minehero@gmail.com:SecretPass123"
}
]
}HTTP Status Codes & Error Handling
All error responses follow a consistent JSON format containing '{"success": false, "error": "Reason"}'.
| Code | Meaning | Description & Cause |
|---|---|---|
| 200 OK | Success | The request was successful and data/accounts are returned. |
| 400 Bad Request | Validation Error | Missing required fields, invalid quantity, or malformed JSON. |
| 401 Unauthorized | Authentication Failed | Missing or invalid x-api-key HTTP header. |
| 402 Payment Required | Insufficient Coins | Your account does not have enough Coins to fulfill the order. |
| 404 Not Found | Resource Not Found | The requested product slug or order ID does not exist. |
| 409 Conflict | Out of Stock | Not enough available accounts in stock to fulfill the requested quantity. |
| 429 Too Many Requests | Rate Limited | You exceeded the rate limit (60 requests per minute per API key). |
Need custom integration or higher limits?
Open a ticket on our Support portal or join our Discord community for reseller assistance.