> ## 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.

# List Large Positions

> Returns the largest current open positions from graded traders, value-descending, with opaque cursor pagination. Polymarket-only by design: the large-positions scanner filters platform = 'polymarket' (backend/src/large_positions/scanner.rs:238,245), so no Kalshi rows are ever scanned and a Kalshi or unknown condition_id filter returns an empty list (never fabricated rows). The teaser cap that the internal product UI applies to anonymous viewers does not apply here: the API key already proves an active insider/annual subscription, so authed API callers get full access.

The largest current open positions held by graded traders, value-descending, with opaque cursor pagination. Polymarket-only by design: the scanner filters on `platform = 'polymarket'`, so a Kalshi or unknown `condition_id` filter returns an empty list rather than fabricated rows.

Useful filters:

* `min_size=25000`: floor on position value in USD.
* `min_grade=A`: minimum trader grade.
* `category=crypto`: provider-backed market category.
* `condition_id=...`: scope to one market. Accepts the raw provider `condition_id` or the `mkt_`-prefixed market id.

```bash theme={null}
curl -H "Authorization: Bearer $OXINSIDER_API_KEY" \
  "https://api.0xinsider.com/api/v1/large-positions?min_grade=A&min_size=25000&limit=50"
```

The API key already proves an active subscription, so authed callers get full access with no teaser cap. Cursor-paginated: pass `next_cursor` from one response as `cursor` on the next. See [Pagination](/concepts/pagination).


## OpenAPI

````yaml GET /api/v1/large-positions
openapi: 3.1.0
info:
  title: 0xinsider API
  description: >-
    Find your edge on Polymarket and Kalshi. Every wallet graded, every trade
    scored, every outlier flagged. API exposes trader grades, whale trades,
    smart money signals, and insider detection for AI agents, trading bots, and
    research tools. Normal API requests use a 30-second server timeout that
    returns HTTP 408 Request Timeout with an empty body when exceeded. 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, and Mcp-Session-Id request
    headers. 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
    X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After,
    ETag, X-Request-Id, X-Request-Cost, X-Batch-RateLimit-Limit,
    X-Batch-RateLimit-Remaining, X-Batch-RateLimit-Reset, Mcp-Session-Id, and
    X-Mcp-Error-Code response headers. Credentialed first-party routes such as
    /api/keys, /api/billing, and auth endpoints remain restricted to configured
    0xinsider origins.
  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 Insider subscription.
  - url: https://api.0xinsider.com
    description: >-
      Sandbox / test mode (deterministic fixture data, no live rows).
      Authenticate with a test key (oxi_sk_test_...) on a free account. Same
      base URL and paths as production: the key class selects live vs sandbox.
      Test keys are billing-exempt, served from a fixed fixture dataset, and
      never read live data or persist writes; webhooks, usage, and MCP responses
      show the response shape only.
security:
  - bearerAuth: []
tags:
  - name: Traders
    description: Trader intelligence, 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: Whale Trades
    description: Recent and historical large trade intelligence.
  - name: Leaderboard
    description: Ranked trader discovery and category/strategy leaderboards.
  - name: Markets
    description: Market search, discovery, snapshots, and smart-score flow.
  - name: Insider Radar
    description: Suspicious trading pattern detection.
  - 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: 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.
paths:
  /api/v1/large-positions:
    get:
      tags:
        - Large Positions
      summary: List large positions
      description: >-
        Returns the largest current open positions from graded traders,
        value-descending, with opaque cursor pagination. Polymarket-only by
        design: the large-positions scanner filters platform = 'polymarket'
        (backend/src/large_positions/scanner.rs:238,245), so no Kalshi rows are
        ever scanned and a Kalshi or unknown condition_id filter returns an
        empty list (never fabricated rows). The teaser cap that the internal
        product UI applies to anonymous viewers does not apply here: the API key
        already proves an active insider/annual subscription, so authed API
        callers get full access.
      operationId: listLargePositions
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
        - name: cursor
          in: query
          description: Opaque pagination cursor from a previous response.
          schema:
            type: string
        - name: min_size
          in: query
          description: Minimum position value in USD.
          schema:
            type: number
            minimum: 0
        - name: category
          in: query
          description: Filter by provider-backed market category.
          schema:
            type: string
        - name: min_grade
          in: query
          description: Minimum trader grade.
          schema:
            type: string
            enum:
              - S
              - A
              - B
              - C
              - D
              - F
        - name: condition_id
          in: query
          description: >-
            Scope to one market. Accepts the raw provider condition_id or the
            mkt_-prefixed market id (round-trips a value from a list response).
            Polymarket-only; a Kalshi or unknown id returns [].
          schema:
            type: string
      responses:
        '200':
          description: Large positions list
          headers:
            ETag:
              $ref: '#/components/headers/ETag'
            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-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
          content:
            application/json:
              schema:
                type: object
                required:
                  - object
                  - data
                  - has_more
                  - meta
                properties:
                  object:
                    type: string
                    const: list
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/LargePosition'
                  has_more:
                    type: boolean
                  next_cursor:
                    type: string
                    nullable: true
                    description: Opaque cursor for the next page; absent on the last page.
                  total:
                    type: integer
                    nullable: true
                    description: >-
                      Total ranked rows when the read model exposes a count; may
                      be absent.
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
              examples:
                success:
                  summary: Successful response
                  value:
                    object: list
                    data: []
                    has_more: false
                    next_cursor: null
                    meta:
                      request_id: req_example
                      cached: false
        '304':
          description: >-
            Not Modified. Returned when If-None-Match matches the current
            payload.
          headers:
            ETag:
              description: Validator for the unchanged payload.
              schema:
                type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '408':
          $ref: '#/components/responses/RequestTimeout'
        '423':
          $ref: '#/components/responses/Locked'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/RateLimitUnavailable'
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl -sS \
              -H 'Authorization: Bearer $OXI_SK' \
              'https://api.0xinsider.com/api/v1/large-positions?min_grade=A&limit=10'
