{
"page_title": "Medals by country",
"data_extracted": {
"countries_with_most_medals": [
{
"rank": 1,
"country_name": "United States",
"noc": "USA",
"medals": {
"gold": 1224,
"silver": 1006,
"bronze": 882,
"total": 3112
}
},
{
"rank": 2,
"country_name": "Soviet Union",
"noc": "URS",
"medals": {
"gold": 473,
"silver": 376,
"bronze": 355,
"total": 1204
}
},
{
"rank": 3,
"country_name": "Germany",
"noc": "GER",
"medals": {
"gold": 364,
"silver": 383,
"bronze": 369,
"total": 1116
}
},
{
"rank": 4,
"country_name": "People's Republic of China",
"noc": "CHN",
"medals": {
"gold": 325,
"silver": 258,
"bronze": 221,
"total": 804
}
},
{
"rank": 5,
"country_name": "Great Britain",
"noc": "GBR",
"medals": {
"gold": 318,
"silver": 350,
"bronze": 361,
"total": 1029
}
},
{
"rank": 6,
"country_name": "France",
"noc": "FRA",
"medals": {
"gold": 289,
"silver": 324,
"bronze": 362,
"total": 975
}
},
{
"rank": 7,
"country_name": "Italy",
"noc": "ITA",
"medals": {
"gold": 276,
"silver": 251,
"bronze": 286,
"total": 813
}
},
{
"rank": 8,
"country_name": "Sweden",
"noc": "SWE",
"medals": {
"gold": 218,
"silver": 232,
"bronze": 245,
"total": 695
}
},
{
"rank": 9,
"country_name": "Norway",
"noc": "NOR",
"medals": {
"gold": 211,
"silver": 188,
"bronze": 177,
"total": 576
}
},
{
"rank": 10,
"country_name": "Japan",
"noc": "JPN",
"medals": {
"gold": 206,
"silver": 191,
"bronze": 223,
"total": 620
}
},
{
"rank": 11,
"country_name": "Russian Federation",
"noc": "RUS",
"medals": {
"gold": 193,
"silver": 167,
"bronze": 187,
"total": 547
}
},
{
"rank": 12,
"country_name": "East Germany",
"noc": "GDR",
"medals": {
"gold": 192,
"silver": 165,
"bronze": 162,
"total": 519
}
},
{
"rank": 13,
"country_name": "Hungary",
"noc": "HUN",
"medals": {
"gold": 190,
"silver": 165,
"bronze": 189,
"total": 544
}
},
{
"rank": 14,
"country_name": "Australia",
"noc": "AUS",
"medals": {
"gold": 186,
"silver": 196,
"bronze": 231,
"total": 613
}
},
{
"rank": 15,
"country_name": "Netherlands",
"noc": "NED",
"medals": {
"gold": 166,
"silver": 162,
"bronze": 182,
"total": 510
}
},
{
"rank": 16,
"country_name": "Canada",
"noc": "CAN",
"medals": {
"gold": 156,
"silver": 190,
"bronze": 232,
"total": 578
}
},
{
"rank": 17,
"country_name": "Finland",
"noc": "FIN",
"medals": {
"gold": 149,
"silver": 151,
"bronze": 185,
"total": 485
}
},
{
"rank": 18,
"country_name": "Republic of Korea",
"noc": "KOR",
"medals": {
"gold": 142,
"silver": 130,
"bronze": 127,
"total": 399
}
},
{
"rank": 19,
"country_name": "Switzerland",
"noc": "SUI",
"medals": {
"gold": 120,
"silver": 133,
"bronze": 136,
"total": 389
}
},
{
"rank": 20,
"country_name": "Austria",
"noc": "AUT",
"medals": {
"gold": 95,
"silver": 126,
"bronze": 137,
"total": 358
}
},
{
"rank": 21,
"country_name": "Romania",
"noc": "ROU",
"medals": {
"gold": 93,
"silver": 101,
"bronze": 124,
"total": 318
}
},
{
"rank": 22,
"country_name": "Cuba",
"noc": "CUB",
"medals": {
"gold": 86,
"silver": 70,
"bronze": 88,
"total": 244
}
},
{
"rank": 23,
"country_name": "Poland",
"noc": "POL",
"medals": {
"gold": 83,
"silver": 102,
"bronze": 154,
"total": 339
}
},
{
"rank": 24,
"country_name": "West Germany",
"noc": "FRG",
"medals": {
"gold": 67,
"silver": 82,
"bronze": 94,
"total": 243
}
},
{
"rank": 25,
"country_name": "New Zealand",
"noc": "NZL",
"medals": {
"gold": 65,
"silver": 42,
"bronze": 56,
"total": 163
}
},
{
"rank": 26,
"country_name": "Belgium",
"noc": "BEL",
"medals": {
"gold": 51,
"silver": 59,
"bronze": 74,
"total": 184
}
},
{
"rank": 27,
"country_name": "Spain",
"noc": "ESP",
"medals": {
"gold": 54,
"silver": 77,
"bronze": 61,
"total": 192
}
},
{
"rank": 28,
"country_name": "Unified Team",
"noc": "EUN",
"medals": {
"gold": 54,
"silver": 44,
"bronze": 37,
"total": 135
}
},
{
"rank": 29,
"country_name": "Denmark",
"noc": "DEN",
"medals": {
"gold": 51,
"silver": 58,
"bronze": 62,
"total": 171
}
},
{
"rank": 30,
"country_name": "Czechoslovakia",
"noc": "TCH",
"medals": {
"gold": 51,
"silver": 58,
"bronze": 62,
"total": 171
}
},
{
"rank": 31,
"country_name": "Ukraine",
"noc": "UKR",
"medals": {
"gold": 41,
"silver": 43,
"bronze": 76,
"total": 160
}
},
{
"rank": 32,
"country_name": "Türkiye",
"noc": "TUR",
"medals": {
"gold": 41}}]},"_note":"Response truncated for documentation purposes"}
curl --location --request POST 'https://zylalabs.com/api/5985/olympic+medals+data+api/7978/get+top+100+countries' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{
"country": "United States",
"gold_metals": 1224
}
curl --location --request POST 'https://zylalabs.com/api/5985/olympic+medals+data+api/7979/get+gold+medals+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
{
"country": "United States",
"gold_metals": 1224
}
curl --location --request POST 'https://zylalabs.com/api/5985/olympic+medals+data+api/7980/get+silver+medals+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
{
"country": "United States",
"bronze_metals": 355
}
curl --location --request POST 'https://zylalabs.com/api/5985/olympic+medals+data+api/7981/get+bronze+medals+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
[
{
"country": "United States",
"total_metals": 3112
},
[]
]
curl --location --request POST 'https://zylalabs.com/api/5985/olympic+medals+data+api/7982/get+total+medals+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Olympic Medals Data API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
The Olympic Medals Data API provides comprehensive data on Olympic medals awarded by country, including counts of gold, silver, and bronze medals across various disciplines and events.
You can access the Olympic Medals Data API by sending HTTP requests to the specified endpoint, using the appropriate parameters to filter the data you need.
You can filter the data using parameters such as country codes, medal types (gold, silver, bronze), and specific Olympic events or disciplines.
Yes, the data from the Olympic Medals Data API is updated regularly to reflect the most current information on Olympic medals awarded.
Yes, the Olympic Medals Data API includes historical data on Olympic medals, allowing users to retrieve information from past Olympic Games.
Each endpoint returns specific medal-related data. The "get Top 100 countries" endpoint lists countries with medal counts, while the "get gold/silver/bronze medals by country" endpoints provide counts of each medal type for a specified country. The "get total medals by country" endpoint aggregates all medal types for a country.
Key fields in the response data include "country" (the name of the country), "gold_medals," "silver_medals," "bronze_medals," and "total_medals," which indicate the respective counts of medals won by that country.
The response data is structured in JSON format. Each endpoint returns an object or an array containing country names and their corresponding medal counts, making it easy to parse and utilize in applications.
The API provides information on the top 100 medal-winning countries, and detailed counts of gold, silver, bronze, and total medals for specified countries, allowing users to analyze medal distributions effectively.
Users can specify a country as a parameter for the medal count endpoints (gold, silver, bronze, total). The "get Top 100 countries" endpoint does not require additional parameters, as it retrieves a predefined list.
Users can customize requests by selecting specific countries from the "get Top 100 countries" endpoint and using those country names as parameters in the medal count endpoints to retrieve tailored data.
Typical use cases include sports analytics, historical research on Olympic performance, and comparative studies of medal achievements among countries, useful for journalists, researchers, and sports enthusiasts.
If an endpoint returns an empty result, it indicates that the specified country has not won any medals or the data is unavailable. Users should verify the country name and ensure it is included in the top 100 list for accurate results.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund