pdata · Schema

MarketDetailOut

Single-market response: extends MarketOut with `_meta` (agent metadata + cite_as). Kept as a separate wrapper rather than putting `_meta` on MarketOut itself so list responses (Page[MarketOut]) don't carry `_meta` on every item — that would inflate response size O(N) for no agent benefit. The list envelope already carries `_meta` once. Parallels EventDetailOut(EventOut).

CompanyDataPrediction-MarketFinance

Properties

Name Type Description
source string Venue the market comes from: polymarket, kalshi, manifold, myriad, limitless, predict, opinion or gemini.
id string The venue's own market id; unique within `source`.
event_id object Id of the parent event (same `source`). Null for orphan markets.
slug object The venue's URL slug or ticker for the market, if any.
question object The market's full question as the venue titles it. For outcomes of a multi-outcome event this can be a bare label (e.g. `Phoenix Suns`); pair it with `event_title`.
group_item_title object Short outcome label for display under an already-shown event title, e.g. `Lakers` for 'Will the Lakers win the 2026 NBA Championship?'. Null when the venue supplies no separate label.
description object Resolution rules / description text as published by the venue.
image object Image URL published by the venue.
icon object Icon URL published by the venue.
outcomes array Outcome labels in venue order, usually `["Yes", "No"]`; other pairs exist (e.g. `["Over", "Under"]`, two team names).
outcome_prices array Price of each outcome in `outcomes` order, in [0, 1] (0.62 = 62 cents on the dollar).
probability object Implied probability of the first outcome (usually YES), in [0, 1]. The venue's own probability where it publishes one, else `outcome_prices[0]`.
spread object Best ask minus best bid on the first outcome, in price units [0, 1]. Null when the venue publishes no order book.
active boolean The venue's own active flag.
closed boolean True once the venue has closed the market to trading (it may or may not have resolved yet; see `result`).
start_date object When the market opened, as the venue reports it (UTC).
end_date object Scheduled close or expiry, as the venue reports it (UTC).
closed_time object When the venue actually closed the market (UTC).
result object Venue-reported resolution, as the venue wrote it: usually yes/no (case varies by venue), Kalshi `scalar`, Manifold `CANCEL`/`MKT`, or the winning outcome label for non-Yes/No pairs (e.g. `over 2.5`, `
volume object Lifetime trading volume. 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 Manif
volume_24hr object Trading volume over the last 24 hours. 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
prob_24h_change object Change in `probability` over the last 24 hours, as a fraction on the same [0, 1] scale (0.05 = up 5 percentage points; negative = fell): the current value minus the oldest snapshot recorded in the tra
volume_24h_change object Current `volume_24hr` minus the oldest snapshot of it recorded in the trailing 24h, in the same venue unit (positive = more activity than a day earlier). Null when there is no usable history.
normalized_vol_24hr object `volume_24hr` on a 0-100 log scale within its venue. Computed as 100 x ln(v+1)^2 / ln(cap+1)^2, where cap is the venue's largest value (its second largest when the largest is over 5x it), so it compar
normalized_volume object Lifetime `volume` on a 0-100 log scale within its venue. Computed as 100 x ln(v+1)^2 / ln(cap+1)^2, where cap is the venue's largest value (its second largest when the largest is over 5x it), so it co
liquidity object Liquidity as the venue reports it, in the venue's own unit.
categories array pdata topic categories of the parent event (e.g. Politics, Sports). Empty for orphan markets and uncategorised events.
countries array Countries the market concerns, full English names (at most 3), assigned by pdata's AI tagging. Empty when none applies or not yet tagged.
updated_at string When pdata last wrote this row (UTC): on every fetch from the venue, and again when pdata recomputes a derived field such as 24h volume, so it can be later than `fetched_at`. It is not when the venue
fetched_at string When pdata last fetched this row from the venue (UTC).
added_at object When this market first appeared in pdata's database (UTC). Null for markets loaded with pdata's initial backfill, whose real first appearance is earlier.
url object Public page for this market on the venue's own website. Null when the venue's URL pattern needs data this row lacks.
event_title object Title of the parent event. Use it with `question` when the question is only an outcome label. Null for orphan markets.
chart_24h object Last-24h `probability` series in [0, 1], oldest first, at most 50 points. Null when fewer than 2 snapshots exist in the window.
pdata_url object The parent event's page on pdata.world (markets have no page of their own); for a market with no event, the page under its own id. Always set.
_meta object Response metadata: attribution, canonical URL, as-of time, docs link and `cite_as`, a ready-to-quote citation sentence.
View JSON Schema on GitHub

JSON Schema

pdata-world-market-detail-out-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pdata-world/json-schema/pdata-world-market-detail-out-schema.json",
  "title": "MarketDetailOut",
  "description": "Single-market response: extends MarketOut with `_meta` (agent\nmetadata + cite_as).\n\nKept as a separate wrapper rather than putting `_meta` on MarketOut\nitself so list responses (Page[MarketOut]) don't carry `_meta` on\nevery item — that would inflate response size O(N) for no agent\nbenefit. The list envelope already carries `_meta` once. Parallels\nEventDetailOut(EventOut).",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pdata-world-openapi.json#/components/schemas/MarketDetailOut",
  "properties": {
    "source": {
      "type": "string",
      "title": "Source",
      "description": "Venue the market comes from: polymarket, kalshi, manifold, myriad, limitless, predict, opinion or gemini."
    },
    "id": {
      "type": "string",
      "title": "Id",
      "description": "The venue's own market id; unique within `source`."
    },
    "event_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Event Id",
      "description": "Id of the parent event (same `source`). Null for orphan markets."
    },
    "slug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Slug",
      "description": "The venue's URL slug or ticker for the market, if any."
    },
    "question": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Question",
      "description": "The market's full question as the venue titles it. For outcomes of a multi-outcome event this can be a bare label (e.g. `Phoenix Suns`); pair it with `event_title`."
    },
    "group_item_title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Group Item Title",
      "description": "Short outcome label for display under an already-shown event title, e.g. `Lakers` for 'Will the Lakers win the 2026 NBA Championship?'. Null when the venue supplies no separate label."
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "Resolution rules / description text as published by the venue."
    },
    "image": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Image",
      "description": "Image URL published by the venue."
    },
    "icon": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Icon",
      "description": "Icon URL published by the venue."
    },
    "outcomes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Outcomes",
      "description": "Outcome labels in venue order, usually `[\"Yes\", \"No\"]`; other pairs exist (e.g. `[\"Over\", \"Under\"]`, two team names).",
      "default": []
    },
    "outcome_prices": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "Outcome Prices",
      "description": "Price of each outcome in `outcomes` order, in [0, 1] (0.62 = 62 cents on the dollar).",
      "default": []
    },
    "probability": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Probability",
      "description": "Implied probability of the first outcome (usually YES), in [0, 1]. The venue's own probability where it publishes one, else `outcome_prices[0]`."
    },
    "spread": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Spread",
      "description": "Best ask minus best bid on the first outcome, in price units [0, 1]. Null when the venue publishes no order book."
    },
    "active": {
      "type": "boolean",
      "title": "Active",
      "description": "The venue's own active flag."
    },
    "closed": {
      "type": "boolean",
      "title": "Closed",
      "description": "True once the venue has closed the market to trading (it may or may not have resolved yet; see `result`)."
    },
    "start_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date",
      "description": "When the market opened, as the venue reports it (UTC)."
    },
    "end_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date",
      "description": "Scheduled close or expiry, as the venue reports it (UTC)."
    },
    "closed_time": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Closed Time",
      "description": "When the venue actually closed the market (UTC)."
    },
    "result": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Result",
      "description": "Venue-reported resolution, as the venue wrote it: usually yes/no (case varies by venue), Kalshi `scalar`, Manifold `CANCEL`/`MKT`, or the winning outcome label for non-Yes/No pairs (e.g. `over 2.5`, `Over`, a team name). Polymarket publishes no result field; for it this is derived from its UMA resolution status `resolved` plus a settlement price >= 0.99. Null until the market resolves."
    },
    "volume": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Volume",
      "description": "Lifetime trading volume. 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 when the venue publishes no per-market volume (Gemini reports it per event); 0 means genuinely no trading."
    },
    "volume_24hr": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Volume 24Hr",
      "description": "Trading volume over the last 24 hours. 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. Limitless publishes no 24h figure, so pdata derives it from its own snapshots."
    },
    "prob_24h_change": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Prob 24H Change",
      "description": "Change in `probability` over the last 24 hours, as a fraction on the same [0, 1] scale (0.05 = up 5 percentage points; negative = fell): the current value minus the oldest snapshot recorded in the trailing 24h. Null when there is no price, no snapshot in that window, or the market closed >24h ago."
    },
    "volume_24h_change": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Volume 24H Change",
      "description": "Current `volume_24hr` minus the oldest snapshot of it recorded in the trailing 24h, in the same venue unit (positive = more activity than a day earlier). Null when there is no usable history."
    },
    "normalized_vol_24hr": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Normalized Vol 24Hr",
      "description": "`volume_24hr` on a 0-100 log scale within its venue. Computed as 100 x ln(v+1)^2 / ln(cap+1)^2, where cap is the venue's largest value (its second largest when the largest is over 5x it), so it compares magnitude across venues where raw volume units do not. Null when the input is null or 0."
    },
    "normalized_volume": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Normalized Volume",
      "description": "Lifetime `volume` on a 0-100 log scale within its venue. Computed as 100 x ln(v+1)^2 / ln(cap+1)^2, where cap is the venue's largest value (its second largest when the largest is over 5x it), so it compares magnitude across venues where raw volume units do not. Null when the input is null or 0."
    },
    "liquidity": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Liquidity",
      "description": "Liquidity as the venue reports it, in the venue's own unit."
    },
    "categories": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Categories",
      "description": "pdata topic categories of the parent event (e.g. Politics, Sports). Empty for orphan markets and uncategorised events.",
      "default": []
    },
    "countries": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Countries",
      "description": "Countries the market concerns, full English names (at most 3), assigned by pdata's AI tagging. Empty when none applies or not yet tagged.",
      "default": []
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At",
      "description": "When pdata last wrote this row (UTC): on every fetch from the venue, and again when pdata recomputes a derived field such as 24h volume, so it can be later than `fetched_at`. It is not when the venue last changed the market."
    },
    "fetched_at": {
      "type": "string",
      "format": "date-time",
      "title": "Fetched At",
      "description": "When pdata last fetched this row from the venue (UTC)."
    },
    "added_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Added At",
      "description": "When this market first appeared in pdata's database (UTC). Null for markets loaded with pdata's initial backfill, whose real first appearance is earlier."
    },
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url",
      "description": "Public page for this market on the venue's own website. Null when the venue's URL pattern needs data this row lacks."
    },
    "event_title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Event Title",
      "description": "Title of the parent event. Use it with `question` when the question is only an outcome label. Null for orphan markets."
    },
    "chart_24h": {
      "anyOf": [
        {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Chart 24H",
      "description": "Last-24h `probability` series in [0, 1], oldest first, at most 50 points. Null when fewer than 2 snapshots exist in the window."
    },
    "pdata_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pdata Url",
      "description": "The parent event's page on pdata.world (markets have no page of their own); for a market with no event, the page under its own id. Always set."
    },
    "_meta": {
      "anyOf": [
        {
          "$ref": "#/$defs/ResponseMetaResource"
        },
        {
          "type": "null"
        }
      ],
      "description": "Response metadata: attribution, canonical URL, as-of time, docs link and `cite_as`, a ready-to-quote citation sentence."
    }
  },
  "type": "object",
  "required": [
    "source",
    "id",
    "active",
    "closed",
    "updated_at",
    "fetched_at"
  ],
  "$defs": {
    "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-market-detail-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.