HTTP request
GET https://api.wevoteusa.org/apis/v1/officesSyncOut (Jump to "Try It Now")
Optional Parameters
| Parameter name | Value | Description |
| google_civic_election_id | integer | Limit the candidates retrieved to those for this google_civic_election_id. |
| state_code | string | Limit the offices entries retrieved to those in a particular state. |
Response
[{
"we_vote_id": string,
"office_name": string,
"ballotpedia_id": string,
"contest_level0": string,
"contest_level1": string,
"contest_level2": string,
"district_id": string,
"district_name": string,
"district_scope": string,
"electorate_specifications": string,
"google_civic_office_name": string,
"google_civic_office_name2": string,
"google_civic_office_name3": string,
"google_civic_office_name4": string,
"google_civic_office_name5": string,
"google_civic_election_id": integer,
"maplight_id": integer,
"ballotpedia_office_id": integer,
"ballotpedia_office_name": string,
"ballotpedia_office_url": string,
"ballotpedia_race_id": integer,
"ballotpedia_race_office_level": string,
"number_elected": integer,
"number_voting_for": integer,
"ocd_division_id": integer,
"primary_party": string,
"special": string,
"state_code": string,
"wikipedia_id": string,
"vote_usa_office_id": string,
}]
Try It Now: API Variables