Get Started
EverydaySub API is a RESTful API that allows you to perform: data topup, airtime recharge, cable subscription, electricity bill payment, exam pin purchase, and more.
API Endpoint https://everydaysub.com.ng/api/user
Authentication
EverydaySub API uses Bearer Token Authentication. Generate your API token from your dashboard and include it in your request header.
Authorization: Bearer YOUR_API_TOKEN
Response Format
All responses are returned in JSON format.
{
"success": true,
"code": 200,
"status": "successful",
"data": { ... }
}
Buy Data
curl -X POST https://everydaysub.com.ng/api/data
Headers:
Content-Type: application/json
Accept: application/json
Authorization: Bearer YOUR_API_TOKEN
Body:
{
"network_id": 1,
"dataType_id": 2,
"plan_id": 2,
"phone_number": "07038858824"
}
Network ID:
https://everydaysub.com.ng/api/documentation/network
Data Type ID:
https://everydaysub.com.ng/api/documentation/dataType
Data Plan ID:
https://everydaysub.com.ng/api/documentation/data
Buy Airtime
curl -X POST https://everydaysub.com.ng/api/airtime/
Headers:
Content-Type: application/json
Accept: application/json
Authorization: Bearer YOUR_API_TOKEN
Body:
{
"network_id": 1,
"type_id": 2,
"amount": 100,
"phone_number": "07038858824"
}
Airtime Type ID:
https://everydaysub.com.ng/api/documentation/airtimeType
Cable Subscription
curl -X POST https://everydaysub.com.ng/api/cable
Headers:
Content-Type: application/json
Accept: application/json
Authorization: Bearer YOUR_API_TOKEN
Body:
{
"cable_id": 1,
"plan_id": 2,
"decoder_number": "38473895DE",
"phone_number": "07038858824"
}
Cable Plan ID:
https://everydaysub.com.ng/api/cablePlan
Pay Bill
curl -X POST https://everydaysub.com.ng/api/electricity
Headers:
Content-Type: application/json
Accept: application/json
Authorization: Bearer YOUR_API_TOKEN
Body:
{
"disco_id": 1,
"meter_type": "PREPAID",
"meter_number": "67573895RF",
"amount": 1000,
"phone_number": "07038858824"
}
Buy Exam Pin
curl -X POST https://everydaysub.com.ng/api/exam
Headers:
Content-Type: application/json
Accept: application/json
Authorization: Bearer YOUR_API_TOKEN
Body:
{
"exam_id": 1,
"quantity": 2
}
Exam Type:
https://everydaysub.com.ng/api/documentation/