DailyStore API Reference
Welcome to the DailyStore API documentation. Our REST API allows you to integrate your store directly into your custom applications, Discord bots, or personal dashboards. You can query products, check stock in real-time, and make programmatic purchases using your account balance.
Base URL
https://www.dailystore.me/api/v1Rate Limits
To ensure stability, the API enforces the following rate limits:
- ●Public endpoints (GET): 100 requests per minute per IP.
- ●Purchase endpoints (POST/GET Auth): 20 requests per minute per API key.
Response Statuses & Errors
The API uses conventional HTTP response codes to indicate success or failure.
- ●
2xxcodes indicate success (200 OK,201 Created). - ●
4xxcodes indicate an error (e.g., inadequate balance, missing parameters). - ●
5xxcodes indicate a server error.
Error Format
{
"error": "ERROR_CODE_STRING",
"message": "Human readable error explanation."
}Common error codes include: UNAUTHORIZED, INSUFFICIENT_BALANCE, PRODUCT_NOT_FOUND, PRODUCT_UNAVAILABLE, INVALID_REQUEST, RATE_LIMITED, INTERNAL_ERROR.
Authentication
Authentication is required for endpoints that modify data or access private account information (like making purchases or viewing balance). You can manage your API keys in your daily store user panel.
Warning: Keep your API keys secret! If a key is compromised, you can delete and revoke it immediately from your dashboard.
Pass your API key using the standard bearer token specification in the Authorization header.
Authorization: Bearer dsk_live_YourSecretKeyHereList Products
/productsReturns a list of all products in the store. Includes SKU, price, real-time stock, category, and availability. Cached for 60 seconds.
curl -X GET https://www.dailystore.me/api/v1/products[
{
"sku": "EpicGames100-200",
"name": "EpicGames [100-200 Games] [NFA]",
"description": "...",
"price": 0.4,
"stock": 11,
"isAvailable": true,
"category": "epic-games"
}
]Get Product Details
/products/:skuReturns detailed information about a specific product by its SKU. Cached for 5 seconds.
curl -X GET https://www.dailystore.me/api/v1/products/EpicGames100-200Check Stock
/stock/:skuA fast, lightweight endpoint specifically designed to check the real-time stock of a product without returning the full description and metadata. Cached for 5 seconds.
curl -X GET https://www.dailystore.me/api/v1/stock/EpicGames100-200{
"sku": "EpicGames100-200",
"name": "EpicGames [100-200 Games] [NFA]",
"stock": 11,
"isAvailable": true
}Get Balance
/balanceReturns the current balance available on your account. Best used to verify if a user has sufficient funds before attempting a purchase.
curl -X GET https://www.dailystore.me/api/v1/balance \
-H "Authorization: Bearer dsk_live_..."{
"balance": 26.6,
"email": "user@email.com"
}Purchase Items
/purchaseCreates a new order and instantly purchases items using your account balance. The credentials (purchased items) are returned immediately in the response, and an email summary is dispatched.
Properties
itemsRequiredArray of objects containing sku and quantity.
couponCodeDiscount code to apply.
curl -X POST https://www.dailystore.me/api/v1/purchase \
-H "Authorization: Bearer dsk_live_..." \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"sku": "EpicGames100-200",
"quantity": 1
}
]
}'{
"orderId": "cmmqgpojm000...",
"items": [
{
"sku": "EpicGames100-200",
"name": "EpicGames [100-200 Games] [NFA]",
"quantity": 1,
"delivered": 1,
"credentials": [
"email@example.com:password123"
],
"unitPrice": 0.4
}
],
"subtotal": 0.4,
"totalCharged": 0.4,
"remainingBalance": 26.2
}List Orders
/ordersReturns a paginated list of your past orders. Does not include the actual credentials inside the orders.
curl -X GET https://www.dailystore.me/api/v1/orders \
-H "Authorization: Bearer dsk_live_..."{
"items": [
{
"id": "cmmqgpojm000...",
"total": 0.4,
"status": "PAID"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"totalPages": 1
}
}Get Order Details
/orders/:orderIdReturns the full details of a specific order, including the purchased credentials.
curl -X GET https://www.dailystore.me/api/v1/orders/cmmqgpojm000... \
-H "Authorization: Bearer dsk_live_..."{
"orderId": "cmmqgpojm000...",
"status": "PAID",
"total": 0.4,
"paymentMethod": "api_balance",
"items": [
{
"sku": "EpicGames100-200",
"name": "EpicGames [100-200 Games] [NFA]",
"quantity": 1,
"unitPrice": 0.4,
"credentials": [
"email@example.com:password123"
],
"delivered": 1
}
],
"createdAt": "2026-03-14T12:00:00.000Z"
}