llms.txt Content
# publicsafetyapi.dev — LLM Reference
publicsafetyapi.dev is a REST API for US public safety facilities: police stations, fire stations, hospitals, and EMS bases. Built on HIFLD (Homeland Infrastructure Foundation-Level Data), maintained by DHS/CISA. Public domain, commercially usable.
Base URL: https://api.publicsafetyapi.dev
Current version: v1
Data vintage: HIFLD 2024 (loaded May 2026)
Coverage: 50,000+ facilities across the United States.
Facility types: fire, police, hospital, ems
---
## Authentication
Pass an API key on every request using one of:
Header: X-API-Key: psk_live_...
Header: Authorization: Bearer psk_live_...
API keys are obtained free at https://publicsafetyapi.dev/dashboard (500 requests/month, no credit card).
GET https://api.publicsafetyapi.dev/v1/health does NOT require an API key.
---
## Rate Limits
| Plan | Per minute | Per month |
|------------|------------|-----------|
| Free | 10 | 500 |
| Starter | 60 | 10,000 |
| Pro | 120 | 50,000 |
| Growth | 300 | 200,000 |
Exceeding per-minute limit → 429 RATE_LIMITED
Exceeding monthly limit → 402 QUOTA_EXCEEDED
Monthly quotas reset on the 1st of each calendar month.
---
## Response Envelope
Every successful response uses this envelope:
{
"data": <object or array>,
"meta": {
"requestId": "req_a1b2c3d4",
"creditsUsed": 1,
"creditsRemaining": 499
},
"source": {
"dataVersion": "2026-05",
"updatedAt": "2026-05-27"
}
}
Field names in responses are camelCase (e.g. entityType, distanceMiles, jurisdictionNote).
Each API call costs 1 credit regardless of results returned.
---
## Facility Types
fire Fire stations (HIFLD Fire Stations dataset)
police Police/law enforcement locations (HIFLD Local Law Enforcement Locations)
hospital Hospitals (HIFLD Hospitals)
ems EMS stations (HIFLD EMS Stations)
---
## Endpoints
### GET https://api.publicsafetyapi.dev/v1/stations/ne