Elections API v3.1 Release Notes
Vote TypesVote Type Totals at the State LevelPreviously, vote type totals at the state level were not available in the Elections API responses because the availability of vote type results varies by location in many states. ELAPI now returns vote type totals in the state-level reporting unit using roll-up of vote type results from the reporting unit level (Level 2) to the state level (Level 1). Since not all reporting units in a state deliver vote type updates, the totaling of the vote type values may not equal the cumulative total. XML ExampleRequesthttps://api.ap.org/v3/elections/2024-11-05?statepostal=NJ&raceid=0&level=ru&votetypes=true ResponseIn this example, vote type totals are returned in the state-level reporting unit (ReportingUnitLevel="1" Name="New Jersey") although vote type results may not be available in some RUs like Atlantic and are available in others like Cape May and Essex.
JSON ExampleRequesthttps://api.ap.org/v3/elections/2024-11-05?format=json&statepostal=NJ&raceid=0&level=ru&votetypes=true ResponseFor brevity, only a partial state-level reporting unit is shown:
EEVP for All Vote TypesElections API now returns EEVP (Estimated Expected Vote Percentage) for all vote types available in a given election. The vote type EEVP values are available at the race level.
JSON ExampleRequesthttps://api.ap.org/v3/elections/2025-09-09?format=json&statepostal=VA&votetypes=true&level=ru Response
... XML ExampleRequesthttps://api.ap.org/v3/elections/2025-09-09?statepostal=VA&votetypes=true&level=ru Response
|
|
|
|
|
||||
|
|
|
|||||
|
|
||||||