datavendor.ng merchant API
API Documentation
REST API for data, airtime, cable TV, electricity, exam pins, recharge cards and bulk SMS. Authenticate with your token and call the live base URL below.
JSON over HTTPSToken authenticationLive pricing
Base URL
https://datavendor.ngGET
/api/sms/Query Bulk SMS
GET — bulk SMS history & delivery status
api:readRequired headers
| Header | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_TOKEN | Yes |
| Content-Type | application/json | Yes (POST/PUT) |
| Accept | application/json | Recommended |
Endpoint
GET
https://datavendor.ng/api/sms/Code samples
cURL
curl -X GET "https://datavendor.ng/api/sms/" \
-H "Authorization: Token YOUR_API_TOKEN" \
-H "Accept: application/json"Response sample (200)
JSON
[
{
"id": 12,
"sendername": "DataVendor",
"message": "Hello from API",
"total": 2,
"unit": 2,
"amount": "7.00",
"create_date": "2026-03-01T10:00:00Z"
}
]You can also use GET /api/sendsms/ on some deployments for the same history list.