Prediction Markets

Fetch prediction-market details for one or more market IDs.

Tool Name: codex_prediction_markets

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_markets",
  "args": {
    "marketIds": [
      "open-market-id-from-codex_filter_prediction_markets"
    ]
  }
}'

Required fields in the current live schema: marketIds. Use schema-valid IDs, symbols, addresses, timestamps, ranges, or market identifiers for those fields; example values are illustrative, not defaults.