Find police stations, fire stations, hospitals, and EMS bases by address or coordinates. Built on federal HIFLD data from DHS/CISA โ 126,000+ facilities across all 50 states. No scraping. No state-by-state portals.
One account works on all three civic APIs:districtapi.devlibraryapi.devpublicsafetyapi.dev
curl "https://api.publicsafetyapi.dev/v1/stations/nearby?lat=34.50&lng=-117.19&type=fire&radius=5" \ -H "X-API-Key: psk_live_your_api_key"
{
"data": [
{
"stationId": "fire-hifld-13184",
"name": "Apple Valley Fire Protection District Station 331",
"entityType": "fire",
"facilityTypeLabel": "Fire Station",
"address": {
"street": "22400 Headquarters Drive",
"city": "Apple Valley",
"state": "CA",
"zip": "92307"
},
"phone": "(760) 240-7900",
"distanceMiles": 0.64,
"status": "OPEN"
}
],
"meta": { "creditsUsed": 1, "creditsRemaining": 499 }
}Create an account in under a minute. No credit card required. 500 requests/month free, forever.
Sign up free โSend any US street address, lat/lng coordinates, or city name. We handle geocoding and PostGIS spatial lookup across all 126,000+ facilities.
Name, address, phone, website, coordinates, distance, and status โ plus hospital-specific fields like bed count, trauma level, and helipad.
Read the docs โPass any US address or lat/lng and get back the closest police stations, fire stations, hospitals, or EMS bases โ ranked by distance with miles included.
One API covers police, fire, hospitals, and EMS. Filter by type or query all at once. 23,000+ police stations, 52,000+ fire stations, 42,000+ EMS bases, and 7,500+ hospitals.
Hospitals include licensed bed count, trauma center level (IโV), helipad availability, ownership type (government/non-profit/for-profit), and accreditation body.
The /v1/jurisdiction endpoint returns the Census-defined incorporated place or county that contains any coordinate โ useful for routing context and coverage mapping.
Get facility counts by type for any state in one call. Hospitals also include total licensed beds and trauma center counts at the state level.
All facilities are keyed by stable HIFLD identifiers, the same IDs used by DHS/CISA and cross-referenced in other federal infrastructure datasets.
Start free. No credit card required. Upgrade when you need more.
All endpoints on all tiers. Monthly limit resets on the 1st.
Bundle publicsafetyapi.dev with districtapi.dev and libraryapi.dev. From $49/mo across all three.