Fast And Cheapest MTN SME Data API Documentation for Developers ( GLO CG API & AIRTEL CG API)

API Integration

Our HTTPS GET API is very easy to integrate. With the help of our super free fast and cheapest MTN Nigeria SME DATA API , GLO CG DATA & AIRTEL CG DATA Reseller API documentation below, you can safely write your codes, believing that it will work and it will work as long as it’s about our simple yet robust API. Webhook and Requery available
Apply for API ACCESS

API BASE URL

The Live API BASE URL: https://smedata.ng/wp-json/api/v1/

Authentication

The API uses Basic Authentication. You need to always pass your token as part of the URL parameters.

Request Methods

All requests methods are GET.

Response

All responses from the API are returned in the JSON format.

Available Products and Services on the  API include:

MTN SME DATA API, GLO CG DATA API, AIRTEL CG DATA API

How to Purchase Data (MTN, GLO, AIRTEL) via HTTP API

Data Endpoint URL: https://smedata.ng/wp-json/api/v1/data

Request Method: GET

Parameters

Field NameExample ValueDescription
token9d4f89904352767e2f980705Unique API Token generated in the Reseller Dashboard
phone07045461790The phone number that will receive the airtime
networkmtnThe network is used to make each network unique. They include mtn, glo, airtel. Notice that they are all in small letters.
size1GBThe available data size on the platform

MTN DATA

500MB = MTN Data 500MB (SME) – 30 Days
1GB = MTN Data 1GB (SME) – 30 Days
2GB = MTN Data 2GB (SME) – 30 Days
3GB = MTN Data 3GB (SME) – 30 Days
5GB = MTN Data 5GB (SME) – 30 Days
10GB = MTN Data 10GB (SME) – 30 Days

GLO  CG DATA

500MB = GLO Data 500MB (SME) – 30 Days
1GB = GLO Data 1GB (SME) – 30 Days
2GB = GLO Data 2GB (SME) – 30 Days
3GB = GLO Data 3GB (SME) – 30 Days
5GB = GLO Data 5GB (SME) – 30 Days
10GB = GLO Data 10GB (SME) – 30 Days

AIRTEL  CG DATA

500MB = AIRTEL Data 500MB (SME) – 30 Days
1GB = AIRTEL Data 1GB (SME) – 30 Days
2GB = AIRTEL Data 2GB (SME) – 30 Days
5GB = AIRTEL Data 5GB (SME) – 30 Days
10GB = AIRTEL Data 10GB (SME) – 30 Days
15GB = AIRTEL Data 15GB (SME) – 30 Days
15GB = AIRTEL Data 20GB (SME) – 30 Days

 

Example [Purchasing Data]

https://smedata.ng/wp-json/api/v1/data?token=9d4f89904352767e2f980705&network=MTN&phone=08056708975&size=1GB

Sample Response on Success

{"code":"success","message":"Data successfully delivered","data":{"network":"mtn","data_plan":"1gb","phone":"08056708975","amount":"NGN245","order_id":236}}

Sample Response on Failure

{"code":"failure","message":"Insufficient Balance"}

Webhook Samples

SUCCESS

{"code":"success","message":"Order delivered for 08056708975","data":{"product":"CHEAP MTN 500MB DATA PLAN","phone":"08056708975","amount":"NGN170","order_id":670290}}

FAILED

{"code":"failure","message":"Order refunded for 08056708975","data":{"product":"CHEAP MTN 1GB DATA PLAN","phone":"08056708975","amount":"NGN290","order_id":670285}}

 

Requery Sample Request

https://smedata.ng/wp-json/api/v1/requery?token=9d4f89904352767e2f980705&orderid=670299

Requery Sample Response

FAILED

{"code":"failure","message":"Order refunded for 07056708975","data":{"product":"CHEAP MTN 500MB DATA PLAN","phone":"07056708975","amount":"NGN170","order_id":"670299"}}

PROCESSING

{"code":"processing","message":"Order processing for 08056708975","data":{"product":"CHEAP MTN 500MB DATA PLAN","phone":"08056708975","amount":"NGN170","order_id":"670302"}}

SUCCESS

{"code":"success","message":"Order delivered for 08056708975","data":{"product":"CHEAP MTN 500MB DATA PLAN","phone":"08056708975","amount":"NGN170","order_id":"670302"}}