< back to index

HTTP request

GET https://api.wevoteusa.org/apis/v1/organizationsFoundOnUrl (Jump to "Try It Now")

Required Parameters

Parameter name Value Description
url_to_scan string The URL we want to scan for endorsers (typically for endorsements).
api_key string (from post, cookie, or get (in that order)) The unique key provided to any organization using the WeVoteServer APIs

Optional Parameters

Parameter name Value Description
state_code string Limit the search to endorsers in this state.

Response

{
  "status": string,
  "success": boolean,
  "url_to_scan": string,
  "organization_count": integer,
  "organization_list": list
   [
     "organization_id": integer,
     "organization_we_vote_id": string,
     "organization_name": string,
     "organization_twitter_handle": string,
     "organization_facebook": string,
     "organization_email": string,
     "organization_website": string,
     "organization_photo_url_medium": string,
     "organization_photo_url_tiny": string,
   ],
}

Try It Now: API Variables

Call this to find all endorsers that have a Twitter handle, Facebook page, or name on this page.

Parameter name Value  
url_to_scan:
state_code:

(opens in new window)