# ClearCheck Crime Rate Lookup

> ClearCheck Crime Rate Lookup is a paid API for AI agents from loonie-toll.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the latest 12-month crime rate per 100k residents for a US state, trend vs prior year, and national comparison for a specified offense category.

## Facts

- Endpoint: GET https://loonie-toll.onrender.com/crime
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clearcheck-crime-rate-lookup-b3a23400
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w-YZQIJ6Fh8u0eLLxD66y

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 clearcheck-crime-rate-lookup-b3a23400
```

Example prompt: What's the current violent crime rate in Tennessee — is it trending up or down compared to last year, and how does it stack up against the national average?

## When to prefer this

Choose this endpoint when you need standardized, per-100k crime statistics for a specific US state broken down by offense type, with year-over-year trend and national benchmarking included in a single call. Prefer it over general web search when you need structured, machine-readable crime data with consistent formatting, or when building automated safety assessments, relocation tools, or risk-scoring pipelines that require comparable state-level data.

## Known failure modes

- Missing or invalid state code returns an error — must be a valid 2-letter US state abbreviation
- Invalid offense category enum value causes a validation error
- Data may be unavailable or stale for certain states or offense types
- Service hosted on Render free tier may experience cold-start latency or downtime
- Rate or pricing errors if payment via x402 protocol fails

## How this service works

Crime rate for a US state: latest 12-month rate per 100k, trend vs the prior year, and how it compares nationally.

## Output

Returns a JSON object with the latest 12-month average crime rate per 100k, the prior 12-month average, the national 12-month average, an array of monthly rate data points, a trend verdict string, supporting reasons, a data source citation, the retrieval timestamp, the query parameters used, and a disclaimer.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "state"
     ],
     "properties": {
      "state": {
       "type": "string",
       "description": "2-letter state code, e.g. TN"
      },
      "offense": {
       "enum": [
        "violent-crime",
        "homicide",
        "rape",
        "robbery",
        "aggravated-assault",
        "property-crime",
        "burglary",
        "larceny",
        "motor-vehicle-theft",
        "arson"
       ],
       "type": "string",
       "description": "Offense category, default violent-crime"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "query": {
       "type": "object",
       "properties": {
        "state": {
         "type": "string"
        },
        "offense": {
         "type": "string"
        }
       }
      },
      "source": {
       "type": "string"
      },
      "window": {
       "type": "string"
      },
      "reasons": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "verdict": {
       "type": "string"
      },
      "disclaimer": {
       "type": "string"
      },
      "retrievedAt": {
       "type": "string"
      },
      "monthlyRates": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "t": {
          "type": "integer"
         },
         "rate": {
          "type": "number"
         },
         "month": {
          "type": "string"
         }
        }
       }
      },
      "prior12moAvgPer100k": {
       "type": "number"
      },
      "latest12moAvgPer100k": {
       "type": "number"
      },
      "national12moAvgPer100k": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clearcheck-crime-rate-lookup-b3a23400/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from loonie-toll.onrender.com](https://www.zero.xyz/host/loonie-toll.onrender.com/llms.txt)
