Enka.Network API - Genshin Impact

July 30, 2025 ยท View on GitHub

Table of Content

Data Structure

NameDescription
playerInfoProfile Info
avatarInfoListList of detailed information for every character from showcase

playerInfo

For basic data of characters by ID, go to store/characters.json.
For any additional info, check the Characters Data.

NameDescription
nicknamePlayer Nickname
signatureProfile Signature
worldLevelPlayer World Level
namecardIdProfile Namecard ID
finishAchievementNumNumber of Completed Achievements
towerFloorIndexAbyss Floor
towerLevelIndexAbyss Floor's Chamber
showAvatarInfoListList of Character IDs and Levels
showNameCardIdListList of Namecard IDs
profilePicture.avatarIdCharacter ID of Profile Picture

showAvatarInfoList

NameDescription
avatarIdCharacter ID
levelCharacter Level
costumeIdID of character's skin. Check "Costumes" in store/characters.json

avatarInfoList

For basic data of characters by ID, go to store/characters.json.
For any additional info, check the Characters Data.

NameDescription
avatarIDCharacter ID
talentIdListList of Constellation IDs
There is no data if 0 Constellation
propMapCharacter Info Properties List
fightPropMap -> {id: value}Map of Character's Combat Properties.
Check the Definitions for IDs
skillDepotIdCharacter Skill Set ID
Skills Data -> "id"
inherentProudSkillListList of Unlocked Skill Ids
Skills Data -> "inherentProudSkillOpens"
skillLevelMap -> {skill_id: level}Map of Skill Levels
Skills Data -> "inherentProudSkillOpens"
equipListList of Equipments: Weapon, Ariftacts
fetterInfo.expLevelCharacter Friendship Level

propMap

NameDescription
typeID of Property Type, Check the Definitions for IDs
ivalIgnore it
valValue of Property

equipList

NameDescription
itemIdEquipment ID
Artifacts Data -> "id"
Weapons Data -> "id"
weapon [Weapon Only]Weapon Base Info
reliquary [Artifact Only]Artifact Base Info
flatDetailed Info of Equipment

weapon

For any additional info about weapons, check the Weapons Data

NameDescription
levelWeapon Level
promoteLevelWeapon Ascension Level
affixMapWeapon Refinement Level [0-4]

reliquary

For any additional info about artifacts, check the Artifacts Data

NameDescription
levelArtifact Level [1-21]
mainPropIdArtifact Main Stat ID
MainProps Data
appendPropIdListList of IDs of the artifact substats
AppendProp Data

flat

NameDescription
nameTextHashMapHash for Equipment Name
Check Localizations
setNameTextHashMap [Artifact Only]Hash for Artifact Set Name
Check Localizations
rankLevelRarity Level of Equipment
reliquaryMainstat [Artifact Only]Artifact Main Stat
reliquarySubstats [Artifact Only]List of Artifact Substats
weaponStats [Weapon Only]List of Weapon Stat: Base ATK, Substat
itemTypeEquipment Type: Weapon or Artifact
iconEquipment Icon Name
Icon name usage
equipType [Artifact Only]Artifact Type

reliquaryMainstat, reliquarySubstats, weaponStats

NameDescription
mainPropId / appendPropIDEquipment Append Property Name. Check the Definitions for Names
propValueProperty Value

Definitions

Prop

TypeDescription
1001XP
1002Ascension
4001Level

FightProp

TypeDescription
1Base HP
2HP
3HP%
4Base ATK
5ATK
6ATK%
7Base DEF
8DEF
9DEF%
10Base SPD
11SPD%
20CRIT Rate
22CRIT DMG
23Energy Recharge
26Healing Bonus
27Incoming Healing Bonus
28Elemental Mastery
29Physical RES
30Physical DMG Bonus
40Pyro DMG Bonus
41Electro DMG Bonus
42Hydro DMG Bonus
43Dendro DMG Bonus
44Anemo DMG Bonus
45Geo DMG Bonus
46Cryo DMG Bonus
50Pyro RES
51Electro RES
52Hydro RES
53Dendro RES
54Anemo RES
55Geo RES
56Cryo RES
70Pyro Energy Cost
71Electro Energy Cost
72Hydro Energy Cost
73Dendro Energy Cost
74Anemo Energy Cost
75Cryo Energy Cost
76Geo Energy Cost
77Maximum Special Energy
78Special Energy Cost
80Cooldown reduction
81Shield Strength
1000Current Pyro Energy
1001Current Electro Energy
1002Current Hydro Energy
1003Current Dendro Energy
1004Current Anemo Energy
1005Current Cryo Energy
1006Current Geo Energy
1007Current Special Energy
1010Current HP
2000Max HP
2001ATK
2002DEF
2003SPD
3025Elemental reaction CRIT Rate
3026Elemental reaction CRIT DMG
3027Elemental reaction (Overloaded) CRIT Rate
3028Elemental reaction (Overloaded) CRIT DMG
3029Elemental reaction (Swirl) CRIT Rate
3030Elemental reaction (Swirl) CRIT DMG
3031Elemental reaction (Electro-Charged) CRIT Rate
3032Elemental reaction (Electro-Charged) CRIT DMG
3033Elemental reaction (Superconduct) CRIT Rate
3034Elemental reaction (Superconduct) CRIT DMG
3035Elemental reaction (Burn) CRIT Rate
3036Elemental reaction (Burn) CRIT DMG
3037Elemental reaction (Frozen (Shattered)) CRIT Rate
3038Elemental reaction (Frozen (Shattered)) CRIT DMG
3039Elemental reaction (Bloom) CRIT Rate
3040Elemental reaction (Bloom) CRIT DMG
3041Elemental reaction (Burgeon) CRIT Rate
3042Elemental reaction (Burgeon) CRIT DMG
3043Elemental reaction (Hyperbloom) CRIT Rate
3044Elemental reaction (Hyperbloom) CRIT DMG
3045Base Elemental reaction CRIT Rate
3046Base Elemental reaction CRIT DMG

