# Prediction Markets and Derivatives — Compare performance across trading style cohorts

Get Blockrun Compare performance across trading style cohorts data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, pass parameters such as window, and retrieve structured data including returned avg roi field, returned avg trades field, and returned cohort name field for market reference and account inspection, and integration reference.

Documentation: https://openany.si/blockrun/blockrun-prediction-markets-and-derivatives-compare-performance-across-trading-style-cohorts/1c787af6-a1e5-408a-b273-9af062fb2847/
API ID: 1c787af6-a1e5-408a-b273-9af062fb2847
Provider: blockrun
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/cohorts/stats
Page update time: 2026-12-03T02:49:53.489Z
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:52.660Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "7500",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockrun Compare performance across trading style cohorts API

Compare performance across trading style cohorts with the BlockRun API. Review the optional inputs supported by the selected implementation. 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 |
| --- | --- |
| `cohorts[].avg_profit_factor` | Returned avg profit factor field |
| `cohorts[].avg_realized_pnl` | Returned avg realized pnl field |
| `cohorts[].avg_roi` | Returned avg roi field |
| `cohorts[].avg_trades` | Returned avg trades field |
| `cohorts[].avg_win_rate` | Returned avg win rate field |
| `cohorts[].cohort_name` | Returned cohort name field |
| `cohorts[].median_realized_pnl` | Returned median realized pnl field |
| `cohorts[].total_realized_pnl` | Returned total realized pnl field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Prediction Markets and Derivatives — Compare performance across trading style cohorts 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": {
        "min_trades": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Minimum trades to be included in cohort (filters noise)",
          "minimum": 1
        },
        "window": {
          "type": "string",
          "description": "Time window for metrics",
          "enum": [
            "1d",
            "7d",
            "30d",
            "all_time"
          ]
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cohorts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "avg_profit_factor": {
            "type": "number"
          },
          "avg_realized_pnl": {
            "type": "number"
          },
          "avg_roi": {
            "type": "number"
          },
          "avg_trades": {
            "type": "number"
          },
          "avg_win_rate": {
            "type": "number"
          },
          "cohort_name": {
            "type": "string"
          },
          "median_realized_pnl": {
            "type": "number"
          },
          "total_realized_pnl": {
            "type": "number"
          },
          "total_volume": {
            "type": "number"
          },
          "wallet_count": {
            "type": "integer"
          }
        }
      }
    },
    "total_wallets": {
      "type": "integer"
    },
    "window": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/cohorts/stats?window=1d' \
  -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
{
  "cohorts": [
    {
      "avg_profit_factor": 12.165017130127822,
      "avg_realized_pnl": 1689.4213687055321,
      "avg_roi": 9.841524807604221,
      "avg_trades": 288.66210588935155,
      "avg_win_rate": 0.4437134066261072,
      "cohort_name": "ACTIVE_TRADER",
      "median_realized_pnl": 4.703969999999998,
      "total_realized_pnl": 2839917.3207939994,
      "total_volume": 22493440.349696133,
      "wallet_count": 1681
    },
    {
      "avg_profit_factor": 3.8018266917816335,
      "avg_realized_pnl": 588.9903613657406,
      "avg_roi": -0.023404807631975316,
      "avg_trades": 80.42129629629629,
      "avg_win_rate": 0.30361941969199246,
      "cohort_name": "UNKNOWN",
      "median_realized_pnl": 0,
      "total_realized_pnl": 254443.83610999995,
      "total_volume": 1241651.3219190002,
      "wallet_count": 432
    },
    {
      "avg_profit_factor": 18.595372584166874,
      "avg_realized_pnl": 5136.35014534782,
      "avg_roi": -53.343045313764286,
      "avg_trades": 64.15217391304348,
      "avg_win_rate": 0.4491603404646883,
      "cohort_name": "WHALE",
      "median_realized_pnl": 85.33210149999923,
      "total_realized_pnl": 236272.10668599972,
      "total_volume": 6212131.1002920065,
      "wallet_count": 46
    },
    {
      "avg_profit_factor": 0.7959511626290738,
      "avg_realized_pnl": 94.10617271381574,
      "avg_roi": -0.2945634549300305,
      "avg_trades": 101.58881578947368,
      "avg_win_rate": 0.19803535138873554,
      "cohort_name": "DEGEN",
      "median_realized_pnl": -1.157647499999996,
      "total_realized_pnl": 28608.276504999983,
      "total_volume": 890937.1394200044,
      "wallet_count": 304
    },
    {
      "avg_profit_factor": 3.300575063108015,
      "avg_realized_pnl": 12.936602359970648,
      "avg_roi": 0.049186880247729804,
      "avg_trades": 37.72214076246334,
      "avg_win_rate": 0.5938281900743017,
      "cohort_name": "BUY_AND_HOLD",
      "median_realized_pnl": 3.0088649999999966,
      "total_realized_pnl": 17645.525618999964,
      "total_volume": 954981.3482900001,
      "wallet_count": 1364
    }
  ],
  "total_wallets": 5339,
  "window": "1d"
}
```

## 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
### Does this implementation require business input parameters?
No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

### Which values can I use for window?
The selected schema accepts 1d, 7d, 30d, all_time. 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.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### 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-compare-performance-across-trading-style-cohorts/1c787af6-a1e5-408a-b273-9af062fb2847/

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