MAIN

MAIN Channel

The MAIN channel delivers key match events in real-time as they occur.

Availability

Plan
Available

BASIC

No

PRO

Yes

ULTRA

Yes

MEGA

Yes

Events

Event
Description

match_start

Match has started

goal

A goal was scored

halftime

First half ended

second_half_start

Second half started

match_end

Match has ended


match_start

Fired when a match kicks off.

Message

Data Fields

Field
Type
Description

teamA

object

Home team information

teamA.id

string

Team public ID

teamA.name

string

Team name

teamB

object

Away team information

teamB.id

string

Team public ID

teamB.name

string

Team name

championship

object

Championship information

championship.id

string

Championship public ID

championship.name

string

Championship name

championship.country

string

Country

championship.seasonName

string

Season name

startDate

string

Match start time (ISO 8601)


goal

Fired when a goal is scored.

Message

Data Fields

Field
Type
Description

score

string

Current score in format "teamA;teamB"

timer

string

Match minute when goal was scored

team

string

Team that scored: "A" (home) or "B" (away)

Score Format

The score is formatted as "X;Y" where:

  • X = Goals scored by Team A (home)

  • Y = Goals scored by Team B (away)

Example: "2;1" means Team A is winning 2-1.


halftime

Fired when the first half ends.

Message

Data Fields

Field
Type
Description

score

string

Score at halftime in format "teamA;teamB"


second_half_start

Fired when the second half kicks off.

Message

Data Fields

Field
Type
Description

score

string

Current score at second half start


match_end

Fired when the match ends (full time, or after extra time/penalties if applicable).

Message

Data Fields

Field
Type
Description

finalScore

string

Final score in format "teamA;teamB"

score1h

string

First half score in format "teamA;teamB"


Subscription Examples

Subscribe to all MAIN events

Subscribe to a specific match

Subscribe to a league


Example: Tracking a Match

Last updated