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

# Get Providers by Category

> Filter active biller providers by category identifier (e.g. 1 for Electricity, 2 for Airtime, 3 for Data).

Retrieve all billers and utility distribution companies operating under a specific category identifier.

### Path Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `categoryId` | `integer` | **Yes** | The unique numerical category ID (e.g. `1` for Electricity). |

### Example Response for Electricity (`categoryId: 1`)

```json theme={null}
{
  "message": "successful",
  "status": "00",
  "data": {
    "totalPage": 1,
    "totalContent": 14,
    "items": [
      {
        "code": "aedc",
        "name": "Abuja Electricity Distribution Company",
        "description": "AEDC Prepaid and Postpaid"
      },
      {
        "code": "ekedc",
        "name": "Eko Electricity Distribution Company",
        "description": "EKEDC Prepaid and Postpaid"
      },
      {
        "code": "ikedc",
        "name": "Ikeja Electricity Distribution Company",
        "description": "IKEDC Prepaid and Postpaid"
      }
    ]
  }
}
```


## OpenAPI

````yaml remita_openapi.json GET /vending/providers/category/{categoryId}
openapi: 3.0.3
info:
  title: Remita (SystemSpecs) VAS & Collection API
  description: >-
    Interactive API specification for Remita / SystemSpecs Connect Gateway VAS
    Vending, Utilities, and RRR Biller Collections.
  version: 1.0.0
servers:
  - url: https://api-demo.systemspecsng.com/services/connect-gateway/api/v1
    description: Sandbox / Demo Environment (UAT)
  - url: https://api-gateway.remita.net/api/v1
    description: Production Live Environment
security:
  - SecretKey: []
paths:
  /vending/providers/category/{categoryId}:
    get:
      summary: Get Providers by Category
      description: >-
        Retrieve all providers belonging to a specific category (e.g., 1 for
        Electricity).
      operationId: getProvidersByCategory
      parameters:
        - name: categoryId
          in: path
          required: true
          schema:
            type: integer
            default: 1
          example: 1
      responses:
        '200':
          description: Filtered list of providers
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: '00'
                  message:
                    type: string
                    example: Success
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 101
                        name:
                          type: string
                          example: Abuja Electricity (AEDC)
                        code:
                          type: string
                          example: AEDC
                        categoryId:
                          type: integer
                          example: 1
              example:
                status: '00'
                message: Success
                data:
                  - id: 101
                    name: Abuja Electricity (AEDC)
                    code: AEDC
                    categoryId: 1
                  - id: 102
                    name: Ikeja Electric (IKEDC)
                    code: IKEDC
                    categoryId: 1
components:
  securitySchemes:
    SecretKey:
      type: apiKey
      in: header
      name: secretKey
      description: SystemSpecs Demo / Live Secret Key
      x-default: sk_test_l/pQgOLgziOTzb+7pcUXVH2iX1MlpROsePDkNi/g/QmMs2c8P0DPr1vUP7xESiGG

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.