/api/v4/races

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
0 to 250
Defaults to 10
integer | null
≥ 0
Defaults to 1
number | null

A 4 digit numerical year - our API contains data from 2016 onwards...

string

Date of the election in the format 'YYYY-MM-DD', e.g. '2024-11-05'

string

State name, e.g. Alabama

string

State abbreviation, e.g. AL

string

A state FIPS code is a unique numeric identifier assigned to each U.S. state and territory by the Federal Information Processing Standards (FIPS). These codes are used in various administrative and geographical datasets to standardize the identification of states. Each state has a two-digit FIPS code, which ranges from 01 to 56. For example, Alabama's FIPS code is 01, and Wyoming's is 56. These codes facilitate consistent data reporting and analysis across federal and state agencies.

string

'Primary' or 'General Election'

string | null

District number, e.g. 1

integer | null
0 to 9007199254740991

A monotonically increasing integer. Do not use this to derive any information about race type or race date.

string

A comma-separated list of monotonically increasing integers.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json