Skip to content

Polling Places API API

by phila.gov

No authHTTPSOpen Data
Open documentation ↗

Overview

This data set contains the list of polling places. It can be organized by ward/division, accessibility rating, or type of building. This list is used to assign poll workers, send the machines and necessary accessibility materials, etc. **Endpoint:** http://api.phila.gov/polling-places/v1

Polling Places API is an open data API from phila.gov. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 1 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Open Data
Base URL
http://api.phila.gov/polling-places/v1
Version
1.0
Endpoints
1
Spec updated
2021-06-21

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "http://api.phila.gov/polling-places/v1/" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("http://api.phila.gov/polling-places/v1/", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "http://api.phila.gov/polling-places/v1/",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/Get Polling Places Data

Questions

Does the Polling Places API API need an API key?

No. The Polling Places API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the Polling Places API API support HTTPS?

Yes, the Polling Places API API is served over HTTPS.

How many endpoints does the Polling Places API API have?

Its OpenAPI description lists 1 endpoint in version 1.0. All of them are shown on this page.

What are alternatives to the Polling Places API API?

Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.

Compare alternatives →

Listed from APIs.guru (CC0).