> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datashop.africa/llms.txt
> Use this file to discover all available pages before exploring further.

# List providers

> List providers available for a selected service.

After a service is selected, request its providers to build the next step in checkout. For example, `service=tv` may return DSTV, GOTV, and Startimes. `service=data` may return MTN, Airtel, Glo, and 9mobile.

## Parameters

<ParamField query="service" type="string" required>
  Service returned by List services, such as `data`, `airtime`, `electricity`, or `tv`.
</ParamField>

## Request

```http theme={null}
GET /api/v2/get-providers?service=tv
Authorization: Bearer YOUR_API_KEY
```

## Successful response

```json theme={null}
{
  "status": true,
  "message": "Providers fetched successfully.",
  "data": ["DSTV", "GOTV", "Startimes"]
}
```

## Failed response

```json theme={null}
{
  "status": false,
  "message": "Error message"
}
```
