StarData Developer API
Base URL:
https://api.stardata.com.ng/v1/developer/
Version: 1.0
Authentication: API Key (X-API-KEYheader)
Overview
The StarData Developer API allows third-party developers and resellers to programmatically access VTU (Virtual Top-Up) services including:
- Airtime top-up for all major Nigerian networks
- Data bundle purchases
- Cable TV (DSTV, GOTV, StarTimes) subscriptions
- Electricity token (prepaid meter) vending
- Internet subscriptions
- Education scratch card pins (WAEC, NECO, JAMB, etc.)
Developers enjoy dedicated API pricing which is separate from consumer and agent pricing, giving you room to set your own margins when reselling.
Getting Started
Step 1: Create an Account & Fund Your Wallet
Register on the StarData platform and fund your wallet. Your wallet balance is the source of funds for all API transactions.
Wallet Funding Details → GET /funding-details/
Step 2: Upgrade to Developer
Send a POST request to /upgrade/ while authenticated. A one-time upgrade fee may be charged from your wallet.
On success, an API key is provisioned for you:
- Live Key (
ak_live_...) — real transactions
Step 3: Retrieve Your API Keys
HTTP
GET /profile/
X-API-KEY: ak_live_...Step 4: Start Making Purchases
HTTP
POST /purchase/
X-API-KEY: ak_live_...
Content-Type: application/json
{
"service_type": "data",
"beneficiary": "08012345678",
"plan_id": 42,
"amount": 500
}