US City Crime Incidents
Police incident reports from US city open data, starting with San Francisco: when and where each incident happened (neighborhood, police district, nearest intersection, coordinates), its category, subcategory, description and resolution. For neighborhood safety scores, maps and alerts.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from data.sf.gov/Public-Safety/Police-Department-Incident-Reports-2018-to-Present/wg3w-h783
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/us-city-crime-incidents/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"city":"san_francisco"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
23 fields: 21 here, 2 technical ones under Technical details.
Basics
- Incident number
The case number printed on the police report.
Example 260704543
- Day of week
The local day of the week of the incident, such as Monday.
Example Monday
- Report type
Kind of report, such as Initial, Initial Supplement, Vehicle Initial or Coplogic Initial (filed online).
Example Initial
- Filed online
Yes when the report was filed online by a member of the public.
Example No
- Incident code
The police offense code of this row.
Example 05053
- Category
Incident category, such as Burglary, Robbery or Larceny Theft.
Example Burglary
- Subcategory
Incident subcategory, such as Burglary - Residential.
Example Burglary - Commercial
- Description
The offense as the report describes it, such as Burglary, Residence, Forcible Entry.
Example Burglary, Store, Unlawful Entry
- Resolution
Resolution at the time of the report, such as Open or Active, or Cite or Arrest Adult.
Example Cite or Arrest Adult
- Intersection
The nearest street intersection, such as HYDE ST & OFARRELL ST.
Example 14TH ST & HARRISON ST
- Police district
Police district of the incident, such as Southern.
Example Mission
- Supervisor district
Board of Supervisors district of the incident, 1 to 11.
Example 9
Location
- City
City of the incident, such as San Francisco.
Example San Francisco
- Neighborhood
Neighborhood of the incident, such as Mission.
Example Mission
- Latitude
Latitude of the nearest intersection (WGS84).
Example 37.768673
- Longitude
Longitude of the nearest intersection (WGS84).
Example -122.413399
Dates
- Incident at
When the incident happened, in UTC (converted from the city's local time).
Example Nov 30, 2026
- Incident date
The local calendar day of the incident.
Example Nov 30, 2026
- Incident time
The local time of the incident, as HH:MM (24-hour).
Example 14:04
- Reported
When the report was filed, in UTC.
Example Nov 30, 2026
Links
- Link
Link to this row on DataSF, as JSON.
Example data.sf.gov/resource/wg3w-h783.json?row_id=161889405053
Technical detailsField names and types for developers, and the 2 fields hidden above
Hidden by default
These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- ID
idThe source's row id: one row per incident report and offense code. - Incident ID
incident_idThe police system's id of the incident report; one report can have several rows.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
url | link | Link | 3 of 3 |
city | text | City | 3 of 3 |
incident_id | text | Incident ID (hidden) | 3 of 3 |
incident_number | text | Incident number | 3 of 3 |
incident_at | date and time | Incident at | 3 of 3 |
incident_date | date | Incident date | 3 of 3 |
incident_time | text | Incident time | 3 of 3 |
day_of_week | text | Day of week | 3 of 3 |
reported_at | date and time | Reported | 3 of 3 |
report_type | text | Report type | 3 of 3 |
is_filed_online | yes or no | Filed online | 3 of 3 |
incident_code | text | Incident code | 3 of 3 |
category | text | Category | 3 of 3 |
subcategory | text | Subcategory | 3 of 3 |
description | text | Description | 3 of 3 |
resolution | text | Resolution | 3 of 3 |
intersection | text | Intersection | 3 of 3 |
neighborhood | text | Neighborhood | 3 of 3 |
police_district | text | Police district | 3 of 3 |
supervisor_district | text | Supervisor district | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Incident number | Day of week | Report type | Filed online | Incident code | Category | Subcategory | Description | Resolution | Intersection | Police district | Supervisor district | City | Neighborhood | Latitude | Longitude | Incident at | Incident date | Incident time | Reported | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 260704543 | Monday | Initial | No | 05053 | Burglary | Burglary - Commercial | Burglary, Store, Unlawful Entry | Cite or Arrest Adult | 14TH ST & HARRISON ST | Mission | 9 | San Francisco | Mission | 37.768673 | -122.413399 | Nov 30, 2026 | Nov 30, 2026 | 14:04 | Nov 30, 2026 | data.sf.gov/resource/wg3w-h783.json?row_id=161889405053 |
| 2 | 260703056 | Sunday | Initial | No | 05043 | Burglary | Burglary - Residential | Burglary, Residence, Unlawful Entry | Open or Active | 15TH ST & VALENCIA ST | Mission | 9 | San Francisco | Mission | 37.766541 | -122.422043 | Nov 29, 2026 | Nov 29, 2026 | 14:30 | Nov 30, 2026 | data.sf.gov/resource/wg3w-h783.json?row_id=161870005043 |
| 3 | 260704979 | Saturday | Initial | No | 05153 | Burglary | Burglary - Other | Burglary, Non-residential, Unlawful Entry | Open or Active | 12TH ST & MISSION ST & OTIS ST & SOUTH VAN NESS AVE | Southern | 6 | San Francisco | Mission | 37.773052 | -122.418617 | Nov 29, 2026 | Nov 28, 2026 | 16:00 | Dec 1, 2026 | data.sf.gov/resource/wg3w-h783.json?row_id=161892405153 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Only San Francisco for now: the San Francisco Police Department's incident reports, 2018 to the present. More cities will be added once their published data proves complete and current.
- DataSF refreshes the reports once a day, so an incident shows up a day or more after it happened; reports filed late or corrected later can appear or change after that.
- One incident report can have several rows, one per offense code, sharing the same incident_id: count incidents by incident_id, not by row.
- About 2 in 100 rows have no coordinates and no neighborhood, for example when the location is kept private or lies outside the city.
- Locations are block-level only: the nearest street intersection and its coordinates, never a street address, and no names of the people involved.
- At most 10,000 rows per run, newest incident first; use since and until to walk through longer periods. Rows come 500 per request, and DataSF may slow down very frequent requests.
- Published by the San Francisco Police Department through DataSF under the Open Data Commons Public Domain Dedication and License (PDDL).
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.