components:
  headers:
    ETag:
      description: >-
        Strong validator for conditional GET. Send as If-None-Match to receive
        304 when unchanged.
      schema:
        type: string
        example: '"8f14e45fceea167a5a36dedd4bea2543"'
    X-RateLimit-Limit:
      description: Authenticated V1 per-user request limit for the current sliding window.
      schema:
        type: integer
        example: 100
    X-RateLimit-Remaining:
      description: >-
        Authenticated V1 requests remaining in the current sliding window after
        this response.
      schema:
        type: integer
        example: 84
    X-RateLimit-Reset:
      description: Unix timestamp when the authenticated V1 request window resets.
      schema:
        type: integer
        example: 1710772860
    X-Request-Id:
      description: Server-generated request identifier for support and tracing.
      schema:
        type: string
        example: req_550e8400
  schemas:
    LargePosition:
      type: object
      required:
        - id
        - platform
        - share_count
        - event_leg_count
        - first_seen_at
        - last_updated_at
        - trader
        - market
      properties:
        id:
          type: string
          description: Composite prefixed ID `pos_<wallet>:<condition_id>:<outcome_index>`.
        platform:
          type: string
          enum:
            - polymarket
            - kalshi
          description: >-
            Provider discriminator. Always polymarket today (scanner is
            Polymarket-only); kept in the shape so Kalshi can land without a
            breaking change.
        total_size_usd:
          type: number
          nullable: true
          description: Aggregate provider currentValue for this position leg in USD.
        position_unrealized_pnl:
          type: number
          nullable: true
          description: >-
            Provider per-position unrealized P&L
            (trader_markets.unrealized_pnl_num, from Polymarket cashPnl).
        share_count:
          type: number
          description: Live share count for this position.
        avg_entry_price:
          type: number
          nullable: true
          description: Volume-weighted entry price.
        current_price:
          type: number
          nullable: true
          description: Latest provider mark price for the position's token.
        outcome_label:
          type: string
          nullable: true
          description: >-
            Backend-resolved outcome label (provider outcome, else Yes/No from
            the binary index).
        event_leg_count:
          type: integer
          description: >-
            Legs collapsed into this representative row for one (wallet, event,
            outcome side) group. 1 means standalone.
        event_total_value_usd:
          type: number
          nullable: true
          description: >-
            Aggregate provider currentValue across collapsed sibling legs;
            equals total_size_usd when event_leg_count = 1.
        first_seen_at:
          type: string
          format: date-time
        last_updated_at:
          type: string
          format: date-time
        trader:
          type: object
          required:
            - id
            - address
          properties:
            id:
              type: string
              description: Prefixed ID (`trd_...`).
            address:
              type: string
            username:
              type: string
              nullable: true
            grade:
              type: string
              enum:
                - S
                - A
                - B
                - C
                - D
                - F
              nullable: true
            win_rate:
              type: number
              nullable: true
            pnl:
              type: number
              nullable: true
              description: Trader lifetime realized P&L across all markets.
            markets_traded:
              type: integer
              nullable: true
        market:
          type: object
          required:
            - id
            - condition_id
          properties:
            id:
              type: string
              description: Prefixed ID (`mkt_...`).
            condition_id:
              type: string
            title:
              type: string
              nullable: true
            slug:
              type: string
              nullable: true
            event_slug:
              type: string
              nullable: true
            category:
              type: string
              nullable: true
    ResponseMeta:
      type: object
      required:
        - request_id
        - cached
      properties:
        request_id:
          type: string
          description: Unique request ID (req_ prefix).
        cached:
          type: boolean
        cache_age_s:
          type: integer
          nullable: true
          description: Cache age in seconds, null if not cached.
    ApiError:
      type: object
      required:
        - object
        - error
        - meta
      properties:
        object:
          type: string
          const: error
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              enum:
                - bad_request
                - invalid_api_key
                - subscription_required
                - forbidden
                - not_found
                - account_locked
                - rate_limited
                - rate_limit_unavailable
                - internal_error
            message:
              type: string
            doc_url:
              type: string
              nullable: true
            param:
              type: string
              nullable: true
        meta:
          $ref: '#/components/schemas/ResponseMeta'
  responses:
    BadRequest:
      description: Invalid request parameter
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    SubscriptionRequired:
      description: Active Insider subscription required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Forbidden:
      description: Account access denied
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    RequestTimeout:
      description: >-
        Request exceeded the server's 30-second transport timeout. The timeout
        response has an empty body because it is generated before handler-level
        JSON error shaping.
    Locked:
      description: Account is locked
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    RateLimited:
      description: >-
        Rate limit exceeded (100 req/min; batch endpoints also reserve 100 batch
        item units/min before execution)
      headers:
        Retry-After:
          description: Seconds until rate limit resets.
          schema:
            type: integer
        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'
    RateLimitUnavailable:
      description: >-
        Redis-backed authenticated rate limiter unavailable; retry after the
        per-process outage cooldown
      headers:
        Retry-After:
          description: >-
            Seconds until the middleware will probe the Redis-backed rate
            limiter again.
          schema:
            type: integer
        X-Request-Id:
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key: Authorization: Bearer oxi_sk_live_... for live data (requires
        an active Insider subscription), or oxi_sk_test_... for sandbox/test
        mode (free account, deterministic fixture data, no live rows). Both key
        classes use the same paths; the prefix selects live vs sandbox.

````