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

# Get UMA Market

> Get current UMA oracle status and event timeline for a market

Returns the current UMA oracle status for a (non-sports) market plus its event timeline. Set `events_limit=0` if you only want the status header.


## OpenAPI

````yaml GET /v2/polymarket/uma/market/{condition_id}
openapi: 3.1.0
info:
  title: Predexon API
  description: Prediction market data aggregation and matching API
  version: 2.0.0
servers:
  - url: https://api.predexon.com
security:
  - apiKey: []
paths:
  /v2/polymarket/uma/market/{condition_id}:
    get:
      tags:
        - polymarket
      summary: Get Uma Market
      description: >-
        Return the current UMA oracle status for a market plus its event
        timeline.


        Set `events_limit=0` if you only want the status header.
      operationId: get_uma_market_v2_polymarket_uma_market__condition_id__get
      parameters:
        - name: condition_id
          in: path
          required: true
          schema:
            type: string
            description: Polymarket condition ID (bytes32 hex)
            title: Condition Id
          description: Polymarket condition ID (bytes32 hex)
        - name: events_limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 500
            minimum: 0
            description: Max events to return (0 to skip)
            default: 100
            title: Events Limit
          description: Max events to return (0 to skip)
        - name: events_pagination_key
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Cursor for next event page
            title: Events Pagination Key
          description: Cursor for next event page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UmaMarketDetailResponse'
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UmaMarketDetailResponse:
      properties:
        condition_id:
          type: string
          title: Condition Id
        question:
          $ref: '#/components/schemas/UmaQuestionStatus'
        events:
          items:
            $ref: '#/components/schemas/UmaEvent'
          type: array
          title: Events
        events_pagination:
          $ref: '#/components/schemas/CursorPagination'
      type: object
      required:
        - condition_id
        - question
        - events_pagination
      title: UmaMarketDetailResponse
      description: 'Single-market response: current status + event history.'
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UmaQuestionStatus:
      properties:
        id:
          type: string
          title: Id
          description: Question ID (bytes32 hex)
        adapter:
          type: string
          title: Adapter
          description: Source adapter contract address
        condition_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Condition Id
        market_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Market Id
          description: Polymarket market ID (decimal string)
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        state:
          $ref: '#/components/schemas/UmaQuestionState'
        is_paused:
          type: boolean
          title: Is Paused
          default: false
        is_flagged:
          type: boolean
          title: Is Flagged
          default: false
        resolved_price:
          anyOf:
            - type: string
            - type: 'null'
          title: Resolved Price
          description: UMA payout numerator (1e18-scaled, string)
        resolved_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Resolved At
        paused_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Paused At
        flagged_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Flagged At
        last_event_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Last Event At
        last_tx_hash:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Tx Hash
        reset_count:
          type: integer
          title: Reset Count
          default: 0
        reward:
          type: string
          title: Reward
          description: Proposer reward (1e18-scaled, string)
        proposal_bond:
          type: string
          title: Proposal Bond
          description: Proposal bond (1e18-scaled, string)
        reward_token:
          type: string
          title: Reward Token
        request_timestamp:
          type: integer
          title: Request Timestamp
        creator:
          type: string
          title: Creator
        created_block:
          type: integer
          title: Created Block
        created_tx_hash:
          type: string
          title: Created Tx Hash
      type: object
      required:
        - id
        - adapter
        - state
        - reward
        - proposal_bond
        - reward_token
        - request_timestamp
        - creator
        - created_block
        - created_tx_hash
      title: UmaQuestionStatus
      description: UMA question status (regular non-sports markets).
    UmaEvent:
      properties:
        id:
          type: string
          title: Id
        event_type:
          type: string
          title: Event Type
        source_contract:
          type: string
          title: Source Contract
        block_number:
          type: integer
          title: Block Number
        block_timestamp:
          type: integer
          title: Block Timestamp
        log_index:
          type: integer
          title: Log Index
        tx_hash:
          type: string
          title: Tx Hash
        question_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Question Id
        game_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Game Id
        sports_market_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Sports Market Id
        condition_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Condition Id
        requester:
          anyOf:
            - type: string
            - type: 'null'
          title: Requester
        proposer:
          anyOf:
            - type: string
            - type: 'null'
          title: Proposer
        disputer:
          anyOf:
            - type: string
            - type: 'null'
          title: Disputer
        proposed_price:
          anyOf:
            - type: string
            - type: 'null'
          title: Proposed Price
        settled_price:
          anyOf:
            - type: string
            - type: 'null'
          title: Settled Price
        payout:
          anyOf:
            - type: string
            - type: 'null'
          title: Payout
        expiration_time:
          anyOf:
            - type: integer
            - type: 'null'
          title: Expiration Time
        payouts:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Payouts
        home_score:
          anyOf:
            - type: integer
            - type: 'null'
          title: Home Score
        away_score:
          anyOf:
            - type: integer
            - type: 'null'
          title: Away Score
        bond_amount:
          anyOf:
            - type: string
            - type: 'null'
          title: Bond Amount
        liveness_amount:
          anyOf:
            - type: integer
            - type: 'null'
          title: Liveness Amount
        ancillary_data:
          anyOf:
            - type: string
            - type: 'null'
          title: Ancillary Data
      type: object
      required:
        - id
        - event_type
        - source_contract
        - block_number
        - block_timestamp
        - log_index
        - tx_hash
      title: UmaEvent
      description: Single UMA event row from uma_event_by_market.
    CursorPagination:
      properties:
        limit:
          type: integer
          title: Limit
          description: Requested limit
        count:
          type: integer
          title: Count
          description: Number of items in current response
        pagination_key:
          anyOf:
            - type: string
            - type: 'null'
          title: Pagination Key
          description: Base64-encoded cursor for next page
        has_more:
          type: boolean
          title: Has More
          description: Whether there are more items available
      type: object
      required:
        - limit
        - count
        - has_more
      title: CursorPagination
      description: Cursor-based pagination for endpoints that don't support offset.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    UmaQuestionState:
      type: string
      enum:
        - pending
        - proposed
        - disputed
        - reset
        - resolved
      title: UmaQuestionState
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````