pdata · Schema

EventHistoryOut

CompanyDataPrediction-MarketFinance

Properties

Name Type Description
source string Venue the event comes from.
event_id string The venue's own event id; unique within `source`.
title object The event's title as the venue publishes it, so the series can be read without a second call.
range string The window covered: the last 24h, 7d or 30d, or all (back to pdata's first snapshot of the market; history starts May 2026).
bucket_seconds integer Nominal width of one point's time bucket, in seconds: 1800 for 24h, 7200 for 7d, 28800 for 30d, 86400 for all. Long series are thinned to at most 120 points.
series array One series per market: the event's top `limit` markets in the order the event endpoint lists them, plus `market_id` when it was asked for.
event_volume array The event's own 24-hour volume over time, filled only when no market series carries volume (Gemini reports volume per event, not per contract). Empty for every other venue.
_meta object Response metadata: attribution, the event's pdata.world page as `canonical_url`, the venue's page as `source_url`, `data_as_of`, docs link and `cite_as`, a ready-to-quote citation sentence.
View JSON Schema on GitHub

JSON Schema

pdata-world-event-history-out-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pdata-world/json-schema/pdata-world-event-history-out-schema.json",
  "title": "EventHistoryOut",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pdata-world-openapi.json#/components/schemas/EventHistoryOut",
  "properties": {
    "source": {
      "type": "string",
      "title": "Source",
      "description": "Venue the event comes from."
    },
    "event_id": {
      "type": "string",
      "title": "Event Id",
      "description": "The venue's own event id; unique within `source`."
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title",
      "description": "The event's title as the venue publishes it, so the series can be read without a second call."
    },
    "range": {
      "type": "string",
      "enum": [
        "24h",
        "7d",
        "30d",
        "all"
      ],
      "title": "Range",
      "description": "The window covered: the last 24h, 7d or 30d, or all (back to pdata's first snapshot of the market; history starts May 2026)."
    },
    "bucket_seconds": {
      "type": "integer",
      "title": "Bucket Seconds",
      "description": "Nominal width of one point's time bucket, in seconds: 1800 for 24h, 7200 for 7d, 28800 for 30d, 86400 for all. Long series are thinned to at most 120 points."
    },
    "series": {
      "items": {
        "$ref": "#/$defs/MarketHistorySeries"
      },
      "type": "array",
      "title": "Series",
      "description": "One series per market: the event's top `limit` markets in the order the event endpoint lists them, plus `market_id` when it was asked for.",
      "default": []
    },
    "event_volume": {
      "items": {
        "$ref": "#/$defs/HistoryPoint"
      },
      "type": "array",
      "title": "Event Volume",
      "description": "The event's own 24-hour volume over time, filled only when no market series carries volume (Gemini reports volume per event, not per contract). Empty for every other venue.",
      "default": []
    },
    "_meta": {
      "anyOf": [
        {
          "$ref": "#/$defs/ResponseMetaResource"
        },
        {
          "type": "null"
        }
      ],
      "description": "Response metadata: attribution, the event's pdata.world page as `canonical_url`, the venue's page as `source_url`, `data_as_of`, docs link and `cite_as`, a ready-to-quote citation sentence."
    }
  },
  "type": "object",
  "required": [
    "source",
    "event_id",
    "range",
    "bucket_seconds"
  ],
  "$defs": {
    "HistoryPoint": {
      "properties": {
        "t": {
          "type": "string",
          "format": "date-time",
          "title": "T",
          "description": "Start of the point's time bucket (UTC). The point carries the last snapshot pdata recorded inside the bucket."
        },
        "probability": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Probability",
          "description": "Implied probability of the market's first outcome (usually YES), in [0, 1]. Null in `event_volume` points."
        },
        "volume_24hr": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Volume 24Hr",
          "description": "The rolling 24-hour trading volume at that snapshot. Venue-reported, in the venue's own unit and not converted across venues: shares for Polymarket and contracts for Kalshi (each pays $1 at resolution), play-money mana for Manifold, and each other venue's figure as it reports it. Null where the venue reports no per-market volume."
        }
      },
      "type": "object",
      "required": [
        "t"
      ],
      "title": "HistoryPoint"
    },
    "MarketHistorySeries": {
      "properties": {
        "source": {
          "type": "string",
          "title": "Source",
          "description": "Venue the market comes from."
        },
        "market_id": {
          "type": "string",
          "title": "Market Id",
          "description": "The venue's own market id; unique within `source`."
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name",
          "description": "The outcome's label: the venue's short outcome title where it sets one, else the market's full question."
        },
        "points": {
          "items": {
            "$ref": "#/$defs/HistoryPoint"
          },
          "type": "array",
          "title": "Points",
          "description": "Points oldest first. pdata records a snapshot when a market changes, so a quiet market has gaps. Snapshots older than 7 days are kept as 12-hour buckets.",
          "default": []
        }
      },
      "type": "object",
      "required": [
        "source",
        "market_id"
      ],
      "title": "MarketHistorySeries"
    },
    "ResponseMetaResource": {
      "properties": {
        "attribution": {
          "type": "string",
          "title": "Attribution",
          "description": "Who aggregated this data, under which licence, and whose data it is.",
          "default": "Data aggregated by pdata.world (https://pdata.world) from Polymarket, Kalshi, Manifold, Myriad, Limitless, Predict, Opinion and Gemini; CC BY 4.0; source data © each venue."
        },
        "canonical_url": {
          "type": "string",
          "title": "Canonical Url",
          "description": "Stable URL for this resource: the pdata.world page, or the API URL for list responses."
        },
        "as_of": {
          "type": "string",
          "format": "date-time",
          "title": "As Of",
          "description": "When this response was generated (UTC)."
        },
        "docs": {
          "type": "string",
          "title": "Docs",
          "description": "API documentation.",
          "default": "https://api.pdata.world/docs"
        },
        "hint": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Hint",
          "description": "Advice for the next call, present only when there is some: today, why a search may have come back empty and where else to look. Absent otherwise."
        },
        "total_capped": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Total Capped",
          "description": "Set on `?search=` and `/search/suggest` responses only. `true` when more rows matched than the search inspects (20,000 per table; 5,000 for the typo-tolerant fallback): `meta.total` (or `total_events` / `total_markets`) is then a lower bound, not the exact count. `/markets` pages normally stay in exact order. `/events` stays in exact order for events matched by their own text and may miss events matched only through a child market. `/search/suggest` ranks the inspected rows only. Absent when the count is exact."
        },
        "cite_as": {
          "type": "string",
          "title": "Cite As",
          "description": "A ready-made citation sentence: what the data says, its as-of date, and the canonical URL. Safe to quote verbatim."
        },
        "source_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Url",
          "description": "The same event or market on the venue's own website. NULL for venues without public event pages."
        },
        "data_as_of": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Data As Of",
          "description": "When pdata last wrote a change to the data in this response (UTC): for an event, the newest `updated_at` among all its markets (a market's row is rewritten when its price, volume or status changes); for a market, its own `updated_at`. An open event's or market's `cite_as` carries the same date. `as_of` is when the response was built. Absent on a tombstone, whose record is final."
        }
      },
      "type": "object",
      "required": [
        "canonical_url",
        "cite_as"
      ],
      "title": "ResponseMetaResource",
      "description": "Agent metadata for single-resource responses (with cite_as)."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pdata-world-event-history-out"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.