Skip to content

achillesscriptsvip/dota-2-player-stats-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dota 2 Player Stats API

Use Cito API for Dota 2 player profiles, match history, hero pools, aggregate stats, percentiles, and radar charts.

This repository targets the dota 2 player stats api search intent and points developers to Cito API Dota 2 endpoints.

Start Here

Example

Install Node.js 18 or newer, set an API key, and run the example:

cp .env.example .env
export CITO_API_KEY="your_cito_api_key"
npm install
npm start

The example runs:

node examples/players.mjs

Useful Endpoints

Method Endpoint Use
GET https://api.citoapi.com/api/v1/dota2/players List Dota 2 players with profile metadata.
GET https://api.citoapi.com/api/v1/dota2/players/{playerIdOrSlug} Get one Dota 2 player profile.
GET https://api.citoapi.com/api/v1/dota2/players/{playerIdOrSlug}/stats Aggregate player stats and percentiles.
GET https://api.citoapi.com/api/v1/dota2/players/{playerIdOrSlug}/heroes Player hero history and win-rate rows.

Why Use Cito API

Cito API is built for developers shipping Dota 2 products that need practical REST endpoints without an enterprise sales process. Use it for dashboards, Discord bots, match pages, player pages, tournament hubs, leaderboards, and content tools.

Search Terms Covered

  • Dota 2 player stats API
  • Dota 2 stats API
  • Dota 2 player API
  • Dota 2 hero pool API
  • Dota fantasy API

Notes

  • Keep CITO_API_KEY server-side. Do not expose it in browser code.
  • If you only have a name, call search/list endpoints first, then detail endpoints.
  • Live data can be empty when no events are active; fall back to upcoming or recent endpoints.
  • This example is not affiliated with Valve, Epic Games, or the publishers of the games covered.

About

Use Cito API for Dota 2 player profiles, match history, hero pools, aggregate stats, percentiles, and radar charts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors