> For the complete documentation index, see [llms.txt](https://capitalsage.gitbook.io/sagecloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://capitalsage.gitbook.io/sagecloud/data/data-lookup.md).

# Fetch data bundles

## Fetch data bundles

<mark style="color:blue;">`GET`</mark> `https://sagecloud.ng/api/v2/internet/data/lookup`

This endpoint allows you to fetch data bundles for a data provider

#### Query Parameters

| Name     | Type   | Description          |
| -------- | ------ | -------------------- |
| provider | string | The network provider |

#### Headers

| Name           | Type   | Description             |
| -------------- | ------ | ----------------------- |
| Authentication | string | Check the Headers page. |

{% tabs %}
{% tab title="200 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"
}
```

{% endtab %}
{% endtabs %}
