Fetch data bundles

This endpoint allows you to fetch all data bundles

get
Fetch data bundles

https://sagecloud.ng/api/v2/internet/data/lookup
This endpoint allows you to fetch data bundles for a data provider
Request
Response
Request
Headers
Authentication
required
string
Check the Headers page.
Query Parameters
provider
required
string
The network provider
Response
200: OK
This is a sample response for AIRTEL.
{
"success": true,
"data": {
"status": 1,
"error": false,
"data": [
{
"type": "AIRTELDATA",
"code": "002",
"description": "40MB 1Day",
"amount": "50",
"price": "50",
"value": "40MB",
"duration": "1Day"
},
{
"type": "AIRTELDATA",
"code": "003",
"description": "200MB 3Days",
"amount": "200",
"price": "200",
"value": "200MB",
"duration": "3Days"
},
{
"type": "AIRTELDATA",
"code": "004",
"description": "350MB 7Days",
"amount": "300",
"price": "300",
"value": "350MB",
"duration": "7Days"
},
...
],
"date": "2020-11-23T14:45:40.606853Z",
"message": "Data lookup successful"
}

‚Äč