For the complete documentation index, see llms.txt. This page is also available as Markdown.

Metadata Feed

Metadata Feed
  • Establish connection to metadata feed.

  • Metadata has one type of message, which contains metadata for an event. Depending on the type of sport it can have different types of metadata.

  • Store received data in database or cache.

  • It is highly recommended to display metadata for Thoroughbreds, Greyhounds and Harness. For these sports metadata is displayed in cards for competitors. It is your decision, what metadata and how to show.

  • Reconnection should be automatically handled by integration. Automatic Reconnection should happen with revision = UNIX timestamp seconds of last received message - 60 seconds

  • If a sport has metadata type listed, it doesn’t guarantee this type is available for all events in this sport.

  • What metadata types are sent for sports can be checked in the Metadata API section.

Metadata API

Heartbeat Support

The new endpoint supports heartbeat messages so it's possible to differentiate idle periods from technical issues.

Heartbeat Timing

  • Heartbeat every 10 seconds

  • Expected flow: Delta or Heartbeat message

Connection Timeout Rules If there is no delta or heartbeat messages received for 30 seconds then it's required to close current connection and reconnect using LastUpdatedTime from last processed message. Our system closes stale connections automatically.

Message Wrapper Structure

All messages (deltas or heartbeats) are wrapped in the following structure:

Last updated