Foundation Event Replay API

WebSocket streaming API onto the Foundation event bus. Two channels are documented: a real-time event streamer that pushes every event as it is collected from the floor (backed by a rolling cache of up to 10,000 events or 10 minutes, whichever is smaller, reachable with the start_idx filter), and a historical event streamer that replays a bounded window by nanosecond Unix timestamp or by global index. Both accept the same filter set as query parameters — sas_codes (SAS 6.02 Appendix A Table A-1 exception codes, decimal), asset_number, sas_serial_number, start_idx and limit — and both emit flattened JSON packets carrying a type, the EGM serial and asset number, the player card number and host player id, event and cache timestamps, a global idx ordering field, and per-packet data and meters maps. The host is per-property: is the subdomain of the casino running Foundation, so the base URL is templated rather than a single vendor-operated endpoint. Requests that are not upgraded to a WebSocket are rejected with HTTP 400.

Documentation

Other Resources

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/foundation-event-replay-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
name: Foundation Event Replay API
description: 'WebSocket streaming API onto the Foundation event bus. Two channels are documented: a real-time
  event streamer that pushes every event as it is collected from the floor (backed by a rolling cache
  of up to 10,000 events or 10 minutes, whichever is smaller, reachable with the start_idx filter), and
  a historical event streamer that replays a bounded window by nanosecond Unix timestamp or by global
  index. Both accept the same filter set as query parameters — sas_codes (SAS 6.02 Appendix A Table A-1
  exception codes, decimal), asset_number, sas_serial_number, start_idx and limit — and both emit flattened
  JSON packets carrying a type, the EGM serial and asset number, the player card number and host player
  id, event and cache timestamps, a global idx ordering field, and per-packet data and meters maps. The
  host is per-property: <property> is the subdomain of the casino running Foundation, so the base URL
  is templated rather than a single vendor-operated endpoint. Requests that are not upgraded to a WebSocket
  are rejected with HTTP 400.'
humanURL: https://github.com/acres4/foundation-documentation/blob/master/apis/event/1.4/usage.md
baseURL: wss://{property}.kailabor.com/nex7/sas-reader/ws
x-baseurl-note: Templated per casino property, exactly as the provider documents it — <property> is the
  subdomain for the casino running Foundation (the docs' own example is mycasino.kailabor.com). kailabor.com
  resolves (AWS-hosted, Route 53 nameservers) but has no root site; there is no shared multi-tenant host
  to record and none was invented.
tags:
- Casino Gaming
- Event Streaming
- WebSocket
- Real-Time Data
- Slot Machines
tags_raw:
- casino-gaming
- event-streaming
- websocket
- real-time-data
- slot-machines
properties:
- type: Documentation
  url: https://github.com/acres4/foundation-documentation
- type: APIReference
  url: https://github.com/acres4/foundation-documentation/blob/master/apis/event/1.4/usage.md
- type: Webhooks
  url: asyncapi/acres-manufacturing-foundation-events.yml
- type: Authentication
  url: authentication/acres-manufacturing-authentication.yml
- type: Conventions
  url: conventions/acres-manufacturing-conventions.yml
- type: RateLimits
  url: rate-limits/acres-manufacturing-rate-limits.yml
- type: Lifecycle
  url: lifecycle/acres-manufacturing-lifecycle.yml
- type: Conformance
  url: conformance/acres-manufacturing-conformance.yml
- type: Examples
  url: https://github.com/acres4/foundation-documentation/blob/master/apis/event/1.4/example_1.4.3.json