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

# Get asset classes in use

> Returns the asset classes at least one open market currently belongs to, sorted alphabetically. A category is absent when no open market carries it, so the list is safe to render as the option set for the `categories` filter on the arbitrage scanner.



## OpenAPI

````yaml https://vooi-api-app.fly.dev/swagger/json get /exchange/markets/categories
openapi: 3.1.0
info:
  title: VOOI API
  description: Unified perps API
  version: '1.0'
  contact: {}
servers:
  - url: https://perps-api.vooi.io
security: []
tags: []
paths:
  /exchange/markets/categories:
    get:
      tags:
        - Exchange
      summary: Get asset classes in use
      description: >-
        Returns the asset classes at least one open market currently belongs to,
        sorted alphabetically. A category is absent when no open market carries
        it, so the list is safe to render as the option set for the `categories`
        filter on the arbitrage scanner.
      operationId: ExchangeController_getMarketCategories
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarketCategoriesDto'
        '503':
          description: ExchangeApiError
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDTO'
components:
  schemas:
    GetMarketCategoriesDto:
      type: object
      properties:
        categories:
          type: array
          items:
            type: string
            enum:
              - commodities
              - crypto
              - etf-index
              - forex
              - pre-ipo
              - stocks-asia
              - stocks-us
            description: Asset class of the market
          description: >-
            Asset classes at least one open market currently belongs to, sorted
            alphabetically. Use them as the option list for the `categories`
            filter on the arbitrage scanner.
      required:
        - categories
      title: GetMarketCategories
    ErrorResponseDTO:
      type: object
      properties:
        message:
          type: string
          example: 'Invalid order id: 123'
        statusCode:
          example: 503
          type: number
      required:
        - message
      title: ErrorResponse

````

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