Get Crime Data & Safety Score
get_crime_dataRetrieve a crime safety grade and incident history for any US address or coordinate pair, with a letter score, per-crime breakdown, and 90-day incidents within 1000 feet.
Instructions
Crime safety grade and incident history for one US address or coordinate pair: a letter score (A+ safest through F), a per-crime-type breakdown against the national average, and the individual incidents recorded within 1000ft over a rolling 90-day window. Use this for "is this address/neighborhood safe?" questions. Do NOT use it for demographics, income, rent or schools (use get_neighborhood_data) or for registered offenders (use search_offenders) — neither is included here. Pass either address or lat+lng, not both. US locations only; requires a DoorProfit API key and consumes 1 call from that key's quota, except for the free test address "500 Main St, Dallas, TX 75202".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude (use together with lng, as an alternative to address). | |
| lng | No | Longitude (use together with lat, as an alternative to address). | |
| address | No | Full US street address, e.g. "500 Adams St, Tulsa, OK". Provide either address OR lat+lng. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| location | No | The resolved location for the query. | |
| incidents | No | Recent crime incidents near the location. | |
| test_mode | No | True when querying the free test address. | |
| crime_score | No | Letter safety grade from A+ (safest) to F. | |
| crime_numeric | No | 0-1 scale where 1 is safest. | |
| crime_breakdown | No | Per-crime-type comparison vs the national average (e.g. assault, burglary, theft). | |
| crime_description | No | Human-readable explanation of the score. |