Prediction Trader Bars

Query time-series bars for a prediction-market trader over a selected interval.

Tool Name: codex_prediction_trader_bars

Category Endpoint: POST /hive_prediction_markets/mcp

Data Source: Codex


Overview

This tool is documented under the Prediction Markets category.

For schemas and the complete live catalog, also use:

  • GET /api/v1/tools
  • hive://tools
  • get_api_endpoint_schema from the root MCP endpoint

Quick Example

bash
curl -X POST https://mcp.hiveintelligence.xyz/api/v1/execute \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_HIVE_API_KEY" \
  -d '{
  "tool": "codex_prediction_trader_bars",
  "args": {
    "traderId": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045:Polymarket",
    "from": 1,
    "to": 1,
    "resolution": "day1"
  }
}'

Required fields in the current live schema: traderId, from, to, resolution.