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

# Game holders

> Get the S, A, and B wallets holding up to 25 markets of one game, in the order you request them.

Use this endpoint to read the graded holders of several markets of one game in one request, for example every spread and total line. Take the `condition_id` values from [List game markets](https://docs.0xinsider.com/api-reference/endpoint/list-game-markets.md), and check each result's `status`, because individual markets can fail.

Each `ok` result is what [Market holders](https://docs.0xinsider.com/api-reference/endpoint/get-market-holders.md) returns for that market with no `outcome` or `min_grade` filter, cut to `limit`. To read the next page of one market, or to filter by side or grade, call Market holders with its `condition_id`.

## Parameters

| Parameter | Description |
| - | - |
| `event_slug` | Required. The game's event slug, for example `nba-bos-orl-2026-11-01`. Matching is case-insensitive. |
| `condition_ids` | Required. 1 to 25 market ids, comma-separated or repeated: Polymarket's `condition_id` or the `mkt_` form. Duplicates are allowed, and each one gets its own result row. |
| `limit` | Optional. How many holders to return per market, from 1 to 100. The default is 20, and a value outside the range is clamped. |

An empty list or more than 25 ids fails the whole request with `400` before any market is read. A slug with no stored market is a `404`, as on List game markets.

## Key response fields

| Field | Meaning |
| - | - |
| `data[].index` | Where this market sat in `condition_ids`, counting from 0. |
| `data[].input` | The id exactly as you sent it. |
| `data[].status` | `ok`, with `data`, or `error`, with `error.code`, `error.message`, and `error.param`. |
| `data[].data` | The market's holders: `data` (the holder rows), `has_more`, `total`, `market`, `scan`, `totals`, `computed_at`, and `cached`. Each field means what it means on [Market holders](https://docs.0xinsider.com/api-reference/endpoint/get-market-holders.md). |
| `data[].error.code` | `not_found` when the market is not one of this game's markets, `bad_request` when an id is malformed, `rate_limit_unavailable` with `error.reason` `read_model_warming` when the market's holder list was not ready in time, and `rate_limited` with `error.reason` `cold_read_limited` when the market needed a fresh Polymarket scan over your account's share. The HTTP response remains `200` in each case. |
| `meta.request_cost` | The batch item units charged: 1 for every id you sent, duplicates and bad ids included. |
| `meta.rate_limit` | Your remaining batch item budget: `basis`, `limit`, `remaining`, and `reset`. |

## Markets that are not ready

A market whose holder list is not cached needs a Polymarket scan, and the request waits for it only briefly. A scan still running when the request answers comes back as that market's `read_model_warming` error with a retry time. The scan keeps running, so the same request after that time reads it. Uncached markets count against the same scan share as [Market holders](https://docs.0xinsider.com/api-reference/endpoint/get-market-holders.md#uncached-markets).

## Item budget

This route spends from the batch item budget that the batch routes share: 2,500 units a minute per account on Pro, or 5,000 on Max, alongside the request allowance. Going over returns `429` with a `Retry-After` before any market is read.

## Example

```bash theme={null}
curl -sS \
  -H "Authorization: Bearer $OXINSIDER_API_KEY" \
  'https://api.0xinsider.com/api/v1/games/nba-bos-orl-2026-11-01/holders?condition_ids=0x123...,0x456...&limit=10'
```

The `get_game_holders` MCP tool and the SDK's `getGameHolders` method call this endpoint.

## What it does not return

* Holders of a market from another game. Its row is `not_found`.
* An `ETag`. This route has no conditional read.
* More than `limit` holders per market. Page past it with Market holders.


## OpenAPI

````yaml GET /api/v1/games/{event_slug}/holders
openapi: 3.1.0
info:
  x-generated-rate-limit-policy-from: web/src/lib/rate-limit-facts.ts via web/scripts/generate-api-policy.ts
  title: 0xinsider API
  description: >-
    Follow provider-exposed large-trade activity on Polymarket sports and
    esports markets. The API serves sports and esports markets only: a market,
    event or trade outside them answers 404 not_found with
    error.reason=market_out_of_scope, which is terminal, so do not retry it, and
    a category outside them answers 400 bad_request with error.param=category,
    except on GET /api/v1/edge-hunter, where in every view a category that maps
    to no sport answers an empty result whose selection.category is non_sport.
    Polymarket wallet-attributed trades can add grades, P&L, strategy, and
    diagnostic-score context when sufficient source data exists. Fields can be
    null or unavailable. Normal API requests use a 30-second server timeout that
    returns HTTP 408 Request Timeout with the standard error envelope
    (error.code request_timeout) when exceeded. Every /api/v1 failure answers
    that envelope, including a body that is not JSON or does not fit the request
    schema (400 invalid_body), a query or path value that does not parse (400
    invalid_query, invalid_path), a missing Content-Type: application/json (415
    unsupported_media_type), a body over 1048576 bytes (413 payload_too_large)
    and a method the path does not serve (405 method_not_allowed), each with
    error.param naming the field where one is known and meta.request_id equal to
    X-Request-Id. Unknown query names are ignored by default and reported in
    X-Query-Ignored, while X-Effective-Query lists the normalized names and
    values applied using form-urlencoded decoding, where + is a space; strict
    mode returns 400 bad_request with error.reason unknown_query_parameter
    before the handler runs, including for an unknown name with an incomplete
    percent escape. Every list operation clamps an out-of-range limit into its
    published minimum..maximum instead of refusing it (limit=0 reads one row,
    limit=500 reads the maximum), and X-Effective-Query reports the clamped
    value; only a limit that is not an integer is refused, with 400
    invalid_query. Public REST /api/v1/* endpoints, excluding /api/v1/mcp, use
    Bearer-token based non-credentialed browser CORS: any Origin may call with
    Authorization, Content-Type, If-None-Match, Idempotency-Key, Mcp-Session-Id,
    Mcp-Protocol-Version, Mcp-Method, Mcp-Name, Last-Event-Id, and
    X-Query-Validation request headers. X-Query-Validation: strict opts into
    rejecting unknown query names; the default remains compatible. Remote MCP at
    /api/v1/mcp is non-credentialed, but still validates Origin against the
    0xinsider/localhost allowlist per MCP Streamable HTTP DNS-rebinding
    guidance. Successful browser CORS preflight responses advertise
    Access-Control-Max-Age: 86400. Browser JavaScript may read RateLimit-Limit,
    RateLimit-Remaining, RateLimit-Reset, X-RateLimit-Limit,
    X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After, ETag, X-Request-Id,
    X-Request-Cost, X-Usage-Accounting, X-Batch-RateLimit-Limit,
    X-Batch-RateLimit-Remaining, X-Batch-RateLimit-Reset, X-Monthly-Quota-Limit,
    X-Monthly-Quota-Remaining, X-Monthly-Quota-Reset, X-Query-Ignored,
    X-Effective-Query, Deprecation, Sunset, Link, and Server-Timing response
    headers. Rate-limit headers describe the budget a request was counted
    against: the API key's per-minute window, at its plan's limit, on an
    authenticated call, and the per-IP budget on a public route or on a refused
    credential (401, 402, 403, 423), so a client looping on a bad or lapsed key
    still sees how much room it has. Conditional GET: these operations return a
    weak ETag and answer If-None-Match with 304 Not Modified and an empty body:
    GET /api/v1/health, GET /api/v1/insider-radar, GET
    /api/v1/insider-radar/{id}, GET /api/v1/large-positions, GET
    /api/v1/leaderboard, GET /api/v1/leaderboard/trending, GET
    /api/v1/market/{condition_id}/candles, GET
    /api/v1/market/{condition_id}/flow, GET /api/v1/market/{condition_id}/intel,
    GET /api/v1/market/{condition_id}/snapshot, GET /api/v1/markets/explore, GET
    /api/v1/markets/sharp-money-flows, GET /api/v1/markets/smart-money-flows,
    GET /api/v1/pick-of-the-day, GET /api/v1/pick-of-the-day/archive, GET
    /api/v1/positions, GET /api/v1/trader/{address}, GET
    /api/v1/trader/{address}/context, GET /api/v1/trader/{address}/pnl, GET
    /api/v1/trader/{address}/position-timeline, GET
    /api/v1/traders/{trader}/position-timeline, GET /api/v1/large-trades, GET
    /api/v1/large-trades/history, GET /api/v1/large-trades/{id}, GET
    /api/v1/whale-trades, GET /api/v1/whale-trades/history, GET
    /api/v1/whale-trades/{id}, GET
    /api/v1/whale-trades/{id}/counterparties/executions, GET
    /api/v1/whale-trades/{id}/counterparties/executions/{execution_id}/makers.
    Credentialed first-party routes such as /api/keys, /api/billing, and auth
    endpoints remain restricted to configured 0xinsider origins. Protected V1
    responses, except the zero-cost /api/v1/usage route, after handler execution
    carry X-Usage-Accounting: persisted, failed, or unknown. This reports the
    usage-record write; it does not change the handler result. Do not replay a
    successful mutation to repair an unknown usage record. Before execution,
    unavailable accounting capacity returns HTTP 503 with
    error.reason=request_accounting_unavailable; honor Retry-After. Public API
    responses add the browser-readable Server-Timing header: Processing time in
    milliseconds, for example api;dur=12.345. Includes API authentication, quota
    admission, handler work and response construction. Excludes network transit
    and streamed body or export-file transfer. The engineering budget is
    strictly below 250 ms; this header reports observations, not a latency
    guarantee or a new timeout. Requests through https://0xinsider.com/api/*
    append Server-Timing: web_api;dur=<milliseconds> and X-Web-Request-Id for
    that web origin handler. The web clock includes upstream waiting and
    existing body construction, so do not add it to api;dur. It excludes
    platform routing, cold module initialization, CDN hits and later stream/file
    transfer. On a cache hit these headers describe the earlier origin fill, not
    the current request; static Markdown API routes have no fresh web clock. GET
    /api/v1/edge-hunter supports conditional reads only with view=signals or
    view=observations; view=board does not emit ETag or return 304.
  version: 1.0.0
  contact:
    name: 0xinsider
    email: support@0xinsider.com
    url: https://0xinsider.com
servers:
  - url: https://api.0xinsider.com
    description: >-
      Production (live data). Authenticate with a live key (oxi_sk_live_...);
      requires an active Pro subscription. A sandbox key (oxi_sk_test_...) is
      answered with 401 invalid_api_key and error.reason sandbox_api_key.
  - url: https://0xinsider.com/sandbox
    description: >-
      Sandbox. No credential required and no production data: every documented
      operation answers with its documented example or a deterministic sample of
      its response schema. GET /api/v1/stream is the one exclusion and answers
      400 there, because a Server-Sent Events stream is a live connection rather
      than a body. Add ?sandbox_status=<code> to receive one of the error
      responses the operation documents (for example 429 with Retry-After).
      Documented query parameters and JSON request bodies are checked against
      this document, the two context.md routes answer 200 text/markdown, GET
      /api/v1/trader/{address}/export/download answers its 302 with a Location
      the sandbox serves itself rather than an object store, and nothing is
      stored between requests. A sandbox key (oxi_sk_test_..., issued with no
      account by POST https://api.0xinsider.com/api/v1/agents/register) is
      optional: on an operation that requires a credential, a well-formed key is
      answered with X-Oxi-Sandbox-Key: valid and a malformed one with 401
      invalid_api_key.
security:
  - bearerAuth: []
  - oauth2:
      - read
tags:
  - name: Traders
    description: Traders, batch lookups, timelines, and export readiness.
  - name: Positions
    description: Current prediction-market position snapshots from backend-owned mirrors.
  - name: Large Positions
    description: Largest current open positions from graded traders (Polymarket-only).
  - name: Large trades
    description: Recent and historical large trades.
  - name: Leaderboard
    description: Ranked trader discovery and category/strategy leaderboards.
  - name: Pick of the Day
    description: >-
      One sourced sharp-money call a day: the side profitable wallets are
      backing, with pre-game odds, the holders, and the track record.
  - name: Games
    description: >-
      Sports and esports games: both sides, schedules, provider status and the
      Polymarket markets linked to each game.
  - name: Markets
    description: Market search, discovery, snapshots, and sharp-money flow.
  - name: Content
    description: Search across 0xinsider editorial content.
  - name: Suspicious trades
    description: Trades whose recorded suspicion score meets the live flag threshold.
  - name: Insider Radar
    description: >-
      Deprecated spelling of Suspicious trades; both operations stay live as
      aliases until their 2027-02-01 sunset (#29351).
  - name: Events
    description: Durable public event replay streams.
  - name: Streaming
    description: Resumable real-time Server-Sent Events stream of live feed envelopes.
  - name: Webhooks
    description: Signed builder webhook destinations and delivery controls.
  - name: Usage
    description: Developer API budget and usage introspection.
  - name: Onboarding
    description: >-
      Self-serve agent registration: a sandbox key with no account, and the path
      to live access.
  - name: System
    description: Health and operational status checks.
  - name: MCP
    description: Remote Model Context Protocol transport.
  - name: Reports
    description: Daily, weekly, monthly, and trader export report snapshots.
  - name: Account
    description: Identify the account and credential authenticated for a paid API request.
  - name: Combos
    description: Polymarket multi-leg combo fills, details, and live counts.
externalDocs:
  description: 0xinsider API docs
  url: https://docs.0xinsider.com
paths:
  /api/v1/games/{event_slug}/holders:
    get:
      tags:
        - Games
      summary: Get a game's holders
      description: >-
        The S, A and B graded holders of up to 25 markets of one game in one
        call. Each item is GET /api/v1/market/{condition_id}/holders for one
        market, unfiltered and cut to limit, with the same market, scan and
        totals beside it. Pass condition_ids from GET
        /api/v1/games/{event_slug}/markets; a market that is not one of the
        game's is that item's not_found. A batch route: results preserve request
        order, duplicate inputs return duplicate rows, and each requested
        condition_id costs one batch item unit, reserved before any item is
        read. Each market loads its roster as the single-market route does (a
        60-second cache over a complete provider holder scan). The request waits
        at most 150 ms for all of them together: a market whose roster is not
        ready by then is an item error with code rate_limit_unavailable, reason
        read_model_warming and retry_at, and its scan keeps running, so a retry
        after that time reads the cached roster. Page a market past limit on its
        own holders route. Pro and Max.
      operationId: getGameHolders
      parameters:
        - name: X-Query-Validation
          in: header
          required: false
          description: >-
            Opt into strict query-name validation. The default is compatible:
            unknown names are ignored and reported in X-Query-Ignored. With
            strict, an unknown name returns 400 bad_request with error.reason
            unknown_query_parameter before the handler runs, including when its
            percent escape is incomplete.
          schema:
            type: string
            enum:
              - strict
        - name: event_slug
          in: path
          required: true
          description: >-
            The game's event slug from GET /api/v1/games, for example
            nba-bos-orl-2026-11-01. Matched case-insensitively.
          schema:
            type: string
        - name: condition_ids
          in: query
          required: true
          style: form
          explode: false
          description: >-
            1 to 25 condition_id values of this game's markets, comma-separated.
            The key may also repeat (condition_ids=a&condition_ids=b). A raw
            provider condition_id or the mkt_-prefixed market id.
          schema:
            type: array
            minItems: 1
            maxItems: 25
            items:
              type: string
        - name: limit
          in: query
          required: false
          description: Holders per market. Out-of-range values are clamped to 1..100.
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
      responses:
        '200':
          description: Ordered batch results, one per requested condition_id
          headers:
            X-Query-Ignored:
              $ref: '#/components/headers/X-Query-Ignored'
            X-Effective-Query:
              $ref: '#/components/headers/X-Effective-Query'
            X-Request-Cost:
              schema:
                type: integer
              description: Number of batch item units charged for this request.
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-Batch-RateLimit-Limit:
              schema:
                type: integer
              description: Batch item units allowed per minute.
            X-Batch-RateLimit-Remaining:
              schema:
                type: integer
              description: Batch item units remaining in the current sliding window.
            X-Batch-RateLimit-Reset:
              schema:
                type: integer
              description: Unix timestamp when the batch item window resets.
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-Usage-Accounting:
              $ref: '#/components/headers/X-Usage-Accounting'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                type: object
                required:
                  - object
                  - data
                  - meta
                properties:
                  object:
                    type: string
                    const: game_holders_batch
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/BatchGameHoldersItem'
                  meta:
                    $ref: '#/components/schemas/BatchResponseMeta'
              examples:
                success:
                  summary: One ready market and one still warming
                  value:
                    object: game_holders_batch
                    data:
                      - index: 0
                        input: >-
                          0x5e1f0c2a9b7d4e83a6c1f2b09d8e7a6c5b4f3e2d1c0b9a8f7e6d5c4b3a291807
                        status: ok
                        data:
                          data:
                            - id: >-
                                pos_0x4b1c9a2e7d3f5a6b8c0d1e2f3a4b5c6d7e8f9a0b:0x5e1f0c2a9b7d4e83a6c1f2b09d8e7a6c5b4f3e2d1c0b9a8f7e6d5c4b3a291807:0
                              trader_id: trd_0x4b1c9a2e7d3f5a6b8c0d1e2f3a4b5c6d7e8f9a0b
                              address: '0x4b1c9a2e7d3f5a6b8c0d1e2f3a4b5c6d7e8f9a0b'
                              name: courtside
                              side: 'YES'
                              token_id: >-
                                71321045679252212594626385532706912750332728571942532289631379312455583992563
                              grade: S
                              shares: 18250
                              current_value_usd: 9672.5
                              last_traded_at: '2026-11-01T22:41:07Z'
                              category_win_rate_status: measured
                              category_win_rate: 0.6097
                              category_win_record:
                                wins: 214
                                decided: 351
                          has_more: true
                          total: 14
                          market:
                            id: >-
                              mkt_0x5e1f0c2a9b7d4e83a6c1f2b09d8e7a6c5b4f3e2d1c0b9a8f7e6d5c4b3a291807
                            condition_id: >-
                              0x5e1f0c2a9b7d4e83a6c1f2b09d8e7a6c5b4f3e2d1c0b9a8f7e6d5c4b3a291807
                            title: 'Celtics vs. Magic: O/U 219.5'
                            slug: nba-bos-orl-2026-11-01-total-219pt5
                            event_slug: nba-bos-orl-2026-11-01
                            category: Sports
                            outcome_yes: Over
                            outcome_no: Under
                            token_id_yes: >-
                              71321045679252212594626385532706912750332728571942532289631379312455583992563
                            token_id_no: >-
                              52114319501245915516055106046884209969926127482827954674443846427813813222426
                            end_date: '2026-11-02T03:00:00Z'
                            status: open
                          scan:
                            source: cached
                            complete: true
                            fetched_at: '2026-11-01T23:02:11Z'
                            wallet_count: 412
                          totals:
                            graded_count: 14
                            yes_count: 9
                            no_count: 5
                            yes_shares: 61840
                            no_shares: 20115
                            yes_usd: 32775.2
                            no_usd: 9454.05
                            yes_grades:
                              s: 2
                              a: 3
                              b: 4
                            no_grades:
                              s: 0
                              a: 2
                              b: 3
                            yes_grade_usd:
                              s: 14210
                              a: 10380.5
                              b: 8184.7
                            no_grade_usd:
                              s: 0
                              a: 5120.3
                              b: 4333.75
                          computed_at: '2026-11-01T23:02:14Z'
                          cached: true
                      - index: 1
                        input: >-
                          0x9a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c1d0e9f8a7b
                        status: error
                        error:
                          code: rate_limit_unavailable
                          message: This read model is still warming. Retry after 3s.
                          reason: read_model_warming
                          retry_at: '2026-11-01T23:02:20Z'
                          doc_url: >-
                            https://docs.0xinsider.com/api-reference/introduction
                    meta:
                      request_id: req_example
                      cached: false
                      total_items: 2
                      successful_items: 1
                      failed_items: 1
                      request_cost: 2
                      rate_limit:
                        basis: batch_items_per_minute
                        limit: 2500
                        remaining: 2489
                        reset: 1790047440
        '400':
          description: >-
            Bad request. error.param names the parameter: condition_ids missing,
            empty or over 25 items, or a limit that is not an integer.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '402':
          description: >-
            Active Pro subscription required. The key is valid but the account
            has no active Pro subscription; error.reason is
            subscription_inactive and error.message names the reactivation URL
            (https://0xinsider.com/billing). Permanent until a person
            reactivates: no Retry-After, never retry on a schedule.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Account access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: >-
            Not found. error.reason="market_out_of_scope": the event is real but
            outside product scope -- 0xinsider serves sports and esports markets
            only. This is terminal: stop requesting this event. Without
            error.reason, no stored market carries this event_slug. Both carry
            error.code="not_found".
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '408':
          description: >-
            The handler did not answer inside the server's 30-second timeout.
            error.code is request_timeout. On GET and HEAD the response carries
            Retry-After and error.retry_at; on a mutation it carries neither,
            because the request may have completed on the server: check its
            state before repeating it, and reuse its Idempotency-Key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '423':
          description: Account is locked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: >-
            Rate limit exceeded. Three independent budgets. (1) 100
            requests/minute per user on Pro, 200 on Max (sliding window), on
            every authenticated route; RateLimit-Limit reports the caller's. On
            the remote MCP endpoint /api/v1/mcp only tools/call is counted:
            initialize, ping, tools/list, notifications, and the GET, HEAD and
            DELETE the endpoint answers 405 spend no per-minute request, no
            monthly quota and no pay-as-you-go usage, with or without a key. (2)
            On the BATCH routes only: 2500 batch item units/minute per user on
            Pro, 5000 on Max, reserved before any item is executed. A batch with
            N requested items costs N item units, including duplicate and
            invalid items. 2500 = 100 requests x 25 items per batch on Pro, 5000
            = 200 x 25 on Max, which is the most item work a key can buy through
            the request limiter at all: a caller may spend their plan's entire
            request minute on full 25-item batches without the item budget being
            what stops them. The REQUEST budget is the effective ceiling, and
            batching is never the more expensive choice. The item budget can
            still deny at a sliding-window boundary (both counters carry the
            previous window forward with a floor, and the item counter runs 25x
            the request counter), so honor a 429 from either. Over-quota batches
            return 429 with Retry-After plus RateLimit-Limit,
            RateLimit-Remaining, and RateLimit-Reset before any item work is
            done. (3) The monthly quota: Pro includes 500,000 and Max includes
            2,000,000 authenticated requests per UTC calendar month. Over the
            plan's included requests: with pay as you go on, the excess bills at
            USD 0.20 per 1,000 on a monthly invoice, up to four times the
            included allowance (2,000,000 requests for Pro); without it, from
            October 1, 2026, the next request answers 429 rate_limited with
            error.reason monthly_quota_exceeded and a Retry-After to the month's
            reset. Pay-as-you-go accounts receive the same refusal at their
            ceiling. A refused request is not counted. X-Monthly-Quota-Limit,
            X-Monthly-Quota-Remaining, and X-Monthly-Quota-Reset (unix seconds,
            the first of next month) are on every response a route answers for a
            counted request, on the monthly-quota 429, and on GET /api/v1/me and
            GET /api/v1/usage, which read the month without spending it. Any
            other refusal or failure before the route runs, such as a per-minute
            429 or a 401, carries none, nor does a remote MCP message other than
            tools/call. (4) The per-address budget: 1200 requests/minute per IP,
            shared by every caller behind one address and counted before
            authentication, on every route. A 429 from it carries error.reason
            ip_rate_limited and describes that bucket in RateLimit-*; a
            throttled address (sustained over-limit traffic) carries
            error.reason ip_throttled with a Retry-After of minutes to days, and
            a request before it does not shorten the cooldown. Every 429 is the
            standard error envelope with meta.request_id equal to X-Request-Id.
          headers:
            Retry-After:
              description: Seconds until rate limit resets.
              schema:
                type: integer
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-RateLimit-Limit:
              schema:
                type: integer
            X-RateLimit-Remaining:
              schema:
                type: integer
            X-RateLimit-Reset:
              schema:
                type: integer
            X-Request-Id:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Unexpected server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '503':
          description: >-
            Temporarily unavailable. error.reason=database_unavailable means the
            market read could not reach the database; retry after Retry-After.
            The authenticated rate limiter being unavailable answers the same
            status with its own per-process cooldown.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl -sS \
              -H "Authorization: Bearer $OXINSIDER_API_KEY" \
              'https://api.0xinsider.com/api/v1/games/nba-bos-orl-2026-11-01/holders?condition_ids=0x5e1f...,0x9a7b...&limit=10'
components:
  headers:
    X-Query-Ignored:
      description: >-
        Comma-separated, percent-encoded query names the operation did not
        publish and therefore ignored in compatible mode. Names are sorted and
        de-duplicated.
      schema:
        type: string
    X-Effective-Query:
      description: >-
        Normalized, percent-encoded query string containing only the recognized
        names and values applied by the operation. Query names and values use
        form-urlencoded decoding, where + is a space. Repeated names are
        retained and sorted by name. A limit outside the operation's published
        minimum..maximum is reported as the clamped value the page used, so the
        header states the page size served rather than the one requested.
      schema:
        type: string
    RateLimit-Limit:
      description: >-
        Request limit of the budget this request was counted against, for its
        current window: the API key's per-minute sliding window on an
        authenticated call, at its plan's limit (100 requests on Pro, 200 on
        Max); the control-plane bucket GET /api/v1/me and GET /api/v1/usage
        share, the same on every plan, on a 429 from either; and the per-IP
        budget on a public route, on a refused credential (401, 402, 403, 423),
        and on a remote MCP message other than tools/call, none of which reaches
        the per-key limiter. Standard RateLimit header spelling.
      schema:
        type: integer
        example: 100
    RateLimit-Remaining:
      description: >-
        Requests remaining in that budget's current window after this response.
        Standard RateLimit header spelling.
      schema:
        type: integer
        example: 84
    RateLimit-Reset:
      description: >-
        Seconds until that budget's current window resets. Standard RateLimit
        header spelling.
      schema:
        type: integer
        example: 42
    X-RateLimit-Limit:
      description: >-
        Request limit of the budget this request was counted against, for its
        current window: the API key's per-minute sliding window on an
        authenticated call, at its plan's limit (100 requests on Pro, 200 on
        Max); the control-plane bucket GET /api/v1/me and GET /api/v1/usage
        share, the same on every plan, on a 429 from either; and the per-IP
        budget on a public route, on a refused credential (401, 402, 403, 423),
        and on a remote MCP message other than tools/call.
      schema:
        type: integer
        example: 100
    X-RateLimit-Remaining:
      description: Requests remaining in that budget's current window after this response.
      schema:
        type: integer
        example: 84
    X-RateLimit-Reset:
      description: Unix timestamp when that budget's current window resets.
      schema:
        type: integer
        example: 1710772860
    X-Request-Id:
      description: >-
        Server-generated request identifier for support and tracing. On every
        /api/v1 response, including 304, 408, CORS preflights and every error,
        and always equal to meta.request_id in the body. It is the key of the
        request's usage accounting row and of every log line the request
        emitted, so quote either form to support. A client-supplied X-Request-Id
        request header is ignored: the value is never adopted or echoed.
      schema:
        type: string
        example: req_550e8400
    X-Usage-Accounting:
      description: >-
        Usage-record persistence for a protected V1 handler response. persisted:
        confirmed row; failed: write failed; unknown: completion could not be
        confirmed. Independent of handler success; do not replay successful
        mutations to repair accounting. Absent before accounting admission and
        on public routes. The zero-cost /api/v1/usage route also omits it.
      schema:
        type: string
        enum:
          - persisted
          - failed
          - unknown
    Server-Timing:
      description: >-
        Processing time in milliseconds, for example api;dur=12.345. Includes
        API authentication, quota admission, handler work and response
        construction. Excludes network transit and streamed body or export-file
        transfer. The engineering budget is strictly below 250 ms; this header
        reports observations, not a latency guarantee or a new timeout.
      schema:
        type: string
      example: api;dur=12.345
  schemas:
    BatchGameHoldersItem:
      type: object
      required:
        - index
        - input
        - status
      properties:
        index:
          type: integer
          description: >-
            Zero-based request index. Duplicate inputs keep separate result
            rows.
        input:
          type: string
        status:
          type: string
          enum:
            - ok
            - error
        data:
          $ref: '#/components/schemas/GameHoldersItem'
        error:
          $ref: '#/components/schemas/ApiErrorBody'
    BatchResponseMeta:
      type: object
      required:
        - request_id
        - cached
        - total_items
        - successful_items
        - failed_items
        - request_cost
        - rate_limit
      properties:
        request_id:
          type: string
          description: >-
            Unique request ID (req_ prefix). The same value as the X-Request-Id
            response header, the request's usage accounting row and its log
            lines.
        cached:
          type: boolean
        total_items:
          type: integer
        successful_items:
          type: integer
        failed_items:
          type: integer
        request_cost:
          type: integer
          description: Number of batch item units reserved before execution.
        rate_limit:
          $ref: '#/components/schemas/BatchRateLimitMeta'
    ApiError:
      type: object
      required:
        - object
        - error
        - meta
      properties:
        object:
          type: string
          const: error
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: >-
                FROZEN: an existing value never changes meaning. request_timeout
                (408, #16146) was added the way insufficient_scope was: the
                handler did not answer inside the server's 30-second timeout.
                Retry-After and retry_at ride on it only for a safe method (GET,
                HEAD); a timed-out mutation may have completed, so check its
                state and reuse its Idempotency-Key.
              enum:
                - bad_request
                - invalid_api_key
                - subscription_required
                - forbidden
                - insufficient_scope
                - not_found
                - account_locked
                - rate_limited
                - rate_limit_unavailable
                - internal_error
                - request_timeout
                - endpoint_retired
            message:
              type: string
            doc_url:
              type: string
            param:
              type: string
            retry_at:
              type: string
              format: date-time
              description: >-
                The recommended next request instant (RFC3339), always in the
                future. Present on every retryable error: `pick_not_released`,
                `rate_limited`, `rate_limit_unavailable`, and
                `read_model_warming`. Omitted otherwise. The absolute twin of
                `Retry-After`; prefer the header for the sleep duration. For
                `pick_not_released`, the earliest of the next scheduled release,
                the next automatic selector attempt, the operating-window start,
                or about 60 seconds. See that response.
            freshness:
              $ref: '#/components/schemas/FreshnessFailure'
            reason:
              type: string
              enum:
                - cursor_expired
                - unknown_endpoint
                - pick_not_released
                - trader_not_tracked
                - market_out_of_scope
                - read_model_warming
                - database_unavailable
                - request_accounting_unavailable
                - idempotency_in_progress
                - webhook_delivery_in_progress
                - webhook_secret_rotation_not_prepared
                - webhook_secret_rotation_overlap_active
                - sandbox_api_key
                - api_key_in_query
                - subscription_inactive
                - monthly_quota_exceeded
                - invalid_query
                - unknown_query_parameter
                - invalid_path
                - invalid_body
                - unsupported_media_type
                - payload_too_large
                - method_not_allowed
                - ip_rate_limited
                - ip_throttled
                - cold_read_limited
                - export_expired
                - freshness_ceiling_unsatisfied
                - max_plan_required
                - endpoint_retired
              description: >-
                ADDITIVE (#7209). The specific, actionable cause behind `code`,
                when there is one more specific than the code itself. `code`
                keeps its published values, so existing clients are unaffected;
                new clients branch on `reason`. Omitted when the code already
                says everything we know. pick_not_released: no Pick of the Day
                is published for the current product day; schedule one request
                against retry_at instead of polling. unknown_endpoint: the PATH
                is not a route on this API -- read GET /api/v1, do not retry.
                trader_not_tracked: the wallet is real and the URL is right, but
                the trader is not on the warm sync tier (the wallets we sync
                most often) -- stop asking for this wallet. market_out_of_scope
                (404 not_found, #27303): the market or event is real and the URL
                is right, but 0xinsider serves sports and esports markets only
                -- stop asking for this market; neither a retry nor another URL
                for it can succeed. cursor_expired: pagination went stale
                mid-walk -- re-request the first page and continue.
                read_model_warming: the requested endpoint cannot serve its read
                model yet; exact causes are endpoint-specific and can include a
                cold or contended refresh or a dependency that prevented
                refresh. database_unavailable: the API's database or its
                connection pool is temporarily unreachable (a connection-class
                failure, not a query fault); code stays rate_limit_unavailable,
                nothing is rate-limited, retry after Retry-After / retry_at.
                idempotency_in_progress: retain the exact Idempotency-Key and
                request body, then retry shortly. webhook_delivery_in_progress:
                retry the URL or signing-secret configuration change after the
                destination's active request completes.
                request_accounting_unavailable: accounting capacity is
                unavailable before the handler executes; retry after Retry-After
                / retry_at. sandbox_api_key: the credential is a sandbox key
                (oxi_sk_test_) from POST /api/v1/agents/register, which only the
                sandbox server accepts -- call the sandbox base URL with it, or
                get a live key or OAuth access token; do not retry it here.
                api_key_in_query: the key was sent as a ?token= query parameter,
                which no route reads because URLs land in logs and history; the
                key itself was not checked -- resend it as Authorization:
                Bearer. subscription_inactive: the key is valid but the
                account's Pro subscription has lapsed (402
                subscription_required); permanent until a person reactivates at
                https://0xinsider.com/billing, which the message names -- stop
                retrying on a schedule and surface the link. The key owner is
                emailed once per lapse. monthly_quota_exceeded: the account has
                used the requests its plan includes for the UTC calendar month
                (429 rate_limited); retry_at and Retry-After name the first of
                next month, the only retry that can succeed, and the message
                names https://0xinsider.com/developers, where pay as you go for
                requests over the quota is turned on. The X-Monthly-Quota-Limit,
                X-Monthly-Quota-Remaining and X-Monthly-Quota-Reset headers on
                every authenticated response say how close the account is.
                invalid_query, invalid_path, invalid_body (400 bad_request,
                #16146): a query parameter, a path segment or the JSON body did
                not parse or does not fit the route's schema, so no handler ran;
                param names the field when the parser named one (a query key, a
                path segment, a JSON path such as traders[0], or body); fix the
                request, never retry it as sent. unsupported_media_type (415
                bad_request, param content-type): send the body with
                Content-Type: application/json. payload_too_large (413
                bad_request, param body): the body is over 1048576 bytes.
                method_not_allowed (405 bad_request): the path is a route but
                not with this method; the Allow header names the methods it
                serves. ip_rate_limited (429 rate_limited, #16380): the
                per-address budget every caller behind one IP shares, counted
                before authentication, is spent; not the key's own window, and
                the RateLimit-* headers describe that bucket. ip_throttled (429
                rate_limited): the address is in a cooldown after sustained
                over-limit traffic; Retry-After is minutes to days, and a
                request before it does not shorten the cooldown.
                cold_read_limited (429 rate_limited, #28752): the account has
                used its share of cold reads on GET
                /api/v1/market/{condition_id}/holders, requests for a market
                whose roster is not cached, each of which walks Polymarket (6 a
                minute, in bursts of up to 400); not the per-minute window, so a
                cached market still answers, and the next cold read is admitted
                at Retry-After. max_plan_required (403 forbidden, #23085): the
                key is valid and its account is on Pro, but the route is part of
                Max (GET /api/v1/edge-hunter); every Pro route keeps working
                with the same key, so do not disable it. The message names
                https://0xinsider.com/pricing, where the account upgrades; a
                retry never clears it. endpoint_retired (410): this legacy
                sports endpoint no longer serves data. Migrate to GET
                /api/v1/edge-hunter; retrying the retired path cannot succeed.
        meta:
          $ref: '#/components/schemas/ResponseMeta'
    GameHoldersItem:
      type: object
      description: >-
        One market of a game holders batch: GET
        /api/v1/market/{condition_id}/holders unfiltered and cut to the batch
        limit.
      required:
        - data
        - has_more
        - total
        - market
        - scan
        - totals
        - computed_at
        - cached
      properties:
        data:
          type: array
          description: The roster's top holders by current value, at most limit.
          items:
            $ref: '#/components/schemas/MarketHolder'
        has_more:
          type: boolean
          description: >-
            More graded holders than limit: page them on GET
            /api/v1/market/{condition_id}/holders.
        total:
          type: integer
          description: Graded holders in the roster, across every page.
        market:
          $ref: '#/components/schemas/MarketHoldersMarket'
        scan:
          $ref: '#/components/schemas/MarketHoldersScan'
        totals:
          $ref: '#/components/schemas/MarketHoldersTotals'
        computed_at:
          type: string
          format: date-time
          description: >-
            When this roster was computed. A cached roster is at most 60 seconds
            old.
        cached:
          type: boolean
          description: true when the roster came from the 60-second roster cache.
    ApiErrorBody:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: >-
            FROZEN: an existing value never changes meaning. request_timeout
            (408, #16146) was added the way insufficient_scope was: the handler
            did not answer inside the server's 30-second timeout. Retry-After
            and retry_at ride on it only for a safe method (GET, HEAD); a
            timed-out mutation may have completed, so check its state and reuse
            its Idempotency-Key.
          enum:
            - bad_request
            - invalid_api_key
            - subscription_required
            - forbidden
            - insufficient_scope
            - not_found
            - account_locked
            - rate_limited
            - rate_limit_unavailable
            - internal_error
            - request_timeout
            - endpoint_retired
        message:
          type: string
        doc_url:
          type: string
        param:
          type: string
        retry_at:
          type: string
          format: date-time
          description: >-
            The recommended next retry instant (RFC3339). Present on every
            retryable error (reason=pick_not_released, code=rate_limited
            including reason=monthly_quota_exceeded,
            code=rate_limit_unavailable, reason=read_model_warming) and omitted
            otherwise. Always in the future. For pick_not_released, the
            recommendation is advisory and can change before a pick becomes
            available. Schedule the next request from the returned value instead
            of inferring a release schedule or polling. Prefer Retry-After for
            the duration because it is immune to client clock skew.
        freshness:
          $ref: '#/components/schemas/FreshnessFailure'
        reason:
          type: string
          enum:
            - cursor_expired
            - unknown_endpoint
            - pick_not_released
            - trader_not_tracked
            - market_out_of_scope
            - read_model_warming
            - database_unavailable
            - request_accounting_unavailable
            - idempotency_in_progress
            - webhook_delivery_in_progress
            - webhook_secret_rotation_not_prepared
            - webhook_secret_rotation_overlap_active
            - sandbox_api_key
            - api_key_in_query
            - subscription_inactive
            - monthly_quota_exceeded
            - invalid_query
            - unknown_query_parameter
            - invalid_path
            - invalid_body
            - unsupported_media_type
            - payload_too_large
            - method_not_allowed
            - ip_rate_limited
            - ip_throttled
            - cold_read_limited
            - export_expired
            - freshness_ceiling_unsatisfied
            - max_plan_required
            - endpoint_retired
          description: >-
            ADDITIVE (#7209). The specific, actionable cause behind `code`, when
            there is one more specific than the code itself. `code` keeps its
            published values, so existing clients are unaffected; new clients
            branch on `reason`. Omitted when the code already says everything we
            know. pick_not_released: no Pick of the Day is published for the
            current product day; schedule one request against retry_at instead
            of polling. unknown_endpoint: the PATH is not a route on this API --
            read GET /api/v1, do not retry. trader_not_tracked: the wallet is
            real and the URL is right, but the trader is not on the warm sync
            tier (the wallets we sync most often) -- stop asking for this
            wallet. market_out_of_scope (404 not_found, #27303): the market or
            event is real and the URL is right, but 0xinsider serves sports and
            esports markets only -- stop asking for this market; neither a retry
            nor another URL for it can succeed. cursor_expired: pagination went
            stale mid-walk -- re-request the first page and continue.
            read_model_warming: the requested endpoint cannot serve its read
            model yet; exact causes are endpoint-specific and can include a cold
            or contended refresh or a dependency that prevented refresh.
            database_unavailable: the API's database or its connection pool is
            temporarily unreachable (a connection-class failure, not a query
            fault); code stays rate_limit_unavailable, nothing is rate-limited,
            retry after Retry-After / retry_at. idempotency_in_progress: retain
            the exact Idempotency-Key and request body, then retry shortly.
            webhook_delivery_in_progress: retry the URL or signing-secret
            configuration change after the destination's active request
            completes. request_accounting_unavailable: accounting capacity is
            unavailable before the handler executes; retry after Retry-After /
            retry_at. sandbox_api_key: the credential is a sandbox key
            (oxi_sk_test_) from POST /api/v1/agents/register, which only the
            sandbox server accepts -- call the sandbox base URL with it, or get
            a live key or OAuth access token; do not retry it here.
            api_key_in_query: the key was sent as a ?token= query parameter,
            which no route reads because URLs land in logs and history; the key
            itself was not checked -- resend it as Authorization: Bearer.
            subscription_inactive: the key is valid but the account's Pro
            subscription has lapsed (402 subscription_required); permanent until
            a person reactivates at https://0xinsider.com/billing, which the
            message names -- stop retrying on a schedule and surface the link.
            The key owner is emailed once per lapse. monthly_quota_exceeded: the
            account has used the requests its plan includes for the UTC calendar
            month (429 rate_limited); retry_at and Retry-After name the first of
            next month, the only retry that can succeed, and the message names
            https://0xinsider.com/developers, where pay as you go for requests
            over the quota is turned on. The X-Monthly-Quota-Limit,
            X-Monthly-Quota-Remaining and X-Monthly-Quota-Reset headers on every
            authenticated response say how close the account is. invalid_query,
            invalid_path, invalid_body (400 bad_request, #16146): a query
            parameter, a path segment or the JSON body did not parse or does not
            fit the route's schema, so no handler ran; param names the field
            when the parser named one (a query key, a path segment, a JSON path
            such as traders[0], or body); fix the request, never retry it as
            sent. unsupported_media_type (415 bad_request, param content-type):
            send the body with Content-Type: application/json. payload_too_large
            (413 bad_request, param body): the body is over 1048576 bytes.
            method_not_allowed (405 bad_request): the path is a route but not
            with this method; the Allow header names the methods it serves.
            ip_rate_limited (429 rate_limited, #16380): the per-address budget
            every caller behind one IP shares, counted before authentication, is
            spent; not the key's own window, and the RateLimit-* headers
            describe that bucket. ip_throttled (429 rate_limited): the address
            is in a cooldown after sustained over-limit traffic; Retry-After is
            minutes to days, and a request before it does not shorten the
            cooldown. cold_read_limited (429 rate_limited, #28752): the account
            has used its share of cold reads on GET
            /api/v1/market/{condition_id}/holders, requests for a market whose
            roster is not cached, each of which walks Polymarket (6 a minute, in
            bursts of up to 400); not the per-minute window, so a cached market
            still answers, and the next cold read is admitted at Retry-After.
            max_plan_required (403 forbidden, #23085): the key is valid and its
            account is on Pro, but the route is part of Max (GET
            /api/v1/edge-hunter); every Pro route keeps working with the same
            key, so do not disable it. The message names
            https://0xinsider.com/pricing, where the account upgrades; a retry
            never clears it. endpoint_retired (410): this legacy sports endpoint
            no longer serves data. Migrate to GET /api/v1/edge-hunter; retrying
            the retired path cannot succeed.
    BatchRateLimitMeta:
      type: object
      required:
        - basis
        - limit
        - remaining
        - reset
      properties:
        basis:
          type: string
          const: batch_items_per_minute
        limit:
          type: integer
          description: >-
            The batch item budget per minute for the caller's plan: 2500 item
            units on Pro, 5000 on Max. The same number X-Batch-RateLimit-Limit
            reports.
        remaining:
          type: integer
        reset:
          type: integer
          description: Unix timestamp when the batch item window resets.
    FreshnessFailure:
      type: object
      required:
        - max_age_s
        - data_quality_status
      properties:
        max_age_s:
          type: integer
          format: int64
          minimum: 0
          description: The caller's requested whole-response freshness ceiling in seconds.
        actual_age_s:
          type: integer
          format: int64
          minimum: 0
          description: >-
            Age in seconds of the oldest stored data_quality.as_of clock, when
            one is available.
        as_of:
          type: string
          format: date-time
          description: >-
            The oldest stored data-quality clock used to calculate actual_age_s,
            when one is available.
        data_quality_status:
          type: string
          enum:
            - fresh
            - partial
            - unknown
            - untracked
            - unavailable
          description: >-
            The trader body's whole-response data-quality status. Only fresh can
            satisfy max_age_s.
    ResponseMeta:
      type: object
      required:
        - request_id
        - cached
        - cost
      properties:
        request_id:
          type: string
          description: >-
            Unique request ID (req_ prefix). The same value as the X-Request-Id
            response header, the request's usage accounting row and its log
            lines.
        cached:
          type: boolean
        cache_age_s:
          type: integer
          description: >-
            Cache age in seconds. Omitted when the response was not cached, and
            also when it was cached but its age cannot be established (an entry
            stored before its cache carried a computed instant). Never a
            placeholder: an unknown age is reported as no value rather than as
            the cache TTL.
        cost:
          type: integer
          description: >-
            Advisory request weight (relative compute cost). 1 for simple reads;
            higher for heavier endpoints. Not a credit/price.
        ranking_generation:
          type: integer
          description: >-
            Committed PostgreSQL-owned leaderboard generation for the returned
            rows and cursor. Present on GET /api/v1/leaderboard; omitted on
            endpoints that do not read this ranking.
        ranking_as_of:
          type: string
          format: date-time
          description: >-
            Authoritative RFC3339 timestamp from cache_generations.updated_at
            for ranking_generation. It is read in the same repeatable-read
            snapshot as the leaderboard rows and is not request time, cache
            write time, or row insertion order.
        directional_source:
          type: string
          enum:
            - live
            - degraded
          description: >-
            Directional evidence provenance for Edge Hunter signals collections.
            The default board carries this provenance in data.directional_source
            and omits this optional meta field.
        ranking_source:
          type: string
          enum:
            - live
            - db_only
          description: >-
            Ranking evidence provenance for Edge Hunter signals collections. The
            default board carries this clock/provenance in data.ranking_source
            and omits this optional meta field.
        category_skill_source:
          type: string
          enum:
            - live
            - partial
            - degraded
            - unavailable
          description: >-
            Whole filtered snapshot category-evidence status before pagination.
            Operational live always remains partial source coverage.
        category_skill_model_version:
          type: string
        category_skill_taxonomy_version:
          type: string
        category_skill_platform:
          type: string
          const: polymarket
        category_skill_scope:
          type: string
          const: observed_goldsky_primary_taker_fill
        category_skill_source_coverage:
          type: string
          enum:
            - partial_whale_threshold_fills
            - graded_wallet_fills
        category_skill_observation_started_at:
          type: string
          format: date-time
        category_skill_model_operationally_degraded:
          type: boolean
          description: >-
            Whole-model operational readiness captured with the category model
            snapshot. Present on category-enriched responses even when the
            filtered signal list is empty. When true, category_skill_source is
            degraded and Edge Hunter signals uses the shorter degraded cache
            TTL.
        category_skill_status_counts:
          type: object
          required:
            - live
            - insufficient
            - stale
            - unknown
            - degraded
          properties:
            live:
              type: integer
              minimum: 0
            insufficient:
              type: integer
              minimum: 0
            stale:
              type: integer
              minimum: 0
            unknown:
              type: integer
              minimum: 0
            degraded:
              type: integer
              minimum: 0
        category_skill_base_payload_hash:
          type: string
          pattern: ^[0-9a-f]{64}$
          description: >-
            SHA-256 of the funded signal membership/order/rank/cursor vector
            immediately before category-skill enrichment. Edge Hunter signals
            view only.
        category_skill_enriched_base_payload_hash:
          type: string
          pattern: ^[0-9a-f]{64}$
          description: >-
            Independent SHA-256 recomputation over the same base fields
            immediately after category-skill enrichment. Equality with
            category_skill_base_payload_hash proves category-skill enrichment
            did not change funded inputs. Edge Hunter signals view only.
    MarketHolder:
      type: object
      required:
        - id
        - trader_id
        - address
        - name
        - side
        - token_id
        - grade
        - shares
        - current_value_usd
        - last_traded_at
        - category_win_rate_status
      properties:
        id:
          type: string
          description: >-
            Composite `pos_<wallet>:<condition_id>:<outcome_index>`, the same id
            `GET /api/v1/positions` gives this leg.
        trader_id:
          type: string
          description: >-
            `trd_`-prefixed trader id, accepted by `GET
            /api/v1/trader/{address}`.
        address:
          type: string
          description: Lowercased proxy wallet.
        name:
          type:
            - string
            - 'null'
          description: >-
            Polymarket's public display name from the same holder snapshot; null
            for a private wallet, which the provider redacts at the source.
        side:
          type: string
          enum:
            - 'YES'
            - 'NO'
          description: >-
            The outcome this wallet nets to. A wallet holding both outcomes is
            listed once, on its net side; see `other_outcome_shares`.
        token_id:
          type:
            - string
            - 'null'
          description: >-
            Polymarket CLOB token id (ERC1155 asset id, decimal string) for
            `side`; null when the market has no stored token id.
        grade:
          type:
            - string
            - 'null'
          enum:
            - S
            - A
            - B
            - null
          x-narrowed: true
          description: >-
            All-time trader grade. This route lists the S/A/B cohort only, the
            same cohort a Pick of the Day roster lists.
        shares:
          type: number
          description: Shares held on `side`, from the complete provider scan.
        current_value_usd:
          type:
            - number
            - 'null'
          description: >-
            Polymarket's own currentValue for this leg, in USD. Null when the
            snapshot predates the value map.
        other_outcome_shares:
          type: number
          description: >-
            Shares on the other outcome when the wallet holds both. Absent when
            the wallet is one-sided.
        last_traded_at:
          type:
            - string
            - 'null'
          format: date-time
          description: The wallet's last recorded trade anywhere, null when unknown.
        category_win_rate:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            This wallet's win rate in the market's canonical category
            (`market.category`): the share of its settled markets in that
            category (it closed its position by selling out, or the market
            resolved) whose realized P&L closed positive, as a 0..1 fraction.
            Present only with `category_win_rate_status` = `measured`. The same
            read `GET /api/v1/trader/{address}/categories` serves per wallet.
        category_win_record:
          type: object
          required:
            - wins
            - decided
          properties:
            wins:
              type: integer
              minimum: 0
              description: >-
                Settled markets in the category that this wallet closed with a
                profit.
            decided:
              type: integer
              minimum: 0
              description: >-
                Settled markets in the category that this wallet closed with a
                profit or a loss. A market resolved at zero realized P&L is in
                neither count.
          description: >-
            The two counts `category_win_rate` is the ratio of, from the same
            row: `wins / decided` equals the rate. Every settled Polymarket
            market the wallet traded (it closed its position by selling out, or
            the market resolved) in the market's canonical category, at any
            position size, rebuilt daily. Present only with
            `category_win_rate_status` = `measured`.
        category_avg_price:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            The wallet's average entry price in the market's canonical category,
            as a 0..1 fraction of $1 (0.98 is 98 cents). Its sample is the
            wallet's markets in that category that resolved to a winning side,
            of $20 or more where it bought one side at a known price, so it can
            differ from the `category_win_record` sample. A wallet that buys
            near-certain outcomes wins almost every time, so read the win rate
            beside this price. Present only with `category_win_rate_status` =
            `measured`, and only when that sample has at least 5 markets. When
            `category_win_rate_game` is present the price is still the whole
            `category` bucket's: this field has no per-game or per-league price.
            Absent otherwise and on payloads predating the field.
        category_win_rate_game:
          type: string
          description: >-
            Where `category_win_rate` and `category_win_record` were measured:
            for an esports market the game (`LoL`, `CS2`, `Dota 2`, `Valorant`,
            `Call of Duty`, `Honor of Kings`, `Mobile Legends: Bang Bang`,
            `Overwatch`, `Rainbow Six Siege`, `Rocket League` or `StarCraft
            II`), and for a market in a registered league that league, by the
            name Pick of the Day uses for it (`NBA`, `NFL`, `NHL`, `MLB`, `UFC`,
            `ATP`, `WTA`, `LaLiga`, `Premier League`, `Serie A`, `UEFA Champions
            League`, `MLS` and the other registered leagues). Present only when
            the wallet's record there clears the 5-settled-market floor, in
            which case the rate and record are the game's or league's rather
            than the whole `category` bucket's. Absent when the rate is the
            bucket's (the wallet's history there is under the floor, or the
            competition is not a registered league), on every other market, and
            beside every non-measured status. Label the rate with this when
            present and with the market's `category` otherwise.
        category_win_rate_status:
          type: string
          enum:
            - measured
            - not_enough_data
            - unavailable
          description: >-
            Why `category_win_rate` is present or absent: `measured` (rate
            present), `not_enough_data` (under the floor of 5 decided markets in
            the category), or `unavailable` (the market has no canonical
            category, or the read failed; retry later). Always present on this
            route.
        category_evidence:
          $ref: '#/components/schemas/HolderCategoryEvidence'
        wallet_age_days:
          type:
            - number
            - 'null'
          description: >-
            Whole days since this wallet's first trade, rounded down (3.6 days
            reads 3), so it changes once a day, not on every request. The five
            badge fields are present together, only for a wallet that draws at
            least one badge.
        is_new_wallet:
          type: boolean
          description: True when the wallet's first trade was under 30 days ago.
        markets_traded:
          type:
            - integer
            - 'null'
          description: Distinct markets the wallet has traded.
        is_bot:
          type: boolean
          description: True when the wallet is flagged as automated.
        x_username:
          type:
            - string
            - 'null'
          description: The wallet's X handle without the @, when linked.
    MarketHoldersMarket:
      type: object
      required:
        - id
        - condition_id
        - title
        - category
        - outcome_yes
        - outcome_no
        - token_id_yes
        - token_id_no
        - status
      properties:
        id:
          type: string
          description: '`mkt_`-prefixed market id.'
        condition_id:
          type: string
        title:
          type:
            - string
            - 'null'
        slug:
          type: string
        event_slug:
          type: string
        category:
          type:
            - string
            - 'null'
          description: The canonical category bucket `category_win_rate` is measured in.
        outcome_yes:
          type:
            - string
            - 'null'
        outcome_no:
          type:
            - string
            - 'null'
        token_id_yes:
          type:
            - string
            - 'null'
        token_id_no:
          type:
            - string
            - 'null'
        end_date:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - open
            - closed
            - resolved
          description: >-
            A settled market's roster is whatever the provider still lists as
            open; it empties as holders redeem.
    MarketHoldersScan:
      type: object
      required:
        - source
        - complete
        - fetched_at
        - wallet_count
      properties:
        source:
          type: string
          enum:
            - cached
            - live
          description: >-
            `cached`: the shared holder snapshot, at most 180 s old at compute
            time. `live`: the provider answered a fresh complete walk for this
            compute.
        complete:
          type: boolean
          description: >-
            Always true on a served roster. An incomplete or unstable scan is a
            503, never a partial list.
        fetched_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the provider walk that produced the holder population finished.
        wallet_count:
          type: integer
          description: >-
            Every distinct wallet the complete walk saw with open shares, graded
            or not. The roster lists the graded S/A/B subset.
    MarketHoldersTotals:
      type: object
      required:
        - graded_count
        - yes_count
        - no_count
        - yes_shares
        - no_shares
        - yes_usd
        - no_usd
        - yes_grades
        - no_grades
        - yes_grade_usd
        - no_grade_usd
      description: >-
        Roster totals BEFORE any `outcome` or `min_grade` filter, so a page
        always knows the whole market it was cut from.
      properties:
        graded_count:
          type: integer
          description: >-
            Distinct graded wallets with net exposure; a two-sided wallet counts
            once.
        yes_count:
          type: integer
        no_count:
          type: integer
        yes_shares:
          type: number
        no_shares:
          type: number
        yes_usd:
          type: number
          description: Polymarket currentValue summed over the graded wallets netting YES.
        no_usd:
          type: number
          description: Polymarket currentValue summed over the graded wallets netting NO.
        yes_grades:
          $ref: '#/components/schemas/MarketHoldersSideGrades'
        no_grades:
          $ref: '#/components/schemas/MarketHoldersSideGrades'
        yes_grade_usd:
          $ref: '#/components/schemas/MarketHoldersSideGradeUsd'
          description: 'yes_usd split by grade: where the S, A and B money on YES sits.'
        no_grade_usd:
          $ref: '#/components/schemas/MarketHoldersSideGradeUsd'
          description: 'no_usd split by grade: where the S, A and B money on NO sits.'
    HolderCategoryEvidence:
      type: object
      required:
        - status
      description: >-
        Current category evidence, independent of the global grade. Pick of the
        Day stamps only the served display roster; frozen entry snapshots remain
        unchanged.
      properties:
        status:
          type: string
          enum:
            - live
            - insufficient
            - stale
            - unknown
            - degraded
        canonical_category:
          type: string
        skill:
          $ref: '#/components/schemas/CategorySkillV2'
    MarketHoldersSideGrades:
      type: object
      required:
        - s
        - a
        - b
      properties:
        s:
          type: integer
        a:
          type: integer
        b:
          type: integer
    MarketHoldersSideGradeUsd:
      type: object
      required:
        - s
        - a
        - b
      description: >-
        Polymarket currentValue in USD per grade on one side, over the same
        wallets as that side's usd total. Each value is rounded to the cent
        after summing, so s + a + b can differ from the side total by up to 2
        cents.
      properties:
        s:
          type: number
          description: USD held by S-grade wallets netting this side.
        a:
          type: number
          description: USD held by A-grade wallets netting this side.
        b:
          type: number
          description: USD held by B-grade wallets netting this side.
    CategorySkillV2:
      type: object
      description: >-
        Forward-only category evidence from observed Polymarket taker fills.
        Status is category eligibility, not a global letter grade or a guarantee
        of positive edge. Scores are probability differences. Unknown and
        degraded rows withhold scores. Coverage is partial; observation counts
        are not lifetime market counts.
      required:
        - status
        - model_version
        - taxonomy_version
        - platform
        - scope
        - source_coverage
        - canonical_category
        - as_of
        - source_last_success_at
        - observation_started_at
        - latest_observation_at
        - independent_event_count
        - resolved_condition_count
        - unresolved_observation_count
        - edge_mean
        - edge_sd
        - edge_se
        - edge_lower_95
        - brier_event_avg
      properties:
        status:
          type: string
          enum:
            - live
            - insufficient
            - stale
            - unknown
            - degraded
        model_version:
          type: string
        taxonomy_version:
          type:
            - string
            - 'null'
        platform:
          type: string
          enum:
            - polymarket
        scope:
          type: string
          enum:
            - observed_goldsky_primary_taker_fill
        source_coverage:
          type: string
          enum:
            - partial_whale_threshold_fills
            - graded_wallet_fills
        canonical_category:
          type: string
        as_of:
          type: string
          format: date-time
        source_last_success_at:
          type:
            - string
            - 'null'
          format: date-time
        observation_started_at:
          type: string
          format: date-time
        latest_observation_at:
          type:
            - string
            - 'null'
          format: date-time
        independent_event_count:
          type: integer
          minimum: 0
        resolved_condition_count:
          type: integer
          minimum: 0
        unresolved_observation_count:
          type: integer
          minimum: 0
        edge_mean:
          type:
            - number
            - 'null'
        edge_sd:
          type:
            - number
            - 'null'
        edge_se:
          type:
            - number
            - 'null'
        edge_lower_95:
          type:
            - number
            - 'null'
        brier_event_avg:
          type:
            - number
            - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Legacy default or named integration API key, or OAuth 2.1 access token,
        in the Authorization header as `Bearer oxi_sk_live_...` or `Bearer
        oxi_at_...`. Default keys retain full access; integration keys are
        limited to their approved read, webhooks, export and usage scopes and
        expire within 90 days. All credentials share the owner's account limits.
        Data calls require an active Pro subscription and return live data. A
        401 carries WWW-Authenticate: Bearer
        resource_metadata="https://api.0xinsider.com/.well-known/oauth-protected-resource"
        (RFC 6750 section 3, RFC 9728).
    oauth2:
      type: oauth2
      description: >-
        OAuth 2.1 authorization code flow with PKCE S256 for apps and MCP
        clients acting for a user. Public clients only (no client secret):
        register with RFC 7591 at https://api.0xinsider.com/oauth/register or
        present an https client ID metadata document URL as client_id.
        Authorization server metadata:
        https://api.0xinsider.com/.well-known/oauth-authorization-server. The
        access token (oxi_at_..., one hour) is sent as `Authorization: Bearer`;
        refresh tokens rotate on every use. A route outside the token's scopes
        answers 403 insufficient_scope. Walkthrough:
        https://0xinsider.com/auth.md.
      flows:
        authorizationCode:
          authorizationUrl: https://0xinsider.com/oauth/authorize
          tokenUrl: https://api.0xinsider.com/oauth/token
          refreshUrl: https://api.0xinsider.com/oauth/token
          scopes:
            read: >-
              Read markets, traders, large trades, positions, reports, search,
              the event stream and every MCP tool
            webhooks: Create, list, verify, rotate and delete webhook endpoints
            export: Start, poll and download trader exports
            usage: Read the caller's API usage counters

````

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