Skip to Content
PredictorSDK

Filtering

Narrow the list of matched sports events by league, date or participant, and look up specific matches by identifier.

Two routes read matched sports games:

  • GET /v1/matching-markets/sports lists them, soonest first, and takes the filters below. A game stays listed through the day after its date, so the first games can be over; see Include settled events.
  • GET /v1/matching-markets/sports/lookup finds the games behind IDs you already have, and reports what each ID found.

The market catalog, GET /v1/markets, has filters of its own: by category and by provider.

Filtering the list

Called without parameters, GET /v1/matching-markets/sports returns the first page of currently matched events. Narrow it with these parameters:

ParameterTypeDescriptionExample
leaguenba, wnba, nfl, mlb or nhlOnly that league's eventsnfl
scheduled_datedate, YYYY-MM-DDOnly the games on that day, read in America/New_York2026-10-25
participantstringOnly events with a participant whose key is this (participants[].key), case-insensitivelyokc
include_settledbooleanAlso draw from the settled archive: past-dated and cancelled games (see below)true
include_submarketsbooleanEvery matched submarket instead of the full-game moneylinetrue
include_rulesboolean, default falseEach game line also lists its rule_comparisons rows (see game-line rules)true
player_prop_matchstrict or same_propPlayer-prop admission policysame_prop

league, scheduled_date and participant combine, so ?league=nfl&scheduled_date=2026-10-25 returns NFL games on that day, and pagination.total counts only the games that match. Each is named after the response field it filters on. A value the API doesn't accept, such as an unknown league or a date that isn't real, is a 400 that quotes it: the API never ignores a filter, because an ignored filter would return a full page that only looks filtered. An empty value (league=) is a 400 too; leave the parameter out to get everything.

Participant keys are unique only within a league: la is the Rams in the NFL and the Sparks in the WNBA. Pair participant with league unless you want both. A key is the lower-case code in participants[].key (okc, sas, no for the Saints), the same one source_markets[] outcomes refer to.

Cursors are bound to the filters that issued them. limit and cursor work as described in Pagination, but a next_cursor replayed with a different league, scheduled_date, participant, include_settled, include_submarkets or player_prop_match is a 400; start again from the first page when you change a filter. include_rules is the exception: it shapes each event and never selects one, so a cursor continues with or without it.

For canonical player props, include_submarkets=true uses strict settlement equivalence by default. Add player_prop_match=same_prop to include verified same-prop identities with different or unverified rules. This policy works with every filter on this page, list pagination, and include_settled; it does not change game-line matching. See the options and rule matrix.

When a game is scheduled

Every event, in the list and in a lookup, says when it is scheduled:

FieldValue
scheduled_dateThe game's calendar day in America/New_York, YYYY-MM-DD. Always present.
scheduled_startThe start in UTC at millisecond precision (2026-10-21T00:30:00.000Z) when a venue published an exact start time, otherwise null.

A game that starts at 8:30 PM Eastern on the 20th is on the 20th although its scheduled_start falls on the 21st in UTC; scheduled_date is the day to filter, group and display by. The day is the one the default list judges the game by: the day of its start in Eastern time, and never earlier than the date its event_id ends in. A postponed game takes its new day.

scheduled_start is null when no venue published an exact time. Kalshi's tickers carry a date and no time, a venue's "time to be announced" placeholder is not a start, and games matched before start times were recorded read null too (archived games for up to 30 days after that change). null means "no exact start is known", never a guess at one, and scheduled_date still names the day. When venues disagree, the earliest exact start is published. Both fields are schedule identity, not a status: they do not say whether a game has started, ended or been postponed.

Looking events up by identifier

GET /v1/matching-markets/sports/lookup takes identifiers instead of filters, and needs at least one:

ParameterTypeDescriptionExample
event_idstring (repeatable)Look up canonical event key(s)nba-okc-sas-2026-10-20
source_idstring (repeatable)Look up a venue market's market_id, market_slug or event_id (or a Polymarket, Predict, AlphaArcade or Hyperliquid outcome token, or a Polymarket condition ID), as {provider}:{id}kalshi:KXNBAGAME-26OCT20OKCSAS
include_settledbooleanAlso search the settled archive: past-dated and cancelled gamestrue
include_submarketsboolean, default trueEvery matched submarket (false for the moneyline alone)false
include_rulesboolean, default falseEach game line also lists its rule_comparisons rows (see game-line rules)true
player_prop_matchstrict or same_propPlayer-prop admission policysame_prop

