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

# Get Asset Category

> Asset categories used to group the catalogue (for example DeFi, Layer 1, Stablecoins).

Listing always starts with a synthetic "All Assets" entry, followed by
the configured categories. Each category reports how many visible,
tradeable assets it contains.



## OpenAPI

````yaml /openapi.json get /api/public/broker/assets/categories/{slug}/
openapi: 3.0.3
info:
  title: Digital Surge API
  version: '2.0'
  description: >-
    Digital Surge is an Australian cryptocurrency exchange. This API provides
    programmatic access to your account: live AUD pricing for hundreds of
    assets, instant swaps, recurring buys, price triggers, portfolio balances,
    transaction history, and crypto withdrawals.


    **Authentication** — create an API key in the Digital Surge app under
    *Account Settings → API Keys* and send it with every request:
    `Authorization: Bearer <your-api-key>`. Read-only and read & write keys are
    available.


    **Guides and interactive documentation** — https://digitalsurge.com.au/docs


    **AI agents** — connect via the Digital Surge MCP server:
    https://mcp.digitalsurge.com.au/mcp
servers:
  - url: https://app.digitalsurge.com.au
    description: Production
security: []
tags:
  - name: Public
    description: Unauthenticated endpoints — market data, asset info, pricing
  - name: Private
    description: Authenticated endpoints — trading, portfolio, account management
paths:
  /api/public/broker/assets/categories/{slug}/:
    get:
      tags:
        - Public
      summary: Get Asset Category
      description: >-
        Asset categories used to group the catalogue (for example DeFi, Layer 1,
        Stablecoins).


        Listing always starts with a synthetic "All Assets" entry, followed by

        the configured categories. Each category reports how many visible,

        tradeable assets it contains.
      operationId: public_broker_assets_categories_retrieve
      parameters:
        - in: path
          name: slug
          schema:
            type: string
          description: A unique value identifying this Virtual Asset Category.
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualAssetCategory'
          description: ''
      security: []
components:
  schemas:
    VirtualAssetCategory:
      type: object
      properties:
        slug:
          type: string
          maxLength: 32
          pattern: ^[-a-zA-Z0-9_]+$
        name:
          type: string
          maxLength: 50
        description:
          type: string
          maxLength: 255
        asset_count:
          type: integer
        rank:
          type: integer
          maximum: 2147483647
          minimum: 0
      required:
        - asset_count
        - name
        - slug

````