wow-api-unit-player

Reference World of Warcraft Retail Unit and Player APIs for addon development.

1|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/pfchrono/SimpleUnitFrames --skill wow-api-unit-player-pfchrono
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wow-api-unit-player
Source: https://github.com/pfchrono/SimpleUnitFrames/tree/main/.agents/skills/wow-api-unit-player
Command: npx skills add https://github.com/pfchrono/SimpleUnitFrames --skill wow-api-unit-player-pfchrono

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive reference for World of Warcraft's Unit and Player APIs, enabling developers to query and manipulate in-game unit data with precision.

Core Features & Use Cases

  • Unit Identity & State: Retrieve names, GUIDs, health, power, and status for any unit.
  • Aura Management: Query and manage buffs, debuffs, and private auras on units.
  • Player Character Details: Access player stats, equipment, and combat information.
  • Use Case: Build custom UI elements like unit frames that display real-time health, power, and active buffs for players and their targets.

Quick Start

Use the wow-api-unit-player skill to get the current health percentage of your target.

Frequently Asked Questions about wow-api-unit-player

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get target health and power data for WoW addon unit frames?

Querying unit health and power percentages in WoW addons involves using UnitId tokens with the Unit and Player APIs to retrieve real-time health, power, stats, and combat state for any specified target.

What is a UnitId token and how does it work in World of Warcraft Lua?

A UnitId token in World of Warcraft Lua is a string identifier like "player" or "target" used to query specific unit data. The Unit and Player APIs use these tokens to return GUIDs, health, power, auras, and combat stats.

Can I query private auras and buff management APIs for WoW Retail?

Yes, you can query private auras and buff management APIs for WoW Retail. The Unit and Player APIs provide comprehensive functions to query and manage buffs, debuffs, and private auras active on any specified unit.

Does this WoW API reference cover player equipment and paper doll stats?

Yes, this WoW API reference covers player equipment and paper doll stats. It provides access to player character details, including equipment, paper doll information, inspection data, and combat stats for addon development.

How do I retrieve threat and casting info using WoW Unit APIs?

To retrieve threat and casting info using WoW Unit APIs, you call the specific functions provided in the reference to query casting details and threat levels for any unit, enabling real-time combat UI development and addon integration.