Integrate dbplug services directly into your application.
All API requests should be prefixed with the following base URL:
https://dbplug.com/api/v1For development/testing: http://localhost:3000/api/v1
All API requests must be authenticated using your unique API Key. Include it in the Authorization header.
Note: Keep your API key secure. Do not share it or expose it in client-side code.
Social Media Marketing services.
?type=smm{
"balance": 25000.00,
"currency": "NGN",
"status": "active"
}{
"service": 101, // SMM Service ID
"link": "https://...", // Post/Profile Link
"quantity": 1000 // Quantity
}const payload = {
service: 101,
link: "https://instagram.com/p/...",
quantity: 1000
};
await fetch('https://dbplug.com/api/v1/orders', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
});// Response
{
"id": "ord_123...",
"status": "completed",
"delivery": {
"code": "123456", // SMS Code (if SMS)
"phone": "+123...",
"accounts": [...] // Credentials (if Account)
}
}