Endpoint Playground
Returns a hero's games and wins grouped by game length in five-minute bins (`start_minute` is the bin's first minute), sorted by length, to show whether the hero is stronger early or late. An unknown hero id returns not found.
29 Oct 2026: 23 bins; 4 fields had a value in every checked item.
Sample value profiles: start_minute: 5 to 200, median 60; games: 1 to 2,828, median 56; wins: 0 to 1,407, median 29.
curl 'https://api.crawlora.net/api/v1/opendota/hero-durations?hero_id=1' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| hero_id | integer | Yes | 1 | Positive hero ID from opendota-heroes |
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://api.opendota.com/api/hero-durations",
"fetched_at": "2026-10-28T10:00:00Z",
"hero_id": 1,
"count": 1,
"bins": [
{
"start_minute": 20,
"games": 2400,
"wins": 1300,
"win_rate_percent": 54.17
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.