Hero Metadata & Image API
You can use the following endpoints to access Hero metadata and static images of DFK Heroes by Hero ID.
Hero Metadata
Returns metadata about the requested Hero
GET https://heroes.defikingdoms.com/token/{id}
Example - https://heroes.defikingdoms.com/token/1
Path Parameters
| Name | Type | Description |
|---|---|---|
| * | integer | The ID of the requested Hero. E.g.: Note: Heroes native to Crystalvale have IDs that are padded by |
Hero Static Image
Returns a static, transparent png image of the requested Hero.
GET https://heroes.defikingdoms.com/image/{id}
Example - https://heroes.defikingdoms.com/image/1
Path Parameters
| Name | Type | Description |
|---|---|---|
| id* | integer | The ID of the requested Hero. E.g.: Note: Heroes native to Crystalvale have IDs that are padded by |