get

Get WebSocket Token Info 🟨 🟦 🟩

GET https://api.soccerfootball.info/v1/ws/get/

Retrieve information about your active WebSocket token.

Query Parameters

Name
Type
Description

t

string

Your API Token DIRECT API ONLY

Headers

Name
Type
Description

X-RapidAPI-Key

string

Your API token RAPIDAPI ONLY

X-RapidAPI-Host

string

soccerfootballinfo.rapidapi.com RAPIDAPI ONLY

{
  "status": 200,
  "errors": [],
  "pagination": [],
  "result": [
    {
      "token": "abc123xyz789...",
      "server": "wss://ws.soccerfootball.info/?token=abc123xyz789...",
      "max_connections": 35,
      "max_subscribe_per_connection": 10,
      "allowed_channels": ["MAIN", "STATS", "ODDS"],
      "expires_at": "2024-01-15 14:30:00",
      "active_connections": 2
    }
  ]
}

Example of code for direct API

Example of code for RapidAPI

More example of code on rapidAPIarrow-up-right

Last updated