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

# List market assets

> List assets supported by the maker with optional filters and pagination. This endpoint is safe to poll and cache.



## OpenAPI

````yaml /openapi.json get /api/v1/market/assets
openapi: 3.1.0
info:
  title: Kaleidoswap RGB-LSP API
  summary: Public KaleidoSwap Maker API contract
  description: >-
    Public Maker API for KaleidoSwap market data, quotes, atomic swaps, and RGB
    LSPS1

    channel operations.


    Maker endpoints support Bearer API-key authentication. During rollout,

    deployments may accept anonymous requests while attribution is collected;
    once

    API-key enforcement is enabled, requests without a valid `kld_...` key
    return

    `401`.


    Use the per-order `access_token` returned by LSPS1 channel-order creation
    when

    polling protected order status endpoints or submitting a rate decision after
    the

    maker requests client confirmation.
  version: 0.2.0
  termsOfService: https://kaleidoswap.com/terms
  contact:
    name: Kaleidoswap Team
    email: info@kaleidoswap.com
    url: https://kaleidoswap.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  x-support:
    email: contact@kaleidoswap.com
    documentation: https://docs.kaleidoswap.com/api-reference/introduction
  x-build-info:
    version: archive/settlement-backends-pre-removal-7-gb8788aa2
    commit: b8788aa257ea4a01ac0dffc1826cf3bcf1caf09f
    buildDate: '2026-08-05T09:57:35.455127+00:00'
servers:
  - url: http://localhost:8000
    description: Local development
security: []
tags:
  - name: lsps1
    description: >-
      RGB LSPS1 liquidity endpoints for capability discovery, channel-order
      creation, fee estimation, order tracking, rate decisions, and asset
      delivery retries.
  - name: market
    description: >-
      Public market discovery APIs for assets, trading pairs, routes, and
      RFQ-based quote requests.
  - name: swaps
    description: >-
      Atomic swap APIs used by direct RLN integrations to initialize, execute,
      and track swaps.
paths:
  /api/v1/market/assets:
    get:
      tags:
        - market
      summary: List market assets
      description: >-
        List assets supported by the maker with optional filters and pagination.
        This endpoint is safe to poll and cache.
      operationId: getMarketAssets
      parameters:
        - name: asset_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by asset UUID (e.g., 'rgb:2dkSTbr-...')
            title: Asset Id
          description: Filter by asset UUID (e.g., 'rgb:2dkSTbr-...')
        - name: ticker
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by ticker (e.g., 'BTC', 'USDT')
            title: Ticker
          description: Filter by ticker (e.g., 'BTC', 'USDT')
        - name: layer
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by layer (e.g., 'BTC_LN', 'RGB_L1')
            title: Layer
          description: Filter by layer (e.g., 'BTC_LN', 'RGB_L1')
        - name: network
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by network (e.g., 'LN', 'L1')
            title: Network
          description: Filter by network (e.g., 'LN', 'L1')
        - name: protocol
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by protocol (e.g., 'BTC', 'RGB')
            title: Protocol
          description: Filter by protocol (e.g., 'BTC', 'RGB')
        - name: is_active
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            description: Filter by active status
            title: Is Active
          description: Filter by active status
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Items per page (max 100)
            default: 50
            title: Limit
          description: Items per page (max 100)
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Offset for pagination
            default: 0
            title: Offset
          description: Offset for pagination
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetsResponse'
        '400':
          description: One of the supplied filters is invalid.
          content:
            application/json:
              example:
                error_code: VALIDATION_ERROR
                message: >-
                  Invalid layer: BTC_FAKE. Valid layers: BTC_LN, BTC_L1, RGB_LN,
                  RGB_L1, etc.
                details: {}
                request_id: req_01HV8Q9X7G0Q7Y3Z
              schema:
                $ref: '#/components/schemas/KaleidoErrorResponse'
        '401':
          description: Missing or invalid Bearer API key.
          content:
            application/json:
              example:
                error: missing_api_key
              schema:
                $ref: '#/components/schemas/ApiKeyAuthErrorResponse'
        '404':
          description: The requested asset could not be found.
          content:
            application/json:
              example:
                error_code: ASSET_NOT_FOUND
                message: 'Asset not found: BTCX'
                details: {}
                request_id: req_01HV8Q9X7G0Q7Y3Z
              schema:
                $ref: '#/components/schemas/KaleidoErrorResponse'
        '422':
          description: Request validation failed before reaching application logic.
          content:
            application/json:
              example:
                detail:
                  - loc:
                      - body
                      - rfq_id
                    msg: Field required
                    type: missing
              schema:
                $ref: '#/components/schemas/FastAPIValidationErrorResponse'
        '429':
          description: Too many requests. Respect the rate-limit headers before retrying.
          content:
            application/json:
              example:
                error_code: RATE_LIMIT_EXCEEDED
                message: Too many requests
                details:
                  retry_after: 60
                request_id: req_01HV8Q9X7G0Q7Y3Z
              schema:
                $ref: '#/components/schemas/KaleidoErrorResponse'
        '500':
          description: Unhandled server error.
          content:
            application/json:
              example:
                error_code: INTERNAL_ERROR
                message: Internal Server Error
                details: {}
                request_id: req_01HV8Q9X7G0Q7Y3Z
              schema:
                $ref: '#/components/schemas/KaleidoErrorResponse'
      security:
        - KaleidoApiKey: []
