pdata Sitemap API
The sitemap API from pdata — 2 operation(s) for sitemap.
The sitemap API from pdata — 2 operation(s) for sitemap.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pdata-world:pdata-world-sitemap-api"
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.
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: 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: Sitemap
paths:
/api/v1/sitemap/events:
get:
tags:
- Sitemap
summary: List events for sitemap generation
description: 'Open, top-level events whose page is indexable, newest change first.
An event is listed when its 24h volume is at least `min_volume_24h`, or
when `/events/{source}/{id}/similar` would return an open cross-platform
equivalent for it. `lastmod` is the last material change pdata recorded
for the event''s page: its creation, the newest outcome added, the latest
outcome closed, or the moment it became indexable, closed, its leading
outcome moved five points or its title changed. A moment of today is
reported with its time only once the page has been told to rebuild;
otherwise it is held at the start of the current UTC day. The frontend
caches the result for an hour.'
operationId: sitemap_events
parameters:
- name: min_volume_24h
in: query
required: false
schema:
type: number
minimum: 0
description: Minimum 24h notional volume for the volume arm. Events with an open cross-platform equivalent are listed whatever their volume.
default: 1000.0
title: Min Volume 24H
examples:
- 1000
description: Minimum 24h notional volume for the volume arm. Events with an open cross-platform equivalent are listed whatever their volume.
- name: limit
in: query
required: false
schema:
type: integer
maximum: 50000
minimum: 1
default: 10000
title: Limit
examples:
- 100
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/SitemapEventOut'
title: Response Sitemap Events
'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/sitemap/movers:
get:
tags:
- Sitemap
summary: List recently-moved events for the freshness sitemap
description: 'Open, top-level events whose odds moved in the trailing 24h.
A "mover" is an open, top-level event with at least one open market
whose absolute 24h probability change (`prob_24h_change`, the same
column the right-rail movers rail ranks on) clears `min_abs_change`.
Ordered by the magnitude of the event''s biggest market move so the
most-newsworthy pages lead when the set exceeds `limit`. `lastmod`
follows the same rule as `/sitemap/events`, so one URL never carries two
dates.
The main `/sitemap/events` carries every listed event; this endpoint is
the subset whose odds moved. The frontend caches the result for an hour.'
operationId: sitemap_movers
parameters:
- name: min_volume_24h
in: query
required: false
schema:
type: number
minimum: 0
description: Minimum event 24h notional volume to be included.
default: 1000.0
title: Min Volume 24H
description: Minimum event 24h notional volume to be included.
- name: min_abs_change
in: query
required: false
schema:
type: number
maximum: 1
minimum: 0
description: Minimum absolute 24h probability change (0..1) of the event's biggest-moving market — 0.05 = a 5pp swing. Mirrors the right-rail 'biggest movers' signal, tuned up from 0.02 so the freshness sitemap stays focused on genuinely newsworthy moves.
default: 0.05
title: Min Abs Change
examples:
- 0.05
description: Minimum absolute 24h probability change (0..1) of the event's biggest-moving market — 0.05 = a 5pp swing. Mirrors the right-rail 'biggest movers' signal, tuned up from 0.02 so the freshness sitemap stays focused on genuinely newsworthy moves.
- name: limit
in: query
required: false
schema:
type: integer
maximum: 5000
minimum: 1
default: 1000
title: Limit
examples:
- 100
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/SitemapEventOut'
title: Response Sitemap Movers
'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
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
SitemapEventOut:
properties:
source:
type: string
title: Source
id:
type: string
title: Id
lastmod:
type: string
format: date-time
title: Lastmod
description: 'Last material change pdata recorded for the event page: its creation, an outcome added or closed, or the moment it became indexable, closed, its leading outcome moved five points or its title changed. A moment of today carries its time only once the page has been told to rebuild; otherwise it is held at the start of the current UTC day.'
type: object
required:
- source
- id
- lastmod
title: SitemapEventOut
description: 'Lightweight event reference for sitemap generation.
One row per open, top-level event whose page is indexable (see
`app/api/routers/sitemap.py`). Drives `frontend/src/app/sitemap.ts`.'
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.