Sign Up

Log In

AllSportDB.com

FREEMIUM
By AllSportDB
Updated a day ago
Sports
4/10
Popularity Score
1003ms
Latency
91%
Success Rate

AllSportDB.com API Documentation

Get API access to information on our web site AllSportDB.com

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
Main endpoint
GETGet calendar
Other endpoints
GETGet games types
GETGet sports
GETGet continents
GETGet locations
GETGet competitions
GETGet countries
GETGet regions
Flag endpoints
GETGet region flag
GETGet country flag
GETGet calendar

Returns the list of events and games (required parameters: week or dateFrom and dateTo, results limited to 50 records)

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
locationIdNUMBER
OPTIONALlocation object Id, refer to Get Locations method
objectTypeNUMBER
OPTIONALobject type (1 = event, 2 = games, 0 = both)
countryIdNUMBER
OPTIONALcountry object Id, refer to Get Countries method
gamesTypeIdNUMBER
OPTIONALgames type object Id, refer to Get Games Types method
countrySTRING
OPTIONALcountry name
weekNUMBER
OPTIONALweek index (for example, 0 = this week, 1 = next week, -1 = last week, etc.)
regionSTRING
OPTIONALregion name
competitionSTRING
OPTIONALcompetition name
dateFromDATE (YYYY-MM-DD)
OPTIONALperiod start date
sportSTRING
OPTIONALsport name
regionIdNUMBER
OPTIONALregion object Id, refer to Get Regions method
gamesTypeSTRING
OPTIONALgames type name
continentSTRING
OPTIONALcontinent name
locationSTRING
OPTIONALlocation name
pageNUMBER
OPTIONALpage number in case result limit is reached
dateToDATE (YYYY-MM-DD)
OPTIONALperiod end date
competitionIdNUMBER
OPTIONALcompetition object Id, refer to Get Competitions method
continentIdNUMBER
OPTIONALcontinent object Id, refer to Get Continents method
sportIdNUMBER
OPTIONALsport object Id, refer to Get Sports method
Request Snippet
unirest.get("https://allsportdb-com.p.rapidapi.com/calendar?locationId=undefined&objectType=undefined&countryId=undefined&gamesTypeId=undefined&country=undefined&week=undefined&region=undefined&competition=undefined&dateFrom=undefined&sport=undefined&regionId=undefined&gamesType=undefined&continent=undefined&location=undefined&page=undefined&dateTo=undefined&competitionId=undefined&continentId=undefined&sportId=undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://allsportdb-com.p.rapidapi.com/calendar?locationId=undefined&objectType=undefined&countryId=undefined&gamesTypeId=undefined&country=undefined&week=undefined&region=undefined&competition=undefined&dateFrom=undefined&sport=undefined&regionId=undefined&gamesType=undefined&continent=undefined&location=undefined&page=undefined&dateTo=undefined&competitionId=undefined&continentId=undefined&sportId=undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard