NPCs API
The NPCs API provides access to all non-player characters in the game, including their locations, dialogue, combat stats, and interactions.
Endpoint
Authentication
All requests require the X-API-Key header. See Authentication for details.
Query Parameters
Response
NPC Object
Examples
Get All NPCs
Returns a list of all NPCs in the game (excluding NPCs marked as hidden from API).
Response:
Get Specific NPC
Response:
Get Elite Difficulty NPC
Response:
JavaScript Example
NPC Difficulty Levels
NPCs have different difficulty levels indicated by the difficulty field:
- 0 (Normal) - Standard enemies with basic stats
- 1 (Elite) - Stronger enemies with enhanced stats and passive skills
- 2 (Veteran) - Very powerful enemies with high stats and unique abilities
NPC Properties
Species
The type of creature the NPC is (Robot, Rat, Human, Demon, Slime, etc.)
Combat Stats
All NPCs have combat statistics:
- damageMin / damageMax - Damage range for attacks
- healthMin / healthMax - Health point range
- armour - Damage reduction
Passive Skills
Array of passive abilities the NPC possesses (e.g., "Fleet Feet", "Heavy Hands")
Loot
Items that can be obtained from defeating the NPC:
- itemName - Name of the dropped item
- chance - Probability of drop (0-100)
- quantityMin / quantityMax - Amount range that can drop
- qualityMin / qualityMax - Quality range of the dropped item (0-4)
Error Responses
Notes
- Hidden NPCs: Some NPCs may be hidden from the API and won't appear in responses
- Name Parameter: NPC names are case-sensitive. Make sure to URL-encode NPC names with spaces
- All NPCs: When no
nameparameter is provided, all non-hidden NPCs are returned
Use Cases
- Create combat guides with NPC stats and strategies
- Build loot tables and drop rate calculators
- Display NPC bestiaries with species information
- Develop difficulty-based encounter guides
- Create item farming guides based on NPC drops
- Build game wikis and databases