{"id":21270785,"url":"https://github.com/explodingcamera/cs2leaderboard","last_synced_at":"2025-07-11T05:32:25.744Z","repository":{"id":197444654,"uuid":"698667007","full_name":"explodingcamera/cs2leaderboard","owner":"explodingcamera","description":"API with historical data for the Counter-Strike: 2 leaderboard, updated daily.","archived":false,"fork":false,"pushed_at":"2024-10-30T01:42:07.000Z","size":72331,"stargazers_count":14,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-30T03:59:16.766Z","etag":null,"topics":["api","counter-strike","counter-strike-2","leaderboard"],"latest_commit_sha":null,"homepage":"https://explodingcamera.github.io/cs2leaderboard/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/explodingcamera.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-30T15:45:31.000Z","updated_at":"2024-10-30T01:42:11.000Z","dependencies_parsed_at":"2023-10-12T10:37:34.330Z","dependency_job_id":"b0a60353-f21a-424f-93f4-8e0abf364b82","html_url":"https://github.com/explodingcamera/cs2leaderboard","commit_stats":null,"previous_names":["explodingcamera/cs2leaderboard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explodingcamera%2Fcs2leaderboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explodingcamera%2Fcs2leaderboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explodingcamera%2Fcs2leaderboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explodingcamera%2Fcs2leaderboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/explodingcamera","download_url":"https://codeload.github.com/explodingcamera/cs2leaderboard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225694180,"owners_count":17509312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","counter-strike","counter-strike-2","leaderboard"],"created_at":"2024-11-21T08:18:42.681Z","updated_at":"2024-11-21T08:18:43.257Z","avatar_url":"https://github.com/explodingcamera.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cs2leaderboard\n\nA free-to-use API for the CS2 leaderboard data. Includes daily snapshots of the leaderboard and useful metadata, such as game stats and ratings. Feel free to use this data for your own projects, but please link back to this repository if you do.\n\n# API Endpoints\n\n\u003e **Data for a specific region or 'global'**\\\n\u003e [https://explodingcamera.github.io/cs2leaderboard/data/latest/{region}.json](https://explodingcamera.github.io/cs2leaderboard/data/latest/{region}.json)\n\n\u003e **Historical data for a specific region or 'global'**\\\n\u003e [https://explodingcamera.github.io/cs2leaderboard/data/historical/{region}/{date}.json](https://explodingcamera.github.io/cs2leaderboard/data/historical/{region}/{date}.json)\n\n| Parameter | Type | Description |\n| :--- | :--- | :--- |\n| `region` | `string` | A list of all regions can be found [here](https://explodingcamera.github.io/cs2leaderboard/data/meta.json) |\n| `date` | `string` | A list of all captured dates can be found [here](https://explodingcamera.github.io/cs2leaderboard/data/timestamps.csv) |\n\nReturns the leaderboard data for the given region on the given date.\nReturns the latest leaderboard data for the given region.\n\n## Example Response\n```json\n[\n  {\n    \"rank\": 1,\n    \"rating\": 18302,\n    \"name\": \"uDEADSHOT\",\n    \"matches_won\": 45,\n    \"matches_lost\": 4,\n    \"map_stats\": {\n      \"anubis\": 1,\n      \"inferno\": 0,\n      \"mirage\": 3,\n      \"vertigo\": 3,\n      \"overpass\": 0,\n      \"nuke\": 0,\n      \"ancient\": 3,\n      \"undefined\": 0\n    },\n    \"time_achieved\": \"2023-10-02T17:38:41.000Z\",\n    \"region\": \"africa\"\n  },\n  [...]\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplodingcamera%2Fcs2leaderboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexplodingcamera%2Fcs2leaderboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplodingcamera%2Fcs2leaderboard/lists"}