Log Hub Marketplace API
Programmatic access to wallet, SMS verification, and log products. All endpoints require authentication via your personal API key.
Base URL
https://loghubmarketplace.site/api/reseller-apiAuthentication Header
x-api-key: YOUR_PERSONAL_API_KEYEvery request must include the x-api-key header. Generate your key at loghubmarketplace.site on the Resellers page.
Wallet
/balanceRetrieve your current wallet balance in Nigerian Naira (NGN).
Response
{
"success": true,
"data": {
"wallet_balance": 5000.00,
"currency": "NGN"
}
}SMS Verification
/sms/servicesList all available SMS verification services with their prices in NGN.
Response
[
{
"service_id": "google",
"name": "Google",
"price": 120.00,
"currency": "NGN"
},
{
"service_id": "whatsapp",
"name": "WhatsApp",
"price": 150.00,
"currency": "NGN"
}
]/sms/buyRent a virtual phone number for the specified service. Charges your wallet immediately.
Request Body
{
"service_id": "google"
}Response
{
"success": true,
"order_id": "ORD_abc123",
"phone_number": "+234XXXXXXXXXX",
"service": "Google",
"expires_at": "2025-01-01T12:20:00Z"
}/sms/statusCheck the status of a rented number and retrieve the received SMS code.
Possible status values: "waiting", "received", "cancelled", "expired"
Request Body
{
"order_id": "ORD_abc123"
}Response
{
"phone_number": "+234XXXXXXXXXX",
"code": "123456",
"status": "received"
}/sms/cancelCancel a rented number before the code is received. A refund is automatically applied to your wallet.
Request Body
{
"order_id": "ORD_abc123"
}Response
{
"success": true,
"message": "Order cancelled. Refund applied to wallet.",
"refunded_amount": 120.00,
"currency": "NGN"
}Logs (King + Lite Servers)
/logs/productsRetrieve all available log products from both King and Lite servers combined. Product IDs are prefixed to indicate the server.
product_id prefix "king_" routes to King server; "lite_" routes to Lite server.
Response
[
{
"product_id": "king_001",
"server": "king",
"name": "USA Bank Logs",
"category": "Banking",
"stock": 45,
"price": 2500.00,
"currency": "NGN"
},
{
"product_id": "lite_007",
"server": "lite",
"name": "UK Email Logs",
"category": "Email",
"stock": 12,
"price": 800.00,
"currency": "NGN"
}
]/logs/buyPurchase log products. The server is auto-routed based on the product_id prefix. Returns credentials upon success.
Request Body
{
"product_id": "king_001",
"qty": 2
}Response
{
"order_id": "ORD_xyz789",
"server": "king",
"product_name": "USA Bank Logs",
"quantity": 2,
"unit_price": 2500.00,
"total_charged": 5000.00,
"credentials": [
{ "username": "user@bank.com", "password": "pass123" },
{ "username": "user2@bank.com", "password": "pass456" }
]
}Error Codes
Missing or invalid x-api-key header.
Insufficient wallet balance to complete the request.
The requested product or SMS service was not found.
Upstream provider failure. Retry after a short delay.
Need Help?
Reach out to our support team on Telegram for API issues, key generation, or integration help.
Contact on Telegram