Sport API

Description

Access different sports information. Football leagues; results, standings, goal lists etc.

Pricing per Call: 0.03$
For learn the packages and usage details of the services, go to the pricing page.

End Points

get/goalKings

This endpoint allows to receive goal kings list of many famous Europe football leagues.

Parameters
FieldDescriptionTypeHeaderRequired
data.leagueYou need to assign the code of leagues to this value.text
Example
Request
{
  "uri": "https://api.collectapi.com/sport/goalKings?data.league=spor-toto-super-lig",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "play": "4",
      "goals": "6",
      "name": "Mbaye Diagne"
    },
    {
      "play": "4",
      "goals": "3",
      "name": "Hugo Rodallega"
    },
    {
      "play": "2",
      "goals": "2",
      "name": "Anthony Nwakaeme"
    },
    {
      "play": "3",
      "goals": "2",
      "name": "Ömer Ali Şahiner"
    },
    "..."
  ]
}
get/league

This endpoint allows to receive of many point table famous Europe football leagues.

Parameters
FieldDescriptionTypeHeaderRequired
data.leagueYou need to assign the code of leagues to this value.array
Example
Request
{
  "uri": "https://api.collectapi.com/sport/league?data.league=spor-toto-super-lig",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "rank": "1",
      "lose": "0",
      "win": "4",
      "play": "4",
      "point": "12",
      "team": "Kasımpaşa"
    },
    {
      "rank": "2",
      "lose": "0",
      "win": "3",
      "play": "4",
      "point": "9",
      "team": "Galatasaray"
    },
    {
      "rank": "3",
      "lose": "0",
      "win": "3",
      "play": "4",
      "point": "9",
      "team": "M.Başakşehir"
    },
    {
      "rank": "4",
      "lose": "2",
      "win": "2",
      "play": "4",
      "point": "8",
      "team": "Kayserispor"
    },
    {
      "rank": "5",
      "lose": "2",
      "win": "2",
      "play": "4",
      "point": "8",
      "team": "Atiker Konyaspor"
    },
    "..."
  ]
}
get/results

The service that brings the results of the last week in the European leagues.

Parameters
FieldDescriptionTypeHeaderRequired
data.leagueYou need to assign the code of leagues to this value.text
Example
Request
{
  "uri": "https://api.collectapi.com/sport/results?data.league=spor-toto-super-lig",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "score": "0 - 1",
      "date": "31 Ağustos 2018 Cuma 21:45",
      "away": "Atiker Konyaspor",
      "home": "EY Malatyaspor"
    },
    {
      "score": "2 - 3",
      "date": "01 Eylül 2018 Cumartesi 19:15",
      "away": "Kayserispor",
      "home": "Fenerbahçe"
    },
    {
      "score": "1 - 1",
      "date": "01 Eylül 2018 Cumartesi 19:15",
      "away": "DG Sivasspor",
      "home": "Akhisarspor"
    },
    "..."
  ]
}
get/formulaStanding

Formula 1 pilot table.

Example
Request
{
  "uri": "https://api.collectapi.com/sport/formulaStanding",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "point": "331",
      "team": "Mercedes",
      "order": "1",
      "name": "Lewis Hamilton"
    },
    {
      "point": "264",
      "team": "Ferrari",
      "order": "2",
      "name": "Sebastian Vettel"
    },
    {
      "point": "207",
      "team": "Mercedes",
      "order": "3",
      "name": "Valtteri Bottas"
    },
    {
      "point": "196",
      "team": "Ferrari",
      "order": "4",
      "name": "Kimi Räikkönen"
    }
  ]
}
get/htmlTable

Service that brings the status of points in European leagues. List of leagues; Spor Toto Süper Lig : spor-toto-super-lig, Premier Lig : ingiltere-premier-ligi...

Parameters
FieldDescriptionTypeHeaderRequired
data.leagueYou need to assign the code of leagues to this value.text
typeYou need to specify whether the result should be image or html (image, html)text
Example
Request
{
  "uri": "https://api.collectapi.com/sport/htmlTable?data.league=spor-toto-super-lig&type=image",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": {
    "url": "https://next.maytap.me/api/cache/igen/5cc04b550ab4a8054cac31e6"
  }
}