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

# Smart Money Summary

> Yes/No smart-money summary of currently-held positions for a single market.



## OpenAPI

````yaml /openapi.json post /api/v1/smart-money/summary
openapi: 3.0.3
info:
  title: DataDash Analytics API
  version: 1.0.0
servers: []
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /api/v1/smart-money/summary:
    post:
      tags:
        - Smart Money
      summary: Smart Money Summary
      description: >-
        Yes/No smart-money summary of currently-held positions for a single
        market.
      operationId: listSmartMoneySummary
      requestBody:
        content:
          application/json:
            schema:
              properties:
                filter:
                  $ref: '#/components/schemas/SmartMoneySummaryFilter'
                orderBy:
                  description: >-
                    Sort keys in priority order; the first is the primary sort.
                    Defaults to the table's configured ranking when omitted.
                  items:
                    properties:
                      direction:
                        default: asc
                        enum:
                          - asc
                          - desc
                        type: string
                      field:
                        enum:
                          - yesValue
                          - yesPrice
                          - yesWallets
                          - noValue
                          - noPrice
                          - noWallets
                          - smartPct
                          - marketPct
                        type: string
                    required:
                      - field
                    type: object
                  type: array
                page:
                  $ref: '#/components/schemas/PageInput'
              required:
                - page
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SmartMoneySummaryRow'
                type: array
          description: List of Smart Money Summary rows
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            invalid request (malformed body, unknown field, or failed
            validation)
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: missing or invalid credentials
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: credentials lack access to this resource
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: internal error
components:
  schemas:
    SmartMoneySummaryFilter:
      description: Filters to apply, combined with AND. Use a group for OR.
      items:
        $ref: '#/components/schemas/SmartMoneySummaryFilterNode'
      minItems: 1
      type: array
    PageInput:
      properties:
        limit:
          minimum: 1
          type: integer
        offset:
          minimum: 0
          type: integer
      required:
        - limit
      type: object
    SmartMoneySummaryRow:
      properties:
        marketPct:
          description: >-
            The market's live Yes probability, the Yes token price normalized by
            the Yes + No token prices (the bar's marker)
          format: double
          title: Market Odds
          type: number
        noPrice:
          description: >-
            Share-weighted average entry price of the No shares still held, buy
            cost divided by shares (the strip's red avg)
          format: double
          title: No Price
          type: number
        noValue:
          description: >-
            Current USD value of the No-side shares still held on the market
            (position_id even)
          format: double
          title: No Value
          type: number
        noWallets:
          description: Number of distinct wallets holding No-side shares on the market
          format: int64
          title: No Wallets
          type: integer
        smartPct:
          description: >-
            The bar percentage, Yes value as a share of the market's total held
            value; compare against Market Odds (the marker). 0 when the market
            holds no value.
          format: double
          title: Smart Money Odds
          type: number
        yesPrice:
          description: >-
            Share-weighted average entry price of the Yes shares still held, buy
            cost divided by shares, not the live price (the strip's green avg)
          format: double
          title: Yes Price
          type: number
        yesValue:
          description: >-
            Current USD value of the Yes-side shares still held on the market
            (position_id odd)
          format: double
          title: Yes Value
          type: number
        yesWallets:
          description: Number of distinct wallets holding Yes-side shares on the market
          format: int64
          title: Yes Wallets
          type: integer
      type: object
    Error:
      properties:
        code:
          description: machine-readable error code
          type: string
        message:
          description: human-readable description
          type: string
      required:
        - code
        - message
      type: object
    SmartMoneySummaryFilterNode:
      description: A single condition, or a group combining conditions with AND/OR.
      oneOf:
        - $ref: '#/components/schemas/SmartMoneySummaryCondition'
        - $ref: '#/components/schemas/SmartMoneySummaryFilterGroup'
    SmartMoneySummaryCondition:
      description: >-
        A single field condition. in/notIn take an array of values;
        matches/notMatches take one search term.
      oneOf:
        - $ref: '#/components/schemas/SmartMoneySummaryNumericCondition'
        - $ref: '#/components/schemas/SmartMoneySummaryIdCondition'
        - $ref: '#/components/schemas/SmartMoneySummaryBooleanCondition'
    SmartMoneySummaryFilterGroup:
      description: >-
        A group of conditions and nested groups, combined with the group's
        operator.
      properties:
        filters:
          items:
            oneOf:
              - $ref: '#/components/schemas/SmartMoneySummaryCondition'
              - $ref: '#/components/schemas/SmartMoneySummaryFilterInnerGroup'
          minItems: 1
          type: array
        operator:
          enum:
            - AND
            - OR
          type: string
      required:
        - operator
        - filters
      type: object
    SmartMoneySummaryNumericCondition:
      properties:
        field:
          enum:
            - userRank
          type: string
        operator:
          enum:
            - eq
            - neq
            - lt
            - lte
            - gt
            - gte
          type: string
        value:
          oneOf:
            - format: double
              type: number
            - items:
                format: double
                type: number
              minItems: 1
              type: array
      required:
        - field
        - operator
        - value
      type: object
    SmartMoneySummaryIdCondition:
      properties:
        field:
          enum:
            - marketId
          type: string
        operator:
          enum:
            - in
            - notIn
          type: string
        value:
          oneOf:
            - format: int32
              type: integer
            - items:
                format: int32
                type: integer
              minItems: 1
              type: array
      required:
        - field
        - operator
        - value
      type: object
    SmartMoneySummaryBooleanCondition:
      properties:
        field:
          enum:
            - inSignals
          type: string
        operator:
          enum:
            - eq
          type: string
        value:
          type: boolean
      required:
        - field
        - operator
        - value
      type: object
    SmartMoneySummaryFilterInnerGroup:
      description: >-
        A nested group. Its members must be conditions, which bounds grouping at
        two levels.
      properties:
        filters:
          items:
            $ref: '#/components/schemas/SmartMoneySummaryCondition'
          minItems: 1
          type: array
        operator:
          enum:
            - AND
            - OR
          type: string
      required:
        - operator
        - filters
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: API key issued for programmatic access.
      in: header
      name: X-Api-Key
      type: apiKey
    BearerAuth:
      bearerFormat: JWT
      description: User access token.
      scheme: bearer
      type: http

````