< back to index

HTTP request

GET https://api.wevoteusa.org/apis/v1/candidatesSyncOut (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 candidates entries retrieved to those in a particular state.

Response

[{
  "ballot_guide_official_statement": string,
  "ballotpedia_candidate_id": integer,
  "ballotpedia_candidate_name": string,
  "ballotpedia_candidate_summary": string,
  "ballotpedia_candidate_url": string,
  "ballotpedia_election_id": integer,
  "ballotpedia_image_id": integer,
  "ballotpedia_office_id": integer,
  "ballotpedia_page_title": string,
  "ballotpedia_person_id": integer,
  "ballotpedia_photo_url": string,
  "ballotpedia_race_id": integer,
  "birth_day_text": string,
  "candidate_email": string,
  "candidate_gender": string,
  "candidate_is_incumbent": boolean,
  "candidate_is_top_ticket": boolean,
  "candidate_name": string,
  "candidate_participation_status": string,
  "candidate_phone": string,
  "candidate_twitter_handle": string,
  "candidate_url": string,
  "candidate_contact_form_url": string,
  "contest_office_we_vote_id": string,
  "contest_office_name": string,
  "crowdpac_candidate_id": integer,
  "facebook_url": string,
  "google_civic_candidate_name": string,
  "google_civic_candidate_name2": string,
  "google_civic_candidate_name3": string,
  "google_civic_election_id": integer,
  "google_plus_url": string,
  "maplight_id": integer,
  "ocd_division_id": string,
  "order_on_ballot": string,
  "party": string,
  "photo_url": string,
  "photo_url_from_ctcl": string,
  "photo_url_from_maplight": string,
  "photo_url_from_vote_smart": string,
  "photo_url_from_vote_usa": string,
  "politician_we_vote_id": string,
  "state_code": string,
  "twitter_url": string,
  "twitter_user_id": string,
  "twitter_name": string,
  "twitter_location": string,
  "twitter_followers_count": integer,
  "twitter_profile_image_url_https": string,
  "twitter_description": string,
  "vote_smart_id": integer,
  "vote_usa_office_id": string,
  "vote_usa_politician_id": string,
  "vote_usa_profile_image_url_https": string,
  "we_vote_id": string,
  "wikipedia_page_id": string,
  "wikipedia_page_title": string,
  "wikipedia_photo_url": string,
  "youtube_url": string,
}]

Try It Now: API Variables

Parameter name Value  
google_civic_election_id:
state_code:

(opens in new window)