Overview
Every raid activity in Destiny 2 generates a unique instance identified by an instance ID. RaidHub tracks these instances and provides detailed information including player performance, completion status, modifiers, and more.What is an Instance?
An instance represents a single playthrough of a raid activity. Each instance has:- A unique instance ID (64-bit integer)
- Completion status and timing information
- Player roster and individual statistics
- Activity modifiers and skull hashes
- Scoring and ranking information
What is a PGCR?
A PGCR (Post Game Carnage Report) is the raw data from Bungie’s API containing detailed statistics about an activity. RaidHub stores compressed PGCRs and provides two ways to access instance data:- Instance Extended (
/instance/{instanceId}) - RaidHub’s formatted view with additional metadata - Raw PGCR (
/pgcr/{instanceId}) - Bungie’s original PGCR data
Getting Instance Details
Use the/instance/{instanceId} endpoint to get comprehensive instance information.
Basic Instance Request
Instance Properties
Core Instance Data
Unique identifier for the instance
Activity version hash
Activity definition ID
Version definition ID
Whether the activity was completed
Number of players in the instance
Total score (for scored activities)
Special Completion Flags
Whether this was a fresh clear (no encounter checkpoints used)
Whether the run was flawless (no player deaths)
Whether completed during the Day One period (typically first 24 hours)
Whether completed during contest mode period
Whether completed during the first week
Whether the instance has been flagged/blacklisted
Timing Information
ISO 8601 timestamp when the activity started
ISO 8601 timestamp when the activity completed
Total duration in seconds
Destiny 2 season ID when the activity occurred
Additional Instance Data
Platform where the activity occurred (1=Xbox, 2=PSN, 3=Steam, etc.)
Array of modifier hashes applied to the activity
The instance’s rank on relevant leaderboards (if applicable)
Activity metadata including
activityName, versionName, and isRaidUnderstanding Instance Players
Each instance includes detailed player information in theplayers array.
Player Data Structure
Player Fields
Whether the player completed the activity
Whether this was the player’s first clear of this activity
Number of sherpa runs this player has across all activities
Total time the player spent in the activity
Array of characters the player used (players can switch characters mid-raid)
Character Statistics
Each character entry includes combat statistics:- Performance: kills, assists, deaths, precision kills
- Ability usage: super kills, grenade kills, melee kills
- Weapons: detailed weapon statistics with kills and precision kills
- Class info: class hash and emblem hash
- Timing: time played on this specific character
Getting Raw PGCRs
Use the/pgcr/{instanceId} endpoint to get the raw Post Game Carnage Report from Bungie’s API.
Raw PGCR Request
PGCR vs Instance Extended
- Instance Extended
- Raw PGCR
Use
/instance/{instanceId} when you want:- RaidHub’s formatted data structure
- Additional metadata (activity names, leaderboard ranks)
- Simplified player and character data
- Fresh/flawless/day-one flags
- Better integration with other RaidHub endpoints
The PGCR endpoint is useful as a fallback when Bungie’s API is experiencing issues, since RaidHub caches all PGCRs.
Common Use Cases
Analyzing a Raid Completion
Finding Flawless Runs
Examining Player Performance
Checking Activity Modifiers
Finding Day One Completions
Analyzing Weapon Usage
Instance from Player History
Instance IDs can be obtained from a player’s activity history:Error Handling
Common Errors
The specified instance ID does not exist in the RaidHub database
The PGCR data for this instance is not available
Example Error Response
Not all instances have complete data. Older instances or those from private activities may have limited information.
Understanding Character Switching
Players can switch characters during a raid. Thecharacters array tracks each character used:
- Completion status (completed characters first)
- Time played (most time played first)
Best Practices
Cache Instance Data
Instance data rarely changes. Cache responses for 5+ minutes.
Use Instance Extended
Prefer
/instance over /pgcr for better metadata and formattingHandle Missing Data
Some fields may be null or empty, especially for older instances
Check Blacklist Status
The
isBlacklisted flag indicates suspicious or invalid completionsRelated Endpoints
Player History
Get a player’s activity history to find instance IDs
Leaderboards
Find top instances on contest and speed leaderboards