The lookup answers { data, lookups, snapshot }: the games found, each once, what each ID found, and how old the data is. It returns everything in one response, so it takes no limit, cursor or list filters; sending one is a 400 that lists what the route accepts. Sending event_id or source_id to the list route is a 400 that names the lookup route.

source_id takes any market_id, market_slug or event_id a venue market publishes, prefixed with its provider. Some venues accept more:

ProviderIDs it accepts after {provider}:
kalshiAn event or market ticker
polymarketA market ID, slug or event slug; an outcome token; a condition ID, the condition_id wallet positions carry
predictA market ID; an outcome token
sxbetA market hash; an L… fixture ID
alpha-arcadeA ULID or slug; an outcome token
prophetxAn event ID; an <event>:<market> ID, which names its line on a matched spread, total or prop (<event>:<market>:<line>)
predA parent ID; a <parent>:<child> pair
limitlessA market slug
hyperliquidAn outcome ID; an outcome token, with its leading # sent as %23

A few rules hold for every lookup:

  • The provider comes first. Only the text before the first colon is the provider, so IDs that contain colons need no escaping. A bare ID with no provider is a 400, because IDs aren't unique across venues.
  • Side names aren't IDs. Kalshi's, Pred's, Limitless's and Polymarket US's yes and no, and SX Bet's outcomeOne and outcomeTwo, name a side of every market on the venue, so they answer 400 pointing you to the market's market_id. ProphetX's small side numbers aren't lookup IDs either.
  • Case doesn't matter. event_id=NBA-OKC-SAS-2026-10-20 finds the same game as the lower-case key, and a Kalshi ticker typed in lower case finds the same game as Kalshi's own upper-case spelling.
  • Repeat a parameter for several values, mixing event_id and source_id and any venues, up to 100 different IDs per request. A comma-joined value (source_id=kalshi:<id-1>,kalshi:<id-2>) and an empty one are 400s, and so is a request with no ID at all.
  • Errors name the value. Every 400 quotes the value it rejected, so you can find it in a batch.

Market categories

Use GET /v1/categories to list the canonical category values, then pass one to GET /v1/markets:

GET /v1/markets?category=sports
GET /v1/markets?category=crypto

Only the canonical category values are accepted (case-insensitive). Any other value returns 400, so use the list from GET /v1/categories rather than provider-native tags like mlb or btc.

The category filter is part of pagination scope, so keep the same category value when following a next_cursor.

Market providers

GET /v1/markets walks providers in a fixed order (kalshi, polymarket, predict, sxbet, hyperliquid, alpha-arcade, prophetx, limitless, pred), so without a filter the first pages are all Kalshi, and reaching a later provider means paging through every earlier one. Pass provider instead:

GET /v1/markets?provider=sxbet
GET /v1/markets?provider=alpha-arcade

The value is each row's own provider field, the source key Sources lists for each venue. Only those nine values are accepted, in any case. Anything else is a 400 listing the legal ones, including spellings the provider parameter on GET /v1/markets/{market_id} tolerates, such as sx_bet, hl or px:

{
  "code": "invalid_parameter",
  "message": "invalid provider \"sx_bet\": must be one of kalshi, polymarket, predict, sxbet, hyperliquid, alpha-arcade, prophetx, limitless, pred",
  "status_code": 400,
  "param": "provider"
}

pagination.total counts only that provider's rows, and a next_cursor only works with the same provider value.

snapshot.observed_at narrows with it. Unfiltered, it is when the oldest venue crawl behind the page began, a floor for the whole catalog; under provider, it is when that venue's own crawl began. So filtering is also the cheapest way to get an exact age instead of a cautious one; see Pagination.

Both filters compose, and the result is the intersection:

GET /v1/markets?provider=polymarket&category=sports

provider on GET /v1/markets filters a list. The provider parameter on GET /v1/markets/{market_id} and GET /v1/events/{event_id} has the same name and values but another job: it says which venue a single ID belongs to. It also tolerates a few spellings, such as sx_bet, that the list filter rejects.

Examples

Filter the list

GET /v1/matching-markets/sports?league=nfl&scheduled_date=2026-10-25
GET /v1/matching-markets/sports?league=nba&participant=okc

The second request is the Thunder's games. pagination.total is the number of events that match, and the cursor continues that filtered list.

Look up a canonical event directly

Use this route when you already hold the stable event key; there is no need to page through the list to rediscover it.

GET /v1/matching-markets/sports/lookup?event_id=nba-okc-sas-2026-10-20

Look up by a venue's own ID

Prefix the ID with its provider. A source market's market_id, market_slug or event_id works. These are the source_id values of GET /v1/matching-markets/sports/lookup:

?source_id=kalshi:KXNBAGAME-26OCT20OKCSAS        # Kalshi event ticker
?source_id=kalshi:KXNBAGAME-26OCT20OKCSAS-OKC    # Kalshi market ticker
?source_id=sxbet:L19766755                       # SX Bet fixture
?source_id=polymarket:nfl-pit-no-2026-10-25      # Polymarket slug

ProphetX lists games only about a week ahead, and AlphaArcade and Pred IDs are long, so copy those from a venue market in a current list response: its market_id, or for ProphetX and Pred its event_id too. A venue ID stops finding anything once the venue stops listing it: after the game for most markets, and sometimes during it for player props.

?source_id=prophetx:YOUR_EVENT_ID
?source_id=prophetx:YOUR_EVENT_ID:YOUR_MARKET_ID
?source_id=alpha-arcade:YOUR_MARKET_ULID
?source_id=pred:YOUR_PARENT_ID:YOUR_CHILD_ID
?source_id=pred:YOUR_PARENT_ID
?source_id=limitless:<market_slug>
?source_id=polymarket:YOUR_CLOB_TOKEN_ID          # an outcome token

A lookup finds the game an identifier belongs to and returns it with every matched submarket, so the spread, total or prop market you looked up is in it. Add include_submarkets=false for the moneyline alone.

Look up several events at once

Repeat either parameter, and mix them and the venues freely:

GET /v1/matching-markets/sports/lookup?event_id=nba-okc-sas-2026-10-20&source_id=kalshi:KXNBAGAME-26OCT20BOSDET&source_id=sxbet:L19766755

Return all matched events

GET /v1/matching-markets/sports

No parameters required. Returns the first page of currently matched sports events with its cross-platform identifiers and schedule. See Pagination for how to traverse larger result sets.

Include settled events

?include_settled=true

include_settled picks which events the request draws from, and it applies to the lookup route as well as to the list.

By default you get today's games, plus one day of grace so a late game that runs past midnight Eastern isn't dropped while it is still being played. Set include_settled=true to add the settled archive: games that left live matching, usually because the venues settled or delisted them, kept for 30 days. That includes older games (even ones a venue still lists as open) and cancelled games, which can be dated in the future.

What counts is the game's date, scheduled_date, not what a venue says. So scheduled_date=2026-10-01 matches nothing by default once that day has passed, and matches that day's games with include_settled=true. A game missing from the default list hasn't necessarily been settled by its venues; it just isn't current. A postponed game takes its new date and stays current until it is played. If you hold the event_id of a game that has been played, ask with include_settled=true: without it, the lookup answers 200 and lists your ID in lookups with no events.

A game that has started keeps every venue market it was matched with once it started, including a player prop a venue closed during the game because its result was reached, and a market a venue listed while it was played. That is what reconciling a settlement needs, and it holds both for today's finished games and, with include_settled=true, for older ones. Games archived before October 4, 2026 are the exception: they kept only the venues still listing them when they left, usually two. They leave the 30-day archive by November 4, 2026.

A game that was cancelled and never played is left out by default, in the list and in lookups. The signal is Polymarket settling its moneyline 50-50 (it does that when a game is cancelled with no make-up), and the game leaves the default list within about ten minutes of it. include_settled=true still returns the game with the markets matched to it, so a position on one of them can be reconciled. Because that signal is Polymarket's, a cancelled game Polymarket never listed stays in the list until its date passes. So does a cancelled NFL game, because a tied NFL game also settles 50-50.

This works alongside pagination and the filters above, but include_settled is part of cursor scope, so changing it mid-traversal requires starting over from page 1.

Check how old the answer is

Matching runs continuously in the background, and both routes read its stored result. Every response, including a lookup that found nothing, carries snapshot.observed_at: when the oldest venue read behind the result began.

{
  "data": [],
  "lookups": { "nba-okc-sas-2026-10-20": { "event_ids": [] } },
  "snapshot": { "observed_at": "2026-09-19T21:14:07.412Z" }
}

Each venue is re-read about every 30 seconds, and a venue's last good read is used for at most 10 minutes. So while matching is healthy, observed_at is normally under two minutes old and never more than about 12. An older value means the data has stopped updating. Then a game missing from the response is unknown, not unmatched: a game listed after the data froze can't be in it. Check the age before acting on an absence:

from datetime import datetime, timedelta, timezone

from predictorsdk import PredictorSDK

client = PredictorSDK(token="YOUR_API_KEY")
response = client.lookup_sports_matching_markets(event_id="nba-okc-sas-2026-10-20")

