Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Latest commit

 

History

History
109 lines (92 loc) · 2.7 KB

README.md

File metadata and controls

109 lines (92 loc) · 2.7 KB

Paris 2024 Olympics and Paralympics Medal API

paris-2024

An unofficial API for the Paris 2024 summer Olympics and Paralympics medal tally.

Hosted at https://api.olympics.kevle.xyz/ Over 500k requests made to the API

Deploy yourself:

Deploy with Vercel

Usage

Query Parameters

For both endpoints

Example Response

{
  "last_updated": "2024-07-28T06:28:31+00:00",
  "length": 4,
  "results": [
    {
      "country": {
        "code": "AUS",
        "iso_alpha_2": "AU",
        "iso_alpha_3": "AUS",
        "name": "Australia"
      },
      "medals": {
        "bronze": 0,
        "gold": 3,
        "silver": 2,
        "total": 5
      },
      "rank": 1
    },
    {
      "country": {
        "code": "CHN",
        "iso_alpha_2": "CN",
        "iso_alpha_3": "CHN",
        "name": "China"
      },
      "medals": {
        "bronze": 1,
        "gold": 2,
        "silver": 0,
        "total": 3
      },
      "rank": 2
    },
    {
      "country": {
        "code": "USA",
        "iso_alpha_2": "US",
        "iso_alpha_3": "USA",
        "name": "United States"
      },
      "medals": {
        "bronze": 2,
        "gold": 1,
        "silver": 2,
        "total": 5
      },
      "rank": 3
    },
    {
      "country": {
        "code": "FRA",
        "iso_alpha_2": "FR",
        "iso_alpha_3": "FRA",
        "name": "France"
      },
      "medals": {
        "bronze": 1,
        "gold": 1,
        "silver": 2,
        "total": 4
      },
      "rank": 4
    }
  ],
  "source": "olympics.com"
}

Copyright

All trademarks, data, and other relevant properties are the copyright and property of the International Olympic Committee (IOC)/ International Paralympic Committee (IPC).