components:
  schemas:
    AssetsResponse:
      properties:
        assets:
          items:
            $ref: '#/components/schemas/AssetResponseModel'
          type: array
          title: Assets
        network:
          type: string
          title: Network
          default: regtest
        total:
          type: integer
          title: Total
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
        timestamp:
          anyOf:
            - type: integer
            - type: 'null'
          title: Timestamp
      type: object
      required:
        - assets
        - total
        - limit
        - offset
      title: AssetsResponse
      description: Response model for asset listing endpoints with pagination support.
    KaleidoErrorResponse:
      properties:
        error_code:
          type: string
          title: Error Code
          description: Stable machine-readable application error code
          examples:
            - PAIR_NOT_FOUND
        message:
          type: string
          title: Message
          description: Human-readable error message
          examples:
            - 'Trading pair not found: BTC/USDT'
        details:
          additionalProperties: true
          type: object
          title: Details
          description: Optional structured error details
        request_id:
          type: string
          title: Request Id
          description: Request correlation identifier for support and debugging
          examples:
            - req_01HV8Q9X7G0Q7Y3Z
      type: object
      required:
        - error_code
        - message
        - request_id
      title: KaleidoErrorResponse
    ApiKeyAuthErrorResponse:
      properties:
        error:
          type: string
          title: Error
          description: API-key authentication error code
          examples:
            - missing_api_key
            - invalid_api_key
      type: object
      required:
        - error
      title: ApiKeyAuthErrorResponse
    FastAPIValidationErrorResponse:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationErrorDetail'
          type: array
          title: Detail
      type: object
      required:
        - detail
      title: FastAPIValidationErrorResponse
    AssetResponseModel:
      properties:
        ticker:
          type: string
          title: Ticker
        asset_id:
          type: string
          title: Asset Id
        name:
          type: string
          title: Name
        precision:
          type: integer
          title: Precision
        protocol_ids:
          additionalProperties:
            type: string
          type: object
          title: Protocol Ids
        media:
          anyOf:
            - $ref: '#/components/schemas/Media'
            - type: 'null'
        issued_supply:
          anyOf:
            - type: integer
            - type: 'null'
          title: Issued Supply
        timestamp:
          anyOf:
            - type: integer
            - type: 'null'
          title: Timestamp
        endpoints:
          items:
            $ref: '#/components/schemas/TradingLimits'
          type: array
          title: Endpoints
        is_active:
          type: boolean
          title: Is Active
          default: true
        added_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Added At
        supported_layers:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Supported Layers
      type: object
      required:
        - ticker
        - asset_id
        - name
        - precision
        - protocol_ids
      title: AssetResponseModel
      description: API response model for assets.
    ValidationErrorDetail:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Loc
          description: Location of the validation failure
          examples:
            - - body
              - rfq_id
        msg:
          type: string
          title: Msg
          description: Validation error message
          examples:
            - Field required
        type:
          type: string
          title: Type
          description: FastAPI/Pydantic validation error type
          examples:
            - missing
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationErrorDetail
    Media:
      properties:
        file_path:
          type: string
          title: File Path
          examples:
            - /path/to/media
        digest:
          type: string
          title: Digest
          examples:
            - 5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03
        mime:
          type: string
          title: Mime
          examples:
            - text/plain
      type: object
      required:
        - file_path
        - digest
        - mime
      title: Media
    TradingLimits:
      properties:
        layer:
          type: string
          description: Settlement layer (e.g., 'BTC_LN', 'RGB_LN')
        min_amount:
          type: integer
          format: int64
          title: Min Amount
          description: Minimum amount for trading (in smallest unit)
        max_amount:
          type: integer
          format: int64
          title: Max Amount
          description: Maximum amount for trading (in smallest unit)
        is_active:
          type: boolean
          title: Is Active
          description: Whether this layer is active for trading
          default: true
      type: object
      required:
        - layer
        - min_amount
        - max_amount
      title: TradingLimits
      description: >-
        Trading limits for a layer.


        Combines a Layer (protocol/network) with min/max amount limits for
        trading.
  securitySchemes:
    KaleidoApiKey:
      type: http
      scheme: bearer
      bearerFormat: Kaleido API key
      description: Pass a Kaleido API key such as `kld_live_c_...`.

````