{
"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"}'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 奥林匹克奖牌数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
奥林匹克奖牌数据API提供了有关各国获得的奥林匹克奖牌的全面数据,包括各个项目和赛事中金、银、铜奖牌的数量
您可以通过向指定端点发送HTTP请求来访问奥林匹克奖牌数据API,使用适当的参数来过滤您需要的数据
您可以使用国家代码、奖牌类型(黄金、白银、铜牌)以及特定的奥林匹克项目或学科来过滤数据
是的,奥运奖牌数据API中的数据定期更新以反映颁发的奥运奖牌的最新信息
是的,奥运奖牌数据API包含关于奥运奖牌的历史数据,允许用户检索过去奥运会的信息
每个端点返回特定的奖牌相关数据 "获取前100个国家"端点列出了奖牌数量的国家 而"按国家获取金/银/铜奖牌"端点提供指定国家每种奖牌类型的数量 "按国家获取总奖牌"端点汇总了一个国家的所有奖牌类型
响应数据中的关键字段包括“国家”(国家名称)、“金牌”、“银牌”、“铜牌”和“总奖牌”,这些字段表示该国赢得的各类奖牌数量
响应数据采用JSON格式结构。每个端点返回一个对象或一个包含国家名称及其相应奖牌数量的数组,使其易于解析和在应用程序中使用
该API提供前100名获奖国家的信息,以及指定国家的金、银、铜和总奖牌的详细统计,允许用户有效分析奖牌分布
用户可以将国家指定为奖牌计数端点(黄金、白银、铜、总数)的参数 “获取前100个国家”端点不需要额外的参数,因为它检索预定义的列表
用户可以通过从“获取前100个国家”端点选择特定国家来自定义请求,并使用这些国家名称作为参数在奖牌计数端点中检索定制数据
典型的用例包括体育分析 奥林匹克表现的历史研究 以及各国奖牌成就的比较研究 对记者 研究人员 和体育爱好者都很有用
如果端点返回空结果,则表示指定的国家没有获得任何奖牌或数据不可用 用户应该验证国家名称并确保其包含在前100名列表中以获得准确结果