observed = response.snapshot.observed_at
if observed is None or datetime.now(timezone.utc) - observed > timedelta(minutes=15):
    raise RuntimeError("matching snapshot is stale; treat a missing event as unknown")

A recent observed_at says the snapshot is updating; it does not promise every venue is in it. A venue whose reads keep failing is dropped from the snapshot once its last good read is 10 minutes old, so its events can be missing even from a current one.

observed_at is null when the age is unknown, for example while a snapshot written before this field existed is still being served. Pages of one cursor traversal can come from successive snapshots, so the value can advance between pages; settled events added by include_settled=true do not affect it.

See every submarket

GET /v1/matching-markets/sports?include_submarkets=true

A list page covers games whose full-game moneyline is matched, and each game carries only that submarket, so submarkets is never empty and pages stay small. include_submarkets=true adds every other matched submarket in the same shape, plus games matched only on those. A lookup returns every submarket already; include_submarkets=false narrows it to the moneyline.

Each submarket carries its market type, period, line, settlement rules where they matter, canonical outcomes and each venue's own market and outcome IDs. It carries no prices, statuses, liquidity, fees or order books: send the IDs to market detail for those.

What a lookup found

data lists each matched event once, soonest scheduled start first, on both routes. A lookup adds lookups, which reports every event_id and source_id you sent with the events it found:

"lookups": {
  "kalshi:KXNBAGAME-26OCT20OKCSAS": { "event_ids": ["nba-okc-sas-2026-10-20"] },
  "sxbet:L19766755": { "event_ids": ["nba-okc-sas-2026-10-20"] },
  "kalshi:KXNBA-27-SAS": { "event_ids": [] }
}

Each identifier is reported as you sent it, with whitespace around the provider and ID trimmed. Matching ignores case, but the key keeps your spelling, so you can index the result by your own strings. Two identifiers of one game list the same event, which data holds once. An identifier that found nothing lists no events: it is unknown, the market is matched by no other venue, the game is past-dated (see include_settled), the game's only matches are player props that the player_prop_match policy excludes (send player_prop_match=same_prop), or, under include_submarkets=false, the game's full-game moneyline is not matched.

Do not confuse the canonical event_id with source_markets[].event_id. The canonical key is PredictorSDK's stable cross-venue ID, which the lookup's event_id takes. The source-market field is native to one venue and names that venue's parent event, for GET /v1/events/{event_id}; to look it up here, prefix it with its provider and send it as source_id. A venue ID sent as event_id (a Kalshi ticker, a numeric ID, an L… fixture, an 0x hash) is a 400 that says so, and so is one that matches no canonical event but is a venue's identifier. That is most often a Polymarket slug, which can differ from the canonical key: a night game's slug carries the UTC date (nfl-sea-den-2026-10-16 for the canonical nfl-sea-den-2026-10-15), and Polymarket spells some teams differently. The 400 names the provider to send it under. See Which identifier goes where.

List and lookup

The two routes differ in what they answer:

GET /v1/matching-markets/sportsGET /v1/matching-markets/sports/lookup
Use it toBrowse or filter the scheduleFind the events behind identifiers you hold
Selects withleague, scheduled_date, participantevent_id and source_id (at least one, 100 unique at most)
Responsedata, pagination, snapshotdata, lookups, snapshot
PagesKeyset cursor, default limit=25, max 100None: one bounded response
SubmarketsThe full-game moneyline unless include_submarkets=trueEvery matched submarket unless include_submarkets=false

limit, cursor, league, scheduled_date, participant, include_settled, include_submarkets, include_rules and player_prop_match each take one value; sending one twice is a 400, as is a value they do not accept, and every such 400 quotes the value. Both routes include the snapshot block described in Check how old the answer is, and both are read with the same markets.matching.read permission and counted as one request each.

Response size

Responses are gzip-compressed when the request allows it (every SDK does). Roughly, for a limit=100 page (the high end is an NFL weekend, when every venue lists the games):

RequestJSONGzipped
Default (full-game moneylines)240–300 KB60–75 KB
include_submarkets=true2–5 MB450 KB–1 MB
include_submarkets=true&player_prop_match=same_prop10–11 MB1.2–1.6 MB

Player props make the last row heavy on an NFL weekend. Use a smaller limit, or look up the events you need, if that size matters to you.

The game-line rule rows (include_rules=true) are heavy too: they can make up more than half of a page with every submarket, which is why they are opt-in. Ask for them on a lookup or a small page.

On this page