logo
We the People
FREE
By community
Updated 6 months ago

We the People API Documentation

The We the People API currently provides read-only access to data within We the People, the White House petitions system. This API provides access to data on all petitions that passed the 150 signature threshold required to become publicly-available on the site. We've also published a gallery of projects leveraging the We the People API, including links to live examples and GitHub repositories.

Learn more about this API
GET/petitions/{petition_id}
GET/petitions/{petition_id}/signatures
GETPetitions
GET/petitions/{petition_id}

Returns a petition matching the petition id.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
Install SDK

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication