# Crime Risk Score by US Location

> Crime Risk Score by US Location is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-12).

Returns a 0-100 crime risk score, rating, violent/property breakdown, multi-year trend, and national comparison for any US location using FBI UCR and NIBRS data

## Facts

- Endpoint: GET https://api.agentstools.dev/crime/location?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crime-risk-score-by-us-location-386805b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b4sanYkvrR_078Gtu2lQL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability crime-risk-score-by-us-location-386805b7
```

Example prompt: What's the crime risk score for 742 Evergreen Terrace, Springfield, IL — give me the violent vs property breakdown and how it compares to the national baseline, using the last 5 years of FBI data.

## When to prefer this

Use this endpoint when you need a deterministic, data-cited crime risk assessment for a specific US location based on official FBI UCR/NIBRS statistics. Prefer it over AI-generated safety summaries when you need an auditable score with source attribution, trend data, and a national comparison. Ideal for real estate evaluation, relocation decisions, logistics routing, or insurance risk workflows where reproducibility and citation matter.

## Known failure modes

- Address geocoding failure — address not found or outside the US returns a 4xx error
- No FBI reporting coverage — some jurisdictions do not submit UCR/NIBRS data, resulting in insufficient data response
- Invalid ORI code — unrecognized agency ORI returns a not-found error
- Missing required disambiguation — lat without lon or vice versa returns a validation error
- Rate limit or payment failure — x402 payment not processed returns 402 Payment Required

## How this service works

Crime-risk verdict for a US location from public FBI UCR and NIBRS data. Give an address, a latitude and longitude, an agency ORI code, or a state, and get a 0-100 crime risk score, a low, medium, high or critical rating, a violent and property breakdown, a multi-year trend and a comparison with the national baseline, citing the reporting agency and the data as-of date. Deterministic, no AI. Aggregate risk indicators, not a consumer report.

## Output

A JSON object containing a 0-100 numeric crime risk score, a categorical risk rating (low, medium, high, or critical), a breakdown of violent and property crime sub-scores, a multi-year trend line, a comparison against the national baseline, the name of the reporting FBI agency, and the as-of date of the underlying data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude (with lon)"
      },
      "lon": {
       "type": "number",
       "description": "Longitude (with lat)"
      },
      "ori": {
       "type": "string",
       "description": "FBI agency ORI code (e.g. DE0010100)"
      },
      "state": {
       "type": "string",
       "description": "2-letter US state code (fallback or disambiguation)"
      },
      "years": {
       "type": "integer",
       "maximum": 10,
       "minimum": 1,
       "description": "Trailing reporting years to fuse, default 5"
      },
      "address": {
       "type": "string",
       "description": "US street address, city or place to geocode"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crime-risk-score-by-us-location-386805b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
