pdata Summary API

The summary API from pdata — 2 operation(s) for summary.

GitHub OpenAPI

Operations 2

GET /api/v1/summary Get Summary #
GET /api/v1/summary/chart Get Summary Chart #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/pdata-world:pdata-world-summary-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

pdata-world-summary-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'pdata.world API: prediction-market data across 8 platforms…'
  description: 'pdata is a read-only aggregator of live prediction-market data across 8 platforms (Polymarket, Kalshi, Manifold, Myriad, Limitless, Predict, Opinion, Gemini). All endpoints are public; no auth, no key, no paid tier.


    Please send a descriptive `User-Agent` naming your app or agent and a URL where its operator can be reached, so a misbehaving client can be contacted instead of blocked. Fair use: at most 50 requests a second per IP address, with bursts of up to 100; for everything at once, use the nightly bulk files at https://api.pdata.world/bulk/.


    **For AI agents:** a Model Context Protocol server is mounted at https://api.pdata.world/mcp exposing 15 of its operations as tools. For non-MCP agents, a plain JSON descriptor of the MCP surface is available at https://api.pdata.world/api/v1/mcp-info. Quickstart guide: https://pdata.world/agents.md. Verbose index with curl examples: https://pdata.world/llms-full.txt.'
  version: 2.8.0
  contact:
    name: pdata agent guide
    url: https://pdata.world/agents
  license:
    name: CC BY 4.0 (pdata aggregation; source data subject to each venue's terms)
    url: https://creativecommons.org/licenses/by/4.0/
  termsOfService: https://pdata.world/about
servers:
- url: https://api.pdata.world
  description: Production
tags:
- name: Summary
paths:
  /api/v1/summary:
    get:
      tags:
      - Summary
      summary: Get Summary
      description: 'Use when an agent needs platform-level context before drilling into individual markets: one row per platform (Polymarket, Kalshi, Manifold, Myriad, Limitless, Predict, Opinion, Gemini) carrying 24h volume in each venue''s own unit, active event and market counts, and that platform''s category mix. Takes no parameters and returns the whole picture in one small response, and answers in one call questions such as ''how big is X relative to Y'' or ''which platform covers this topic''. Volumes are in each platform''s native units — Manifold reports play-money mana, not USD — so do not sum across platforms without saying so.'
      operationId: get_summary
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SummaryOut'
  /api/v1/summary/chart:
    get:
      tags:
      - Summary
      summary: Get Summary Chart
      description: 'Per-source × time-bucket series for the homepage "24h pulse" chart.


        Reads pre-materialized 30-min rows from `chart_buckets` (written by

        `app/pipeline/chart_bucket.py` at the tail of each source''s cycle),

        forward-fills missing buckets, then downsamples at read time for

        the 7d/30d windows.


        Always returns one entry per source present in `chart_buckets`

        within the window. Sources with zero rows in the window are

        omitted (not zero-filled) — matches the prior behavior where a

        source with no event_snapshots produced no `series` row.'
      operationId: get_summary_chart
      parameters:
      - name: window
        in: query
        required: false
        schema:
          enum:
          - 24h
          - 7d
          - 30d
          type: string
          default: 24h
          title: Window
          examples:
          - 7d
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChartOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '400':
          description: 'Bad request: an unknown query parameter, an unknown source, a missing argument, or an invalid value or range. `code` says which; `message` lists what is allowed or what to call first.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorOut'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ChartOut:
      properties:
        window:
          type: string
          title: Window
        buckets:
          items:
            type: string
            format: date-time
          type: array
          title: Buckets
        series:
          items:
            $ref: '#/components/schemas/ChartSeries'
          type: array
          title: Series
        total:
          items:
            type: number
          type: array
          title: Total
        _meta:
          anyOf:
          - $ref: '#/components/schemas/ResponseMetaList'
          - type: 'null'
      type: object
      required:
      - window
      - buckets
      - series
      - total
      title: ChartOut
    ResponseMetaList:
      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.'
      type: object
      required:
      - canonical_url
      title: ResponseMetaList
      description: Agent metadata for list/aggregate responses (no cite_as).
    SummaryOut:
      properties:
        sources:
          items:
            $ref: '#/components/schemas/SourceSummary'
          type: array
          title: Sources
          description: One entry per venue.
        grand_total_volume_24hr:
          type: number
          title: Grand Total Volume 24Hr
          description: Sum of volume_24hr_total over every platform except play-money ones (Manifold's mana is left out). The platforms count volume in different units — Polymarket shares, Kalshi contracts, stablecoin amounts elsewhere — so this is an order-of-magnitude figure, not a dollar total.
        _meta:
          anyOf:
          - $ref: '#/components/schemas/ResponseMetaList'
          - type: 'null'
          description: 'Response metadata: attribution, canonical URL, as-of time and docs link.'
      type: object
      required:
      - sources
      - grand_total_volume_24hr
      title: SummaryOut
    ChartSeries:
      properties:
        source:
          type: string
          title: Source
        values:
          items:
            type: number
          type: array
          title: Values
      type: object
      required:
      - source
      - values
      title: ChartSeries
    SourceSummary:
      properties:
        source:
          type: string
          title: Source
          description: 'Venue: polymarket, kalshi, manifold, myriad, limitless, predict, opinion or gemini.'
        volume_24hr_total:
          type: number
          title: Volume 24Hr Total
          description: 'The venue''s 24-hour trading volume: the sum of its events'' volume_24hr, open and recently closed, a grouped Kalshi game counted once. 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. Do not add it across venues.'
        events_active:
          type: integer
          title: Events Active
          description: 'Top-level events the venue still has open for trading: a Kalshi game pdata groups from sibling events counts once.'
        markets_active:
          type: integer
          title: Markets Active
          description: Markets the venue still has open for trading.
        markets_with_volume:
          type: integer
          title: Markets With Volume
          description: Open markets that traded in the last 24 hours (volume_24hr > 0).
        events_with_volume:
          type: integer
          title: Events With Volume
          description: Open top-level events that traded in the last 24 hours. Use it where markets_with_volume is 0 because the venue reports volume per event (Gemini).
        categories:
          additionalProperties:
            type: number
          type: object
          title: Categories
          description: volume_24hr_total split into four buckets, Crypto, Sports, Prices (price-derivative titles) and Other, in the venue's unit. An event goes to the first bucket that fits, in that order. Empty for a venue with no open events.
        computed_at:
          type: string
          format: date-time
          title: Computed At
          description: When pdata last recomputed these figures (UTC), at the end of each of the venue's ingest cycles.
      type: object
      required:
      - source
      - volume_24hr_total
      - events_active
      - markets_active
      - markets_with_volume
      - events_with_volume
      - categories
      - computed_at
      title: SourceSummary
    ErrorOut:
      description: The body of every error response.
      properties:
        code:
          title: Code
          type: string
          description: Machine-readable reason, e.g. `unknown_param`, `invalid_source`, `missing_argument`, `not_found`.
        message:
          title: Message
          type: string
          description: What went wrong and what to send instead, in one or two sentences.
        detail:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          default: null
          title: Detail
          description: 'Structured extras when there are any: `missing` and `next_tool` for `missing_argument`, `did_you_mean` (closest documented paths) for an unknown path.'
        docs:
          default: https://api.pdata.world/docs
          title: Docs
          type: string
          description: API documentation.
        home:
          default: https://api.pdata.world/
          title: Home
          type: string
          description: The API's front door, which links every surface.
      required:
      - code
      - message
      title: ErrorOut
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
externalDocs:
  url: https://pdata.world/agents
  description: Agent quickstart — MCP setup, citation policy, schema policy.