get_nypd_crime
Retrieve NYPD crime complaints near a property to assess neighborhood safety. Filter by felony, misdemeanor, or offense type to evaluate risk for real estate decisions.
Instructions
Get NYPD crime complaints within a radius of a property.
Queries the local NYPD complaint database (NYC Open Data) using a
geospatial bounding-box search centered on the property's lat/lon. Returns
all complaint types — felonies, misdemeanors, and violations — filed within
the specified radius. Falls back to Socrata API if local table is unavailable.
Uses the property's PLUTO coordinates (lot centroid) for accuracy.
Default radius of 300 m covers roughly 3 city blocks in any direction.
Use this to assess neighborhood safety for buyers, lenders, or underwriters.
Compare felony vs misdemeanor breakdown, trend over years, and dominant
offense types (assault, burglary, grand larceny, etc.).
Provide either `address` OR `bbl` (not both).
Args:
address: Street address, e.g. "350 5th Ave, Manhattan".
bbl: 10-digit NYC BBL. Coordinates resolved from PLUTO.
radius_meters: Search radius in meters (50–800, default 300 ≈ 3 blocks).
law_category: Filter by "FELONY", "MISDEMEANOR", or "VIOLATION".
Case-insensitive.
offense: Filter by offense keyword, e.g. "ASSAULT", "BURGLARY",
"GRAND LARCENY", "ROBBERY". Case-insensitive.
since_year: Return only complaints from this year onward (2006–present).
limit: Max complaints to return (1–200, default 50).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | ||
| bbl | No | ||
| radius_meters | No | ||
| law_category | No | ||
| offense | No | ||
| since_year | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||