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

# Wallet scored orders for a UTC day (public)

> Unauthenticated scored-order list for a maker. Optional
`market_id` / `epoch`. `epoch` defaults to the current UTC day
(`latest` is not accepted). No Privy token.




## OpenAPI

````yaml /data-api-reference/openapi.yaml get /public/liquidity-rewards/wallets/{walletAddress}/orders
openapi: 3.0.3
info:
  title: XO Data API
  description: >
    Public HTTP routes for **market discovery, portfolio reads, and related

    metadata**, served by the NestJS
    [`xo-backend`](https://github.com/xo-market/xo)

    service on the app host (`https://api-mainnet.xo.market`).


    These endpoints are intentionally separate from the CLOB orderbook REST

    surface (`openapi.yaml`). Use them to:

      * list markets and apply filters (status, category, scope, search),
      * resolve a market by numeric id, by `conditionId`/wrapper address, or
        by slug,
      * list short-horizon **Pulse** markets (e.g. BTC 5-minute windows) and
        fetch a single pulse market by on-chain address,
      * read a user's public portfolio via `GET /users/portfolio`, and
      * read **liquidity rewards** (public discovery plus Privy-authenticated
        `/me` routes).

    Real-time portfolio snapshots are delivered over the unauthenticated

    Socket.IO namespace `/portfolio-public`. See the

    [Portfolio WebSocket](/data-api-reference/portfolio-websocket) guide.


    All paths use the service `/api` global prefix. In non-production

    deployments, the full generated Swagger document is available at

    `/swagger` on the same host.


    ### Rate limits


    Data API REST routes share a budget of **100 requests per 10 seconds**

    per client IP. `/public/liquidity-rewards/*` is throttled separately

    at **30 requests per 10 seconds**.


    ### Wire conventions

      * Pagination is page-based: `page` (1-indexed) and `take` (or `limit`
        for the Pulse routes). Liquidity-rewards proxied pages use 0-indexed
        `page` and `page_size`.
      * Numeric ids are integers; `conditionId` values are `0x`-prefixed
        32-byte hex strings. Use `conditionId` as `marketId` on
        liquidity-rewards routes.
      * Volume strings are decimal (USD) or WEI-encoded (token), depending
        on the field name (`totalVolumeInUSD` vs `totalVolume`).
      * Liquidity-rewards amounts and scores are decimal **strings**.
        Catalogue/summary BFFs are camelCase; proxied maker/market-day
        payloads are snake_case.
      * Authenticated `/liquidity-rewards/*` routes require
        `Authorization: Bearer <privy_access_token>`. The
        `/public/liquidity-rewards/*` prefix does not.

    ### Market scope for market makers


    The `/markets` endpoint accepts a `marketScope` query parameter that

    maps to the on-chain `IXOMarketV1.MarketType` enum

    (`STANDARD=0`, `PULSE=1`, `CLOB=2`, `CLOB_PULSE=3`). Market makers

    integrating against the XO CLOB **should only use**:

      * `onlyClob` — `CLOB` + `CLOB_PULSE` (orderbook markets, both
        long-form and pulse).
      * `onlyClobPulse` — `CLOB_PULSE` only (BTC 5-minute pulse).

    The remaining scopes (`default`, `withClob`, `withPulse`, `onlyPulse`)

    include `STANDARD` and/or `PULSE` markets, which are **LMSR AMM**

    deployments and are not tradable through the CLOB orderbook. Ignore

    those scopes (and rows where `market.type` is `0` or `1`) for MM use.
  version: 1.0.0
  contact:
    name: XO Market
    url: https://beta.xo.market
servers:
  - url: https://api-mainnet.xo.market/api
    description: Production xo-backend (XO mainnet, chainId 3223)
security: []
tags:
  - name: Markets
    description: Market list, filtering, and per-market metadata.
  - name: Pulse Markets
    description: Short-horizon (e.g. BTC 5-minute) Pulse markets.
  - name: Portfolio
    description: Unauthenticated public portfolio reads.
  - name: Liquidity Rewards (public)
    description: |
      Unauthenticated liquidity-rewards reads under
      `/public/liquidity-rewards`. No Privy token.
  - name: Liquidity Rewards (authenticated)
    description: |
      Privy-gated liquidity-rewards reads under `/liquidity-rewards`.
      Send `Authorization: Bearer <privy_access_token>`.
externalDocs:
  description: Data API overview
  url: /data-api-reference/introduction
paths:
  /public/liquidity-rewards/wallets/{walletAddress}/orders:
    get:
      tags:
        - Liquidity Rewards (public)
      summary: Wallet scored orders for a UTC day (public)
      description: |
        Unauthenticated scored-order list for a maker. Optional
        `market_id` / `epoch`. `epoch` defaults to the current UTC day
        (`latest` is not accepted). No Privy token.
      parameters:
        - $ref: '#/components/parameters/LrWalletAddress'
        - in: query
          name: market_id
          required: false
          schema:
            type: string
          description: Condition id. Omit to return every market for the day.
        - $ref: '#/components/parameters/LrEpochQuery'
        - $ref: '#/components/parameters/LrPage0'
        - $ref: '#/components/parameters/LrPageSize'
      responses:
        '200':
          description: Paginated scored orders.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LiquidityRewardsMakerOrders'
        '400':
          description: Invalid wallet or query
        '429':
          description: Too Many Requests
components:
  parameters:
    LrWalletAddress:
      in: path
      name: walletAddress
      required: true
      schema:
        type: string
        pattern: ^0x[a-fA-F0-9]{40}$
      description: Maker wallet (`0x`-prefixed 40-hex). Any case is accepted.
      example: '0x3202b94b4d90A2F5Cc1750334e177FF7Ef95560F'
    LrEpochQuery:
      in: query
      name: epoch
      required: false
      schema:
        type: integer
        minimum: 0
        maximum: 10000000
      description: |
        UTC-day index. Omit to let upstream choose the current (open) day.
    LrPage0:
      in: query
      name: page
      required: false
      schema:
        type: integer
        minimum: 0
        maximum: 1000000
        default: 0
      description: 0-indexed page for liquidity-rewards proxied lists.
    LrPageSize:
      in: query
      name: page_size
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 1000
        default: 100
      description: Page size for liquidity-rewards proxied lists.
  schemas:
    LiquidityRewardsMakerOrders:
      type: object
      description: One maker's scored orders for one UTC day (snake_case).
      properties:
        maker:
          type: string
        flagged:
          type: boolean
        market_id:
          type: string
          nullable: true
        epoch:
          type: integer
        day_open_ms:
          type: integer
        day_close_ms:
          type: integer
        projected:
          type: boolean
        projected_through_ms:
          type: integer
          nullable: true
        page:
          type: integer
        page_size:
          type: integer
        total:
          type: integer
        truncated_orders:
          type: integer
        orders:
          type: array
          items:
            $ref: '#/components/schemas/LiquidityRewardsMakerOrderLine'
        user:
          $ref: '#/components/schemas/LiquidityRewardsUser'
    LiquidityRewardsMakerOrderLine:
      type: object
      properties:
        market_id:
          type: string
        order_id:
          type: string
        outcome:
          type: string
        side:
          type: string
        price_tick:
          type: integer
        score:
          type: string
        maker_score_share:
          type: string
        payouts:
          type: array
          items:
            $ref: '#/components/schemas/LiquidityRewardsAmount'
        projected:
          type: boolean
        eligible_ms:
          type: integer
        first_seen_ms:
          type: integer
        last_seen_ms:
          type: integer
        created_at_ms:
          type: integer
        opening_size_micro:
          type: string
        closing_size_micro:
          type: string
        exit_kind:
          type: string
          nullable: true
          enum:
            - filled
            - cancelled
    LiquidityRewardsUser:
      type: object
      nullable: true
      description: XO profile when the wallet maps to a user; otherwise null.
      properties:
        id:
          type: integer
          example: 123
        username:
          type: string
          example: xouser1000
        name:
          type: string
          nullable: true
        profilePictureUrl:
          type: string
          nullable: true
        roosterColor:
          type: string
          nullable: true
        verified:
          type: boolean
        achievements:
          type: array
          items:
            type: string
        cpPoints:
          type: integer
        tier:
          type: string
          example: Believer
    LiquidityRewardsAmount:
      type: object
      required:
        - amount
        - currency
      properties:
        amount:
          type: string
          example: '12.50'
          description: Decimal string. Do not parse as a JSON number.
        currency:
          type: string
          enum:
            - CP
            - USDC

````