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

# Get services

> Returns all service categories.



## OpenAPI

````yaml api-reference/openapi.json GET /api/v1/services
openapi: 3.1.0
info:
  title: Dancity API
  description: >-
    Paths below match the server base URL + global prefix `api`. Merchant:
    `Authorization: Bearer dcy_live_...` and `channel: API`. App: JWT. See
    Guides for flows.
  version: 1.0.0
servers:
  - url: https://api.dancity.app
    description: Production
  - url: http://localhost:6565
    description: Local development
security: []
tags:
  - name: VAS
    description: >-
      Merchant API (`/api/v1`): catalog GETs (wallet, services, products, plans)
      and purchase routes; `channel: API` on POST buys; app education & betting
      where listed
  - name: Products & services
    description: 'Catalog GETs: all services; products and plans with optional query filters'
  - name: Wallet
    description: Get wallet by id (JWT)
  - name: Transactions
    description: Fetch your transactions and requery one by id for current status
  - name: Betting
    description: Betting funding
  - name: Education
    description: Education pins
  - name: eSIM
    description: eSIM catalog and purchase
  - name: Webhook
    description: Outbound events Dancity POSTs to your configured HTTPS URL
paths:
  /api/v1/services:
    get:
      tags:
        - Products & services
      summary: Get services
      description: Returns all service categories.
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                message: SUCCESS
                allServices:
                  - _id: 66d1ccc630a43475d74bde4d
                    name: DATA
                  - _id: 66e0c7670f79621083603b24
                    name: EXAM PIN
                  - _id: 66e303049b161ae6c74fa0a3
                    name: BILL
                  - _id: 66e9735fe61416ed74c118b2
                    name: INTERNET
                  - _id: 6835949ef33a409a9996b667
                    name: VIRTUAL CARD
                  - _id: 68d8462d3d56536a80047a69
                    name: Betting
                  - _id: 690b4284cf429961e4641223
                    name: AIRTIME
                  - _id: 69c27af6acd6c0eddbb5ce39
                    name: eSIM
                  - _id: 69e88decc1df22abb3e80558
                    name: Cable
                  - _id: 69e88e02c1df22abb3e805c6
                    name: Electricity
        '401':
          description: Unauthorized
          content:
            application/json:
              example:
                success: false
                message: Invalid API key or IP not allowlisted
                statusCode: 401
        '500':
          description: Internal server error
          content:
            application/json:
              example:
                success: false
                message: Sorry, something went wrong. Please try again later
                statusCode: 500
      security:
        - DancityApiKey: []
components:
  securitySchemes:
    DancityApiKey:
      type: http
      scheme: bearer
      bearerFormat: dcy_live_...
      description: Merchant API key from the Dancity dashboard.

````

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