scoreriverDocumentation
Documentation/Filters and pagination
SCORERIVER DEVELOPERS

Filters and pagination

Find the records you need and fetch the next page of results.

Get the next page

Catalog lists use limit (1–100, default 25) and an opaque cursor. page.total counts matching records; page.nextCursor selects the next page at the same watermark. Preserve filters and sorting when following it. Restart without a cursor to read a newer snapshot.

JSON
{ "page": { "limit": 10, "nextCursor": null, "total": 0 } }

Combine search and filters

q performs case-insensitive text search, up to 100 characters. Resource filters narrow the result further. Send multiple values of an array parameter separated by commas: any listed value can match; different parameters must all match. Allowed filters and enum values are listed for each endpoint.

For match status, use matchStatus or its alias status, not both. include=teams,tournament adds related summaries to match responses. Unknown parameters and invalid combinations return 400.

Shell / cURL
curl --get "$SCORERIVER_API_URL/v1/matches" \
  --header "Authorization: Bearer $SCORERIVER_API_KEY" \
  --data-urlencode "matchStatus=scheduled,live" \
  --data-urlencode "include=teams,tournament" \
  --data-urlencode "limit=25"

Sorting and other page formats

Catalog lists use sortBy and sortOrder. Leaderboards use sort and order. Both use limit and cursor, with totals in page.total. Keep the same query when following page.nextCursor. Change feeds have their own journal cursors.