# Politicians List `GET` `https://api.unusualwhales.com/api/politician-portfolios/people` Returns all politician names and IDs. This is an enterprise only endpoint. Contact dev@unusualwhales.com for details about accessing this data. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Response (200) | Field | Type | Description | |-------|------|-------------| | `id` | string | The politician's ID. | | `name` | string | The politician's name. | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/politician-portfolios/people" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json" ``` ### Python ```python import http.client conn = http.client.HTTPSConnection("api.unusualwhales.com") headers = {"Authorization": "Bearer YOUR_API_KEY", "Accept": "application/json"} conn.request("GET", "/api/politician-portfolios/people", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": [ { "id": "e138f347-ae92-4cfb-8f41-7036ff09a213", "name": "Zoe Lofgren" } ] } ```