ItemType

NameDescription
ITEM_WEAPONWeapon
ITEM_RELIQUARYArtifact

EquipType

NameDescription
EQUIP_BRACERFlower
EQUIP_NECKLACEFeather
EQUIP_SHOESSands
EQUIP_RINGGoblet
EQUIP_DRESSCirclet

AppendProp

NameDescription
FIGHT_PROP_BASE_ATTACK [Weapon]Base ATK
FIGHT_PROP_HPFlat HP
FIGHT_PROP_ATTACKFlat ATK
FIGHT_PROP_DEFENSEFlat DEF
FIGHT_PROP_HP_PERCENTHP%
FIGHT_PROP_ATTACK_PERCENTATK%
FIGHT_PROP_DEFENSE_PERCENTDEF%
FIGHT_PROP_CRITICALCrit RATE
FIGHT_PROP_CRITICAL_HURTCrit DMG
FIGHT_PROP_CHARGE_EFFICIENCYEnergy Recharge
FIGHT_PROP_HEAL_ADDHealing Bonus
FIGHT_PROP_ELEMENT_MASTERYElemental Mastery
FIGHT_PROP_PHYSICAL_ADD_HURTPhysical DMG Bonus
FIGHT_PROP_FIRE_ADD_HURTPyro DMG Bonus
FIGHT_PROP_ELEC_ADD_HURTElectro DMG Bonus
FIGHT_PROP_WATER_ADD_HURTHydro DMG Bonus
FIGHT_PROP_WIND_ADD_HURTAnemo DMG Bonus
FIGHT_PROP_ICE_ADD_HURTCryo DMG Bonus
FIGHT_PROP_ROCK_ADD_HURTGeo DMG Bonus
FIGHT_PROP_GRASS_ADD_HURTDendro DMG Bonus

Icons and Images

You can get icons of characters, weapons and artifacts via Enka, by URL https://enka.network/ui/[icon_name].png.
Usually icon name starts with "UI_" or "Skill_" for characters talents.
For example https://enka.network/ui/UI_AvatarIcon_Side_Ambor.png.

Weapons and Artifacts

Go to flat and look for icon.

Characters, Talents and Consts

Go to store/characters.json and look for anything related to "UI_XXXXXX" or "Skill_XXXXXX" by character ID.

Localizations

You may notice "NameTextMapHash" in store/characters.json, "nameTextHashMap" and "setNameTextHashMap" at flat that could be used as a key to get basic localization data of characters, weapons and artifacts from store/loc.json.
Also you can get localization data of AppendProp by using property name as a key - "FIGHT_PROP_HP", "FIGHT_PROP_HEAL_ADD" etc.

For any additional info about names, descriptions and etc, check the TextMap Data, only includes languages supported by game.

Wrappers

TS/JS - https://www.npmjs.com/package/enkanetwork.js - Jelosus1

TS/JS - https://github.com/yuko1101/enka-network-api - yuko1101

Rust - https://github.com/eratou/enkanetwork-rs - eratou

Python - https://github.com/mrwan200/enkanetwork.py - mrwan200

Python - https://github.com/seriaati/enka-py - seriaati

Java - https://github.com/kazuryyx/EnkaNetworkAPI - kazury

C# - https://github.com/aliafuji/EnkaDotnet - aliafuji

C# - https://github.com/Carried520/EnkaSharp - Carried520

Go - https://github.com/kirinyoku/enkanetwork-go - kirinyoku