Returns all polls in the database with optional filters to narrow results.
pollster
and subject
parameters, dashes (-
) and spaces (%20
) are interchangeable. The poll_type
parameter requires exact matching.
Example Responses
GET /polls?poll_type=approval&subject=donald-trump { "polls": [ { "id": "appdonips4x59vt9j", "poll_type": "approval", "sample_size": "1174", "population": "a", "url": "https://www.ipsos.com/en-us/three-five-americans-say-cost-living-going-wrong-direction", "created_at": "2025-03-04", "start_date": "2025-03-03", "end_date": "2025-03-04", "pollster": "Ipsos", "answers": [ { "choice": "Approve", "pct": 44 }, { "choice": "Disapprove", "pct": 51 } ], "seat_name": null, "sponsors": [ "Reuters" ], "internal": false, "partisan": null, "subject": "Donald Trump" } ] }
GET /polls?poll_type=generic-ballot { "polls": [ { "id": "gen202eme3uzn57et", "poll_type": "generic-ballot", "sample_size": "1000", "population": "rv", "url": "https://emersoncollegepolling.com/march-2025-national-poll/", "created_at": "2025-03-03", "start_date": "2025-03-02", "end_date": "2025-03-03", "pollster": "Emerson College", "answers": [ { "choice": "Dem", "pct": 44.4 }, { "choice": "Rep", "pct": 41.4 } ], "seat_name": "Generic", "sponsors": [], "internal": false, "partisan": null, "subject": "2026" } ] }