Data Dictionary

Data Dictionary

Reference for all status codes, field values, and enumerated types used across RotoWire API responses.


Injury Status Codes

The InjuryStatus field appears on player and update objects across all injury and news endpoints.

CodeFull NameMeaning
OUTOutPlayer will not play. Confirmed inactive.
GTDGame-Time DecisionStatus undecided; team will assess closer to game time.
QQuestionablePlayer is uncertain to play. Lower confidence than GTD.
DDoubtfulUnlikely to play; injury is significant.
IRInjured ReserveOn the official injured reserve list; ineligible to play for at least a set period.
IR-RIR - Return DesigneeOn IR but designated for return; eligible to practice and return within a window.
PUPPhysically Unable to PerformPre-season IR designation; cannot practice or play until cleared.
SUSPSuspendedPlayer is serving a league suspension.
DNPDid Not PlayPost-game designation; player dressed but was not used.
NANot AvailablePlayer is unavailable for non-injury reasons (personal, rest, etc.).
ACTActivePlayer is confirmed active and available to play.

NBA-specific: The NBAInjuryStatus field uses the official NBA designations: QUESTIONABLE, DOUBTFUL, OUT, DAY_TO_DAY. This mirrors the official NBA injury report terminology.


Update Priority Levels

The Priority field on news and injury updates indicates impact level. Use max_priority as a query parameter to filter by minimum priority.

PriorityLevelTypical Use Case
1CriticalStar player ruled out; significant last-minute lineup change; major trade.
2HighStarter questionable or doubtful; notable injury update with DFS/fantasy impact.
3MediumRotation player update; minor injury news; expected return timeline.
4LowPractice participation note; depth chart adjustment; minor transaction.
5InformationalGeneral roster news; non-impactful updates.

Filtering example:

# Only return Priority 1 and 2 updates
curl "https://api.rotowire.com/Basketball/get-nba-injuries.php?key=YOUR_API_KEY&max_priority=2"

Position Codes

Basketball (NBA / WNBA / CBB)

CodePosition
GGuard
FForward
CCenter
G/FGuard/Forward
F/CForward/Center

Baseball (MLB)

CodePosition
SPStarting Pitcher
RPRelief Pitcher
CPClosing Pitcher
CCatcher
1BFirst Base
2BSecond Base
3BThird Base
SSShortstop
LFLeft Field
CFCenter Field
RFRight Field
OFOutfield
DHDesignated Hitter

Football (NFL / CFB)

CodePosition
QBQuarterback
RBRunning Back
FBFullback
WRWide Receiver
TETight End
OTOffensive Tackle
OGOffensive Guard
CCenter
DEDefensive End
DTDefensive Tackle
LBLinebacker
CBCornerback
SSafety
KKicker
PPunter

Hockey (NHL)

CodePosition
CCenter
LWLeft Wing
RWRight Wing
DDefenseman
GGoaltender

Injury Body Location & Type Fields

Injury objects contain structured Location, Type, Detail, and Side fields for precise filtering.

Location

The broad body region: Head, Torso, Arm, Leg, Foot, Not Specified

Type (within Location)

Examples by location:

  • Head: Concussion, Eye, Nose, Jaw
  • Torso: Back, Shoulder, Ribs, Abdomen
  • Arm: Elbow, Wrist, Hand, Finger
  • Leg: Knee, Thigh, Hamstring, Quadriceps, Hip, Heel, Groin, Calf
  • Foot: Ankle, Foot, Toe, Plantar Fascia, Achilles

Detail

The injury descriptor: Soreness, Strain, Sprain, Fracture, Contusion, Inflammation, Surgery, Not Specified

Side

Left, Right, Not Specified

Example injury object:

{
  "Status": "GTD",
  "Type": "Heel",
  "Location": "Leg",
  "Detail": "Contusion",
  "Side": "Right",
  "ReturnDate": null
}

Null fields: ReturnDate is frequently null — it is only populated when a specific return timeline has been communicated. Always null-check before using this field.


DateTime Format

All timestamps use ISO 8601 format with UTC offset:

2025-01-15T14:19:59-07:00

Parse with any standard ISO 8601 library. The offset reflects the editorial team's timezone and is not necessarily the game's local timezone.

from datetime import datetime
dt = datetime.fromisoformat("2025-01-15T14:19:59-07:00")
const dt = new Date("2025-01-15T14:19:59-07:00");

Team Code Reference

See the Leagues & Sports Reference page for a full list of league and team codes organized by sport.