All Contests

Request

Make a GET request to /api/all (opens in a new tab) or /api/all (opens in a new tab) to get a list of all upcoming contests.

Response

{
  "ok": true,
  "data": {
    "atcoder": [
      {
        "title": "Example Contest of Atcoder 1",
        "url": "https://atcoder.jp/contests/example-contest",
        "startTime": "2023-12-16T09:43:37Z",
        "endTime": "2023-12-16T10:43:37Z",
        "duration": 3600,
        "platform": "Atcoder"
      }
    ],
    "codechef": [],
    "codeforces": [],
    "codeforces-gym": [],
    "hackerearth": [
      {
        "title": "Example Contest of HackerEarth 1",
        "url": "https://www.hackerearth.com/challenges/example-contest",
        "startTime": "2023-12-16T09:43:37Z",
        "endTime": "2023-12-16T10:43:37Z",
        "duration": 3600,
        "platform": "HackerEarth"
      }
    ],
    "hackerrank": [],
    "leetcode": [],
    "toph": []
  },
  "lastUpdated": "2023-12-16T09:43:37Z"
}
Response Details
PropertyTypeDescription
okboolWhether the request was successful - true or false
dataarrayData returned from the API (list of contests)
titlestringTitle of the contest
urlstringUrl of the contest
startTimestringStart time of the contest in UTC ISO 8601 format
endTimestringEnd time of the contest in UTC ISO 8601 format
durationintDuration of the contest in seconds
lastUpdatedstringLast time the data was updated