[{"id":1,"name":"npc_dota_hero_antimage","name_loc":"Anti-Mage","name_english_loc":"Anti-Mage","primary_attr":1,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/antimage.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_agility.png"},{"id":2,"name":"npc_dota_hero_axe","name_loc":"Axe","name_english_loc":"Axe","primary_attr":0,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/axe.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_strength.png"},{"id":3,"name":"npc_dota_hero_bane","name_loc":"Bane","name_english_loc":"Bane","primary_attr":2,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/bane.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_intelligence.png"},{"id":4,"name":"npc_dota_hero_bloodseeker","name_loc":"Bloodseeker","name_english_loc":"Bloodseeker","primary_attr":1,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/bloodseeker.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_agility.png"},{"id":5,"name":"npc_dota_hero_crystal_maiden","name_loc":"Crystal Maiden","name_english_loc":"Crystal Maiden","primary_attr":2,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/crystal_maiden.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_intelligence.png"},{"id":6,"name":"npc_dota_hero_drow_ranger","name_loc":"Drow Ranger","name_english_loc":"Drow Ranger","primary_attr":1,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/drow_ranger.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_agility.png"},{"id":7,"name":"npc_dota_hero_earthshaker","name_loc":"Earthshaker","name_english_loc":"Earthshaker","primary_attr":0,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/earthshaker.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_strength.png"},{"id":8,"name":"npc_dota_hero_juggernaut","name_loc":"Juggernaut","name_english_loc":"Juggernaut","primary_attr":1,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/juggernaut.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_agility.png"},{"id":9,"name":"npc_dota_hero_mirana","name_loc":"Mirana","name_english_loc":"Mirana","primary_attr":1,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/mirana.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_agility.png"},{"id":11,"name":"npc_dota_hero_nevermore","name_loc":"Shadow Fiend","name_english_loc":"Shadow Fiend","primary_attr":1,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/shadow_fiend.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_agility.png"},{"id":10,"name":"npc_dota_hero_morphling","name_loc":"Morphling","name_english_loc":"Morphling","primary_attr":1,"complexity":3,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/morphling.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_agility.png"},{"id":12,"name":"npc_dota_hero_phantom_lancer","name_loc":"Phantom Lancer","name_english_loc":"Phantom Lancer","primary_attr":1,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/phantom_lancer.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_agility.png"},{"id":13,"name":"npc_dota_hero_puck","name_loc":"Puck","name_english_loc":"Puck","primary_attr":2,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/puck.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_intelligence.png"},{"id":14,"name":"npc_dota_hero_pudge","name_loc":"Pudge","name_english_loc":"Pudge","primary_attr":0,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/pudge.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_strength.png"},{"id":15,"name":"npc_dota_hero_razor","name_loc":"Razor","name_english_loc":"Razor","primary_attr":1,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/razor.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_agility.png"},{"id":16,"name":"npc_dota_hero_sand_king","name_loc":"Sand King","name_english_loc":"Sand King","primary_attr":0,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/sand_king.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_strength.png"},{"id":17,"name":"npc_dota_hero_storm_spirit","name_loc":"Storm Spirit","name_english_loc":"Storm Spirit","primary_attr":2,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/storm_spirit.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_intelligence.png"},{"id":18,"name":"npc_dota_hero_sven","name_loc":"Sven","name_english_loc":"Sven","primary_attr":0,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/sven.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_strength.png"},{"id":19,"name":"npc_dota_hero_tiny","name_loc":"Tiny","name_english_loc":"Tiny","primary_attr":0,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/tiny.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_strength.png"},{"id":20,"name":"npc_dota_hero_vengefulspirit","name_loc":"Vengeful Spirit","name_english_loc":"Vengeful Spirit","primary_attr":1,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/vengeful_spirit.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_agility.png"},{"id":21,"name":"npc_dota_hero_windrunner","name_loc":"Windranger","name_english_loc":"Windranger","primary_attr":2,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/windranger.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_intelligence.png"},{"id":22,"name":"npc_dota_hero_zuus","name_loc":"Zeus","name_english_loc":"Zeus","primary_attr":2,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/zeus.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_intelligence.png"},{"id":23,"name":"npc_dota_hero_kunkka","name_loc":"Kunkka","name_english_loc":"Kunkka","primary_attr":0,"complexity":2,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/kunkka.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_strength.png"},{"id":25,"name":"npc_dota_hero_lina","name_loc":"Lina","name_english_loc":"Lina","primary_attr":2,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/lina.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_intelligence.png"},{"id":31,"name":"npc_dota_hero_lich","name_loc":"Lich","name_english_loc":"Lich","primary_attr":2,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/lich.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_intelligence.png"},{"id":26,"name":"npc_dota_hero_lion","name_loc":"Lion","name_english_loc":"Lion","primary_attr":2,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/lion.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_intelligence.png"},{"id":27,"name":"npc_dota_hero_shadow_shaman","name_loc":"Shadow Shaman","name_english_loc":"Shadow Shaman","primary_attr":2,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/shadow_shaman.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_intelligence.png"},{"id":28,"name":"npc_dota_hero_slardar","name_loc":"Slardar","name_english_loc":"Slardar","primary_attr":0,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/slardar.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_strength.png"},{"id":29,"name":"npc_dota_hero_tidehunter","name_loc":"Tidehunter","name_english_loc":"Tidehunter","primary_attr":0,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/tidehunter.png","attribute_img":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/icons/hero_strength.png"},{"id":30,"name":"npc_dota_hero_witch_doctor","name_loc":"Witch Doctor","name_english_loc":"Witch Doctor","primary_attr":2,"complexity":1,"image":"https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/witch_doctor.png"},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/1025/heroes+of+dota+two+api/922/get+dota+heroes' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Heroes of Dota Two API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
The Heroes of Dota2 API is the perfect solution for gaming platforms, sports media and any other organization or individual who needs detailed hero data. With this API, developers can easily create applications or websites that provide users with the great heroes of DOTA2.
Overall, the Heroes of Dota2 API is a powerful and versatile tool that provides developers with easy access to detailed hero data, making it possible to create a wide range of applications and websites that can help users better understand and enjoy the game.
Dota 2 is one of the most competitive games in the world and is played all over the planet, with professional teams and players competing in leagues and tournaments.
It will receive a parameter and provide you with a JSON.
Gaming Platforms: DOTA2 API can be used by gaming platforms to provide users with detailed hero data, including abilities, strengths, and weaknesses, as well as performance statistics. This can help users make more informed decisions when playing the game.
Fantasy Sports Platforms: The DOTA2 API can be used by fantasy sports platforms to provide users with data, allowing them to make more informed decisions when drafting heroes for their fantasy teams.
Esports Teams: Esports teams can use the DOTA2 API to track the performance of heroes, both individually and as a team. This can help them make decisions about hero picks, game strategies, and player development.
Besides API call limitations per month, there are no other limitations.
The "Get Dota Heroes" endpoint returns detailed information about Dota 2 heroes, including their names, images, primary attributes, complexity levels, and unique identifiers.
Key fields in the response include "id" (hero identifier), "name" (internal name), "name_loc" (localized name), "name_english_loc" (English name), "primary_attr" (attribute type), "complexity" (difficulty level), and "image" (hero image URL).
The response data is organized as a JSON array, where each hero's information is encapsulated in an object containing key-value pairs for attributes like name, complexity, and images.
This endpoint provides information on hero names, images, primary attributes (strength, agility, intelligence), complexity ratings, and unique identifiers, allowing users to understand hero characteristics.
Currently, the "Get Dota Heroes" endpoint does not accept parameters for customization. Users simply call the endpoint to receive the complete list of heroes.
"primary_attr" indicates the hero's main attribute type (0 for strength, 1 for agility, 2 for intelligence), while "complexity" rates the hero's difficulty on a scale, helping players choose heroes that match their skill level.
Typical use cases include developing gaming platforms that display hero stats, creating fantasy sports tools for drafting heroes, and enabling esports teams to analyze hero performance for strategic decisions.
Data accuracy is maintained through regular updates from official Dota 2 sources, ensuring that the hero information reflects the latest game changes and balance adjustments.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund