# crime-location

> crime-location is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Returns a 0-100 crime risk score, low/medium/high/critical rating, violent and property crime breakdown, multi-year trend, and national baseline comparison for any US location based on FBI UCR/NIBRS data.

## Facts

- Endpoint: GET https://payai.agentstools.dev/crime/location
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crime-location-ae2ab20a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g1wIskREo3YwFRJ2a02lg

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-location-ae2ab20a
```

Example prompt: What's the crime risk score for 450 Main Street, Houston, TX? Give me the full breakdown — violent vs property crime, the trend over the last 5 years, and how it compares to the national average.

## When to prefer this

Choose this endpoint when you need a deterministic, data-cited crime risk assessment for a specific US location using official FBI UCR/NIBRS statistics. It is preferable to AI-generated or scraped crime summaries when auditability and reproducibility matter. Ideal for real estate evaluation, business site selection, insurance underwriting inputs, or any workflow requiring a structured risk score with a national benchmark. Not a consumer report and not suitable for individual-level background checks.

## Known failure modes

- Address not geocodable or outside the US — returns error with no score
- ORI code not found in FBI database — returns agency-not-found error
- Insufficient data years available for the requested trailing window — may return partial results or error
- State code invalid or unrecognized — returns validation error
- Location falls in a jurisdiction with no FBI reporting agency — returns no-data response

## 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 composite crime risk score, a categorical rating (low, medium, high, or critical), separate violent and property crime sub-scores, a multi-year trend indicator, a comparison delta against the national baseline, the name and ORI 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-location-ae2ab20a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
