pdata Map API

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

GitHub OpenAPI

Operations 2

GET /api/v1/map/heat Map Heat #
GET /api/v1/map/timeline Map Timeline #

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-map-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-map-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: Map
paths:
  /api/v1/map/heat:
    get:
      tags:
      - Map
      summary: Map Heat
      description: 'Use when you need a geographic snapshot of where prediction-market attention is concentrated. Returns per-country heat for the current moment (`at=now`) or a past hour (`at=`). A country''s heat is the sum, over its markets that moved in the last 24 hours, of each market''s news score |Δprob in points| × log10(1 + 24h volume in USD terms, Manifold mana at 0.01), capped at 100 per market. Volume fields are venue-reported and mix units (shares, contracts, unconverted mana): an order of magnitude, not dollars.'
      operationId: map_heat
      parameters:
      - name: at
        in: query
        required: false
        schema:
          type: string
          description: '''now'' (live cache) or an ISO-8601 timestamp for a past hourly frame.'
          default: now
          title: At
        description: '''now'' (live cache) or an ISO-8601 timestamp for a past hourly frame.'
      - name: source
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'Restrict to one source (only honored when at=now): polymarket, kalshi, manifold, myriad, limitless, predict, opinion, gemini.'
          title: Source
          examples:
          - polymarket
        description: 'Restrict to one source (only honored when at=now): polymarket, kalshi, manifold, myriad, limitless, predict, opinion, gemini.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MapHeatOut'
        '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'
  /api/v1/map/timeline:
    get:
      tags:
      - Map
      summary: Map Timeline
      description: 'Use when you need the hourly total-heat time series: one point per hour, `total` being the sum of every country''s heat at that hour (heat as defined in map_heat). History accretes from launch (no backfill); the whole series comes in one response, with no paging, and grows by one point an hour.'
      operationId: map_timeline
      parameters:
      - name: source
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Reserved; playback history is source_scope='all' in v1.
          title: Source
          examples:
          - polymarket
        description: Reserved; playback history is source_scope='all' in v1.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MapTimelineOut'
        '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
    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).
    MapTopMarket:
      properties:
        source:
          type: string
          title: Source
          description: Venue the market comes from.
        market_id:
          type: string
          title: Market Id
          description: The venue's market id.
        event_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Event Id
          description: The parent event's id, if any.
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
          description: The market's title with its event's context, e.g. `Fed decision in Dec 2026? — Hike 25bps`.
        url:
          anyOf:
          - type: string
          - type: 'null'
          title: Url
          description: External source-platform URL for this market; None if unknown.
        delta_pp:
          type: number
          title: Delta Pp
          description: Signed probability change over the last 24 hours, in percentage points (first vs last snapshot in the window).
        vol:
          type: number
          title: Vol
          description: The market's venue-reported 24h volume, in the venue's own unit (shares, contracts, mana); not converted between venues.
        prob:
          anyOf:
          - type: number
          - type: 'null'
          title: Prob
          description: Current implied probability (0-1); None if unknown.
        more:
          type: integer
          title: More
          description: Count of other moved markets in the same event (collapsed into this row).
          default: 0
        pdata_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Pdata Url
          description: The market's event page on pdata.world (the market's own id when it has no event). Always set.
      type: object
      required:
      - source
      - market_id
      - delta_pp
      - vol
      title: MapTopMarket
    MapTimelineOut:
      properties:
        source:
          anyOf:
          - type: string
          - type: 'null'
          title: Source
          description: 'Always null: the history covers all venues.'
        series:
          items:
            $ref: '#/components/schemas/MapTimelinePoint'
          type: array
          title: Series
          description: Hourly points, oldest first.
        _meta:
          $ref: '#/components/schemas/ResponseMetaList'
          description: 'Response metadata: attribution, canonical URL, as-of time and docs link.'
      type: object
      required:
      - series
      - _meta
      title: MapTimelineOut
    MapHeatOut:
      properties:
        as_of:
          type: string
          format: date-time
          title: As Of
          description: When this frame was computed (UTC).
        at:
          type: string
          title: At
          description: '''now'' or the resolved snapshot ISO timestamp.'
        source:
          anyOf:
          - type: string
          - type: 'null'
          title: Source
          description: The venue filter applied, or null for all venues.
        reference:
          anyOf:
          - type: number
          - type: 'null'
          title: Reference
          description: Display yardstick (p95 per-country heat, 30d).
        total_heat:
          type: number
          title: Total Heat
          description: Sum of every country's `heat_abs` in this frame.
        total_heat_avg_30d:
          anyOf:
          - type: number
          - type: 'null'
          title: Total Heat Avg 30D
          description: Mean of the hourly all-venue `total_heat` over the last 30 days; null without history.
        frame:
          items:
            $ref: '#/components/schemas/MapHeatCountry'
          type: array
          title: Frame
          description: One row per country, highest heat first.
        _meta:
          $ref: '#/components/schemas/ResponseMetaList'
          description: 'Response metadata: attribution, canonical URL, as-of time and docs link.'
      type: object
      required:
      - as_of
      - at
      - total_heat
      - frame
      - _meta
      title: MapHeatOut
    MapHeatCountry:
      properties:
        country:
          type: string
          title: Country
          description: Country, full English name.
        heat_abs:
          type: number
          title: Heat Abs
          description: 'Heat: the sum, over the country''s markets that moved in the last 24 hours, of each market''s news score |Δprob in points| × log10(1 + 24h volume in USD terms), capped at 100 per market.'
        intensity:
          type: number
          title: Intensity
          description: heat_abs / rolling-30d reference, clamped to [0,1].
        total_markets:
          type: integer
          title: Total Markets
          description: Geo-tagged, non-excluded markets active in the trailing 24h.
          default: 0
        total_volume:
          type: number
          title: Total Volume
          description: 'Sum of lifetime volume over the country''s markets, venue-reported in mixed units (shares, contracts and unconverted mana): an order of magnitude, not dollars.'
          default: 0.0
        volume_24hr:
          type: number
          title: Volume 24Hr
          description: 'Sum of 24h volume over the country''s markets, in the same mixed units as `total_volume`: an order of magnitude, not dollars.'
          default: 0.0
        top_markets:
          items:
            $ref: '#/components/schemas/MapTopMarket'
          type: array
          title: Top Markets
          description: The country's moving markets with the highest heat, one per event.
      type: object
      required:
      - country
      - heat_abs
      - intensity
      - top_markets
      title: MapHeatCountry
    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
    MapTimelinePoint:
      properties:
        t:
          type: string
          format: date-time
          title: T
          description: The hour, UTC.
        total:
          type: number
          title: Total
          description: 'Sum of per-country heat at that hour (heat as in `map_heat`: the capped news score summed over a country''s moving markets).'
      type: object
      required:
      - t
      - total
      title: MapTimelinePoint
    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.