Contact support

Reference

Crime

GET

/api/v1/crime/

Crime rates for the tract, place, and ZIP at one point.

Send a street address, or send lat and lng together. A city name alone often fails geocoding.

Parameters

Name Type Description
address string US street address. Geocoded to a point. A city name alone often fails.
lat number Latitude in decimal degrees. Send with lng, or send address instead.
lng number Longitude in decimal degrees. Send with lat, or send address instead.

Response

  • tract object | null

    Estimated violent and property rates for the census tract.

    14 fields
    • violent_rate_per_1k number
    • property_rate_per_1k number
    • violent_grade string
    • property_grade string
    • method string
    • method_kind string
    • method_text string
    • grade_note string
    • geoid string
    • place_name string
    • agency_name string
    • source_year integer | null
    • source string
    • population integer | null
  • place object | null

    Latest city record, the plain-language summary, and the place estimate.

    • crime object | null
      11 fields
      • year integer
      • source string
      • agency_name string
      • agency_population integer | null
      • violent integer | null
      • property integer | null
      • violent_rate_per_100k number | null
      • property_rate_per_100k number | null
      • confidence string
      • confidence_reasons string[]
      • attribution string
    • display object
      • show boolean
      • level string
      • text string
    • estimate object | null
      16 fields
      • violent_rate_per_1k number
      • property_rate_per_1k number
      • violent_grade string
      • property_grade string
      • method string
      • method_kind string
      • method_text string
      • grade_note string
      • source_year integer
      • source_years string
      • agency_name string
      • agency_population integer | null
      • county_name string
      • has_own_police boolean
      • source string
      • attribution string
  • zip object | null

    Population-weighted rollup of the tract estimates in the ZIP.

    16 fields
    • violent_rate_per_1k number
    • property_rate_per_1k number
    • violent_grade string
    • property_grade string
    • method string
    • method_kind string
    • method_text string
    • grade_note string
    • zcta string
    • est_population integer | null
    • n_tracts integer
    • coverage_share number | null
    • local_data_share number
    • mixed_sources boolean
    • source_years integer[]
    • zip_note string

Status

  • 200 Profile for that point.
  • 400 The address could not be geocoded, or lat and lng were not both numbers.
  • 401 Missing or invalid credentials.
  • 403 This plan has no call allowance configured.
  • 404 No geography is loaded for that point.
  • 429 Monthly call limit reached.