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

# Get Prediction Activity

> Get a wallet's prediction market trading activity (buys, sells, redemptions).

<Warning>**Alpha** — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.</Warning>


## OpenAPI

````yaml GET /2/wallet/pm/activity
openapi: 3.0.0
info:
  version: 1.0.0
  title: Mobula Prediction Markets API
  description: >-
    Documentation of the Mobula Prediction Markets API.


    The PM API is currently served from a dedicated host:
    `pm-api-prod-eu.mobula.io`.

    All endpoints below require an API key (same key as the main Mobula API).


    Parameter names below are the **canonical names enforced by the API

    controllers** (Zod-validated). Following the wrong name (e.g. `?market=...`

    instead of `?platform=...&marketId=...`) returns `HTTP 400`.
servers:
  - url: https://pm-api-prod-eu.mobula.io/api/
    description: PM Production API (requires API key)
security: []
tags:
  - name: V2 - PM Market
    description: Prediction market data — details, prices, order book, trades, OHLCV
  - name: V2 - PM Discovery
    description: Search, trending, categories, live markets
  - name: V2 - PM Wallet
    description: Wallet prediction-market positions, balances, PnL, activity, status
paths:
  /2/wallet/pm/activity:
    get:
      tags:
        - V2 - PM Wallet
      summary: Get Prediction Activity
      description: >
        Get a wallet's prediction market trading activity (buys, sells,
        redemptions).


        ⚠️ `from` and `to` are accepted as ISO date strings or Unix timestamps
        (DateQuery

        format — the API coerces to a Date object).
      parameters:
        - $ref: '#/components/parameters/Wallet'
        - name: platforms
          in: query
          required: false
          description: Comma-separated platform filter (e.g. `polymarket`).
          schema:
            type: string
        - name: types
          in: query
          required: false
          description: Comma-separated activity type filter (e.g. `buy,sell`).
          schema:
            type: string
        - name: from
          in: query
          required: false
          description: Start of the time window (ISO date or Unix timestamp).
          schema:
            type: string
        - name: to
          in: query
          required: false
          description: End of the time window (ISO date or Unix timestamp).
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Page size (1-100).
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: page
          in: query
          required: false
          description: 1-based page index (alternative to `offset`).
          schema:
            type: integer
            minimum: 1
            default: 1
        - $ref: '#/components/parameters/Offset'
        - name: order
          in: query
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
        - name: cursorHash
          in: query
          required: false
          description: Opaque cursor hash for keyset pagination.
          schema:
            type: string
        - name: cursorDirection
          in: query
          required: false
          schema:
            type: string
            enum:
              - before
              - after
            default: before
      responses:
        '200':
          description: Activity list
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
components:
  parameters:
    Wallet:
      name: wallet
      in: query
      required: true
      description: >-
        User EOA wallet address. The API resolves the matching Safe trading
        account internally.
      schema:
        type: string
        example: '0x0000000000000000000000000000000000000001'
    Offset:
      name: offset
      in: query
      required: false
      description: Pagination offset.
      schema:
        type: integer
        minimum: 0
        default: 0

````