Endpoint Playground
Returns the items players buy on a hero in four phases (`start_game`, `early_game`, `mid_game`, `late_game`), each sorted by purchase count, with item ids resolved to internal names such as `power_treads` through the item-id table. An unknown hero id returns not found.
29 Oct 2026: 4 phases; 2 fields had a value in every checked item.
Sample value profiles: phase: “start_game” and 3 other values; items: median 15 entries.
curl 'https://api.crawlora.net/api/v1/opendota/hero-items?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-items",
"fetched_at": "2026-10-28T10:00:00Z",
"hero_id": 1,
"phases": [
{
"phase": "early_game",
"items": [
{
"item_id": 29,
"name": "boots",
"count": 99
},
{
"item_id": 56,
"name": "ring_of_health",
"count": 99
}
]
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.