Getting started
This guide explains how to establish and maintain a WebSocket connection to the Soccer Football API real-time service.
Connection URL
There is two connection urls:
wss://ws-eu.soccerfootball.info/?token=YOUR_WEBSOCKET_TOKEN
wss://ws-as.soccerfootball.info/?token=YOUR_WEBSOCKET_TOKEN
You must use the connection URL in response of /v1/ws/new call.
Connection flow
GET /v1/ws/new → Obtain WebSocket token
Connect to WSS → Establish WebSocket connection
Subscribe to channels → Start receiving events
Handle events → Process incoming messages
Renew token → Before expiration (every ~25 minutes)
Last updated