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

# List assets



## OpenAPI

````yaml /stocks/api-reference/openapi.json get /assets
openapi: 3.1.0
info:
  contact:
    email: support@daya.co
    name: API Support
  description: >-
    Public developer API for the Stocks by Daya product. X-API-Key
    authenticated. Market data, portfolio, balances, activity, order placement,
    and fiat withdrawals. All responses use the standard envelope: { success,
    message?, data?, error?, timestamp }.
  title: Daya Stocks Public API
  version: 1.0.0
servers:
  - url: https://api.daya.co/stocks/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /assets:
    get:
      tags:
        - stocks-market-data
      summary: List assets
      operationId: getAssets
      parameters:
        - description: Search term matched against symbol or name
          in: query
          name: q
          schema:
            type: string
        - description: Filter by category (ignored when q or sort is set)
          in: query
          name: category
          schema:
            type: string
        - description: 'Ranking: popular|trending|top_performing'
          in: query
          name: sort
          schema:
            type: string
        - description: Max rows for a ranked sort (max 50)
          in: query
          name: limit
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                allOf:
                  - $ref: >-
                      #/components/schemas/github_com_dayacoins_daya-stocks-service_pkg_response.Envelope
                  - properties:
                      data:
                        $ref: >-
                          #/components/schemas/internal_publicapi_v1.PublicCatalog
                    type: object
          description: Asset catalog
        '400':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-stocks-service_pkg_response.Envelope
          description: Invalid sort or category
        '500':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-stocks-service_pkg_response.Envelope
          description: Failed to load catalog
components:
  schemas:
    github_com_dayacoins_daya-stocks-service_pkg_response.Envelope:
      properties:
        data: {}
        error:
          $ref: >-
            #/components/schemas/github_com_dayacoins_daya-stocks-service_pkg_response.ErrorData
        message:
          description: Message is an optional banner/toast string.
          type: string
        success:
          type: boolean
        timestamp:
          type: string
      type: object
    internal_publicapi_v1.PublicCatalog:
      properties:
        assets:
          items:
            $ref: '#/components/schemas/internal_publicapi_v1.PublicAsset'
          type: array
      type: object
    github_com_dayacoins_daya-stocks-service_pkg_response.ErrorData:
      properties:
        code:
          type: string
        details: {}
        fields:
          additionalProperties:
            type: string
          type: object
        message:
          type: string
      type: object
    internal_publicapi_v1.PublicAsset:
      properties:
        category:
          enum:
            - stock
            - etf
            - metal
            - pre_ipo
          example: stock
          type: string
        change_24h_pct:
          example: '1.25'
          type: string
        change_24h_usd:
          example: '2.34'
          type: string
        customer_risk_level:
          example: low
          type: string
        is_market_open:
          example: true
          type: boolean
        is_new:
          example: false
          type: boolean
        is_off_hours_eligible:
          example: true
          type: boolean
        is_off_hours_open:
          example: false
          type: boolean
        logo_url:
          example: https://cdn.daya.co/logos/aapl.png
          type: string
        market_status:
          enum:
            - open
            - regular
            - premarket
            - postmarket
            - overnight
            - closed
            - paused
            - off_hours
          example: open
          type: string
        max_order_usd:
          example: '50000.00'
          type: string
        min_order_usd:
          example: '1.00'
          type: string
        name:
          example: Apple Inc.
          type: string
        next_close_at:
          example: '2026-01-15T21:00:00Z'
          type: string
        next_open_at:
          example: '2026-01-16T14:30:00Z'
          type: string
        price_precision:
          example: 2
          type: integer
        price_usd:
          example: '189.50'
          type: string
        status:
          enum:
            - enabled
            - disabled
            - paused
            - closing_only
            - unavailable
            - migrated
            - delisted
          example: enabled
          type: string
        subtitle:
          example: Technology
          type: string
        symbol:
          example: AAPL
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: >-
        Your Daya API key, sent in the X-API-Key header. Issue and scope keys in
        the Daya dashboard.
      in: header
      name: X-API-Key
      type: apiKey

````