# Prediction Markets and Derivatives — Fetch trading activity (merges, splits, redeems) for a user

Get Blockrun Fetch trading activity (merges, splits, redeems) for a user data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, pass parameters such as end_time, limit, order, and retrieve structured data including continuation flag, reported count, result limit, returned pagination key value, and returned activities field for market reference and account inspection, and integration reference.

Documentation: https://openany.si/blockrun/blockrun-prediction-markets-and-derivatives-fetch-trading-activity-merges-splits-redeems-for-a-u/f086aa9c-ec62-41e8-8dda-460a22edabcb/
API ID: f086aa9c-ec62-41e8-8dda-460a22edabcb
Provider: blockrun
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/activity
Page update time: 2026-12-03T02:49:55.684Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.0075 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:55.222Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "7500",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockrun Fetch trading activity (merges, splits, redeems) for a user API

Retrieve trading activity (merges, splits, redeems) for a user with the BlockRun API. Provide wallet in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Market reference and account inspection**: Keep market, asset and account identities distinct when interpreting records.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `pagination.has_more` | Continuation flag |
| `pagination.count` | Reported count |
| `pagination.limit` | Result limit |
| `pagination.pagination_key` | Returned pagination key value (nullable in the reference) |
| `activities` | Returned activities field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Prediction Markets and Derivatives — Fetch trading activity (merges, splits, redeems) for a user request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "condition_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Filter by condition ID"
        },
        "end_time": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Unix timestamp (seconds) for end"
        },
        "limit": {
          "type": "integer",
          "description": "Number of activities to return (1-500)",
          "minimum": 1,
          "maximum": 500
        },
        "market_slug": {
          "type": [
            "string",
            "null"
          ],
          "description": "Filter by market slug"
        },
        "order": {
          "type": "string",
          "description": "Sort order: asc or desc",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "pagination_key": {
          "type": [
            "string",
            "null"
          ],
          "description": "Pagination key for cursor-based pagination"
        },
        "sort_by": {
          "type": "string",
          "description": "Sort by: timestamp or type",
          "enum": [
            "timestamp",
            "type"
          ]
        },
        "start_time": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Unix timestamp (seconds) for start"
        },
        "wallet": {
          "type": "string",
          "description": "Wallet address"
        }
      },
      "required": [
        "wallet"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "activities": {
      "type": "array",
      "items": {}
    },
    "pagination": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer"
        },
        "has_more": {
          "type": "boolean"
        },
        "limit": {
          "type": "integer"
        },
        "pagination_key": {
          "type": "null"
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/activity?end_time=1793450200&limit=1&order=desc&start_time=1793449900&wallet=0x2c335066fe58fe9237c3d3dc7b275c2a034a0563' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "activities": [],
  "pagination": {
    "count": 0,
    "has_more": false,
    "limit": 1,
    "pagination_key": null
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide wallet in query (string). Keep identifiers and URLs in the formats documented for this implementation.

### Which pagination or result-size inputs are exposed?
limit is integer with minimum 1 and maximum 500; start_time is integer. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

### Which values can I use for order?
The selected schema accepts asc, desc. Keep the documented string type and exact spelling for this input.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- blockrun: https://openany.si/blockrun/blockrun-prediction-markets-and-derivatives-fetch-trading-activity-merges-splits-redeems-for-a-u/f086aa9c-ec62-41e8-8dda-460a22edabcb/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
