# Prediction Markets and Derivatives — Get volume chart broken down by BUY/SELL side for a wallet

Query Blockrun Get volume chart broken down by BUY/SELL side for a wallet data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, pass parameters such as end_time, granularity, start_time, and retrieve structured data including returned buy volume field, returned sell volume field, timestamp, returned total volume field, and returned trades count field for market reference and account inspection, and integration reference.

Documentation: https://openany.si/blockrun/blockrun-prediction-markets-and-derivatives-get-volume-chart-broken-down-by-buy-sell-side-for-a/da88f121-a539-4fff-9cf5-6235f7577a27/
API ID: da88f121-a539-4fff-9cf5-6235f7577a27
Provider: blockrun
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/wallet/volume-chart/{wallet}
Page update time: 2026-12-03T02:49:53.527Z
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.758Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "7500",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockrun Get volume chart broken down by BUY/SELL side for a wallet API

Retrieve volume chart broken down by BUY/SELL side for a wallet with the BlockRun API. Provide wallet in path, end\_time in query, start\_time 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 |
| --- | --- |
| `data[].buy_volume` | Returned buy volume field |
| `data[].sell_volume` | Returned sell volume field |
| `data[].timestamp` | Timestamp |
| `data[].total_volume` | Returned total volume field |
| `data[].trades_count` | Returned trades count field |
| `end_time` | Returned end time field |
| `granularity` | Returned granularity field |
| `start_time` | Returned start time field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Prediction Markets and Derivatives — Get volume chart broken down by BUY/SELL side for a wallet 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": {
        "wallet": {
          "type": "string",
          "description": "Wallet address whose public data is queried."
        }
      },
      "required": [
        "wallet"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "end_time": {
          "type": "integer",
          "description": "Unix timestamp (seconds) for end of time range",
          "minimum": 0
        },
        "granularity": {
          "type": "string",
          "description": "Time granularity: hour, day, or week",
          "enum": [
            "hour",
            "day",
            "week"
          ]
        },
        "start_time": {
          "type": "integer",
          "description": "Unix timestamp (seconds) for start of time range",
          "minimum": 0
        }
      },
      "required": [
        "end_time",
        "start_time"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "buy_volume": {
            "type": "number"
          },
          "sell_volume": {
            "type": "integer"
          },
          "timestamp": {
            "type": "integer"
          },
          "total_volume": {
            "type": "number"
          },
          "trades_count": {
            "type": "integer"
          }
        }
      }
    },
    "end_time": {
      "type": "integer"
    },
    "granularity": {
      "type": "string"
    },
    "start_time": {
      "type": "integer"
    },
    "wallet_address": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/wallet/volume-chart/0x2c335066fe58fe9237c3d3dc7b275c2a034a0563?end_time=1793448000&granularity=hour&start_time=1793444400' \
  -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
{
  "data": [
    {
      "buy_volume": 2320.0627,
      "sell_volume": 0,
      "timestamp": 1793444400,
      "total_volume": 2320.0627,
      "trades_count": 3
    }
  ],
  "end_time": 1793444400,
  "granularity": "hour",
  "start_time": 1793444400,
  "wallet_address": "0x2c335066fe58fe9237c3d3dc7b275c2a034a0563"
}
```

## 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 path (string); end_time in query (integer); start_time in query (integer). Keep identifiers and URLs in the formats documented for this implementation.

### Which pagination or result-size inputs are exposed?
start_time is integer with minimum 0. 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 granularity?
The selected schema accepts hour, day, week. 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-get-volume-chart-broken-down-by-buy-sell-side-for-a/da88f121-a539-4fff-9cf5-6235f7577a27/

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