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

# Holder Count

> Exact holders per outcome, and unique holders across outcomes (a wallet holding both sides counts once). Cheap: use it for badges.



## OpenAPI

````yaml /openapi.json get /v1/markets/{conditionId}/holder-count
openapi: 3.1.0
info:
  title: Codex API
  version: 1.0.0
  description: >-
    Nomos's Polymarket index, rebuilt from Polygon: holders, positions, PnL,
    trades, leaderboards and live fills.
servers:
  - url: https://codex-api.nomos.trade
security:
  - bearerAuth: []
tags:
  - name: Markets
  - name: Wallets
  - name: Leaderboard
  - name: Events
  - name: Fills
  - name: Crypto Strikes
  - name: Health
paths:
  /v1/markets/{conditionId}/holder-count:
    get:
      tags:
        - Markets
      summary: Holder Count
      description: >-
        Exact holders per outcome, and unique holders across outcomes (a wallet
        holding both sides counts once). Cheap: use it for badges.
      operationId: holder-count
      parameters:
        - name: conditionId
          in: path
          required: true
          description: 'The market: 0x and 64 hex.'
          schema:
            type: string
            pattern: ^0x[0-9a-fA-F]{64}$
          example: '0x8db33416a2d1ebde7438c80129e898f89a5deb3852ca64b37c4bf46513204409'
      responses:
        '200':
          description: OK
          headers:
            x-ratelimit-limit:
              description: Your rate, requests a minute.
              schema:
                type: integer
            x-ratelimit-remaining:
              description: Requests left in your bucket.
              schema:
                type: integer
          content:
            application/json:
              schema:
                type: object
                properties:
                  conditionId:
                    type: string
                    description: 'Condition id: 0x and 64 hex, lowercase.'
                  block:
                    type: integer
                    description: The finalized block the answer reflects.
                  exact:
                    type: boolean
                    description: Always true.
                  unique:
                    type: integer
                    description: Distinct wallets holding any outcome.
                  perToken:
                    type: array
                    items:
                      type: object
                      properties:
                        outcomeIndex:
                          type: integer
                          description: ''
                        tokenId:
                          type: string
                          description: ''
                        count:
                          type: integer
                          description: ''
              example:
                conditionId: >-
                  0x8db33416a2d1ebde7438c80129e898f89a5deb3852ca64b37c4bf46513204409
                block: 94812402
                exact: true
                unique: 3911
                perToken:
                  - outcomeIndex: 0
                    tokenId: >-
                      85254962656314962064648492774584063365849461315753521676016468731069088672
                    count: 1843
                  - outcomeIndex: 1
                    tokenId: >-
                      62331129939054715776656174958711147816331430749148481920944611984618598825251
                    count: 2210
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                e0:
                  summary: market not indexed
                  value:
                    error: market not indexed
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    Unauthorized:
      description: No key, or an unknown or revoked one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: unknown or revoked API key
    RateLimited:
      description: >-
        Over your rate, or more than 4 requests (2 streams) at once. Wait
        `Retry-After` seconds.
      headers:
        retry-after:
          description: Seconds to wait.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: 'rate limit: 600 requests a minute; retry in 1 s'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: What went wrong, for a person to read.
      description: Every error answer.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key: `codex_` and 48 hex characters.'

````

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