For every race in the Elections response, the Elections API returns
a race type ID (up to three letters) and a matching race type (raceTypeID
and raceType in JSON; TypeID
and Type in XML). For ballot measures, the race
type ID is typically "G" or "W"; therefore, the matching race type of "General"
or "Special General" respectively is returned.
Race Type ID |
Race Type |
Description |
Associated
Party Code (if applicable) |
G |
General |
General Election |
|
W |
Special General |
Special General Election |
|
H |
General Election Runoff |
General
Election Runoff |
|
L |
Non-Partisan Election |
Non-Partisan Election |
|
T |
Non-Partisan Special Election |
Non-Partisan Special Election |
|
RET |
Retention |
Judicial Retention Election |
|
APP |
All-Party Primary |
All-Party (Open) Primary |
|
SAP |
All-Party Special Primary |
All-Party (Open) Special Primary |
|
N |
Non-Partisan Primary |
Non-Partisan
Primary |
NP |
D |
Primary |
Democratic Primary |
Dem |
U |
Runoff |
Democratic Primary Runoff |
Dem |
J |
Special Primary |
Democratic Special Primary |
Dem |
A |
Special Runoff |
Democratic Special Primary Runoff |
Dem |
E |
Caucus |
Democratic Caucus |
Dem |
E |
Convention |
Democratic Convention |
Dem |
E |
by Delegate |
Democratic Delegate Election |
Dem |
E |
First Alignment Caucus |
Democratic Caucus (first alignment) |
Dem |
E |
Final Alignment Caucus |
Democratic Caucus (final alignment) |
Dem |
R |
Primary |
Republican Primary |
GOP |
V |
Runoff |
Republican Primary Runoff |
GOP |
K |
Special Primary |
Republican Special Primary |
GOP |
B |
Special Runoff |
Republican Special Primary Runoff |
GOP |
S |
Caucus |
Republican Caucus |
GOP |
S |
Convention |
Republican Convention |
GOP |
S |
by Delegate |
Republican Delegate Election |
GOP |
AHP |
Primary |
American Heritage Party Primary |
AHP |
AIP |
Primary |
American Independent Primary |
AIP |
AkI |
Primary |
Alaskan Independence Primary |
AkI |
Bst |
Primary |
Best Primary |
Bst |
Con |
Primary |
Conservative
Primary |
Con |
Cst |
Primary |
Constitution
Primary |
Cst
|
FEP |
Primary |
Free Energy Party Primary |
FEP |
Grn |
Primary |
Green
Primary |
Grn |
GRP |
Primary |
Grassroots-Legalize
Cannabis Party Primary |
GRP |
IAP |
Primary |
Independent American
Primary |
IAP |
Ind |
Primary |
Independent Primary |
Ind |
InP |
Primary |
Independence Party Primary |
InP |
IP |
Primary |
Independent Party Primary |
IP |
Lbl |
Primary |
Liberal
Primary |
Lbl |
LFM |
Primary |
Farmer-Labor
Primary |
LFM |
Lib |
Primary |
Libertarian
Primary |
Lib |
Mnt |
Primary |
Mountain
Party Primary |
Mnt |
Neb |
Primary |
Nebraska
Primary |
Neb |
NLP |
Primary |
Natural
Law Party Primary |
NLP |
NwP |
Primary |
New
Perspective Primary |
NwP |
OTx |
Primary |
Orange
Taxpayers Primary |
OTx |
PCH |
Primary |
Personal
Choice Primary |
PCH |
PFP |
Primary |
Peace and Freedom Primary |
PFP |
Prg |
Primary |
Progressive Primary |
Prg |
RP |
Primary |
Reform Party Primary |
RP |
RpM |
Primary |
Republican Moderate Primary |
RpM |
RTL |
Primary |
Right to Life Primary |
RTL |
SAM |
Primary |
Serve America Movement Primary |
SAM |
Sta |
Primary |
Statehood Party Primary |
Sta |
SWP |
Primary |
Socialist Workers Party Primary |
SWP |
TLm |
Primary |
Term Limits Primary |
TLm |
UAd |
Primary |
United Advocacy Primary |
UAd |
UST |
Primary |
U.S. Taxpayers Party
Primary |
UST |
UUt |
Primary |
United Utah Primary |
UUt |
UUt |
Special Primary |
United Utah Special
Primary |
UUt |
WEq |
Primary |
Women's
Equality Party Primary |
WEq |
WF |
Primary |
Working
Families Primary |
WF |
C |
Primary |
Other Primary |
Oth |
I |
Runoff |
Other Primary Runoff |
Oth |
OS |
Special Primary |
Other Special Primary |
Oth |