San Francisco crime data API
Consumer crime facts for San Francisco
97,100 police-reported incidents from the San Francisco open-data portal, newest record 2026-11-01, normalized to the same schema as every other city.
Example: within 500 m of Union Square
GET /v1/stats?lat=37.788&lon=-122.4075&radius_m=500
4,667 incidents in the dataset window. Top categories:
| Category | Incidents |
|---|---|
| theft | 1,765 |
| public_order | 486 |
| assault | 481 |
| drugs | 396 |
| other | 377 |
| vandalism | 206 |
Source: San Francisco open-data portal. Newest city record: 2026-11-01. Figures computed from our database snapshot dated 2026-11-03; live numbers via the API.
Endpoints
GET /v1/incidents?lat=&lon=&radius_m=500&from=&to=&category=&limit=100&cursor=&format=json|geojson
GET /v1/incidents?address=1+Market+St+San+Francisco&... (or bbox=minLon,minLat,maxLon,maxLat)
GET /v1/stats?lat=&lon=&radius_m=500&from=&to=&category= (or address=, bbox=)
GET /v1/compare?points=lat,lon;lat,lon&radius_m=500 (2-5 points)
GET /v1/score?lat=&lon=&radius_m=500 (0-100 incident density score and A-F grade; or address=)
GET /v1/usage (your plan, calls used, upgrade links)
POST /v1/keys (free key; optional JSON body {"email": ...})
POST /v1/keys/rotate (new key for the same plan; the old key stops working)
GET /v1/cities
Categories: homicide sexual_offense robbery assault burglary vehicle_theft theft_from_vehicle theft fraud vandalism weapons drugs dui trespass harassment public_order traffic non_criminal other
Licence
ODC PDDL (public domain). Source updates: daily.
Data comes from each city's open-data portal under the licence shown. It is police-reported incident data, not convictions, and can be revised by the source. Compared with the FBI API · Terms · Refunds · Privacy · DPA · Contact
Operated by Shahar Frish, Israel.