POST
/
v2
/
city
/
security
/
_statistics
GetSecurityStatistics - Obtain city's security statistics.
curl --request POST \
  --url https://api.f6o.co/v2/city/security/_statistics \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "inseeCodes": [
    "<string>"
  ]
}'
{
  "apiVersion": "<string>",
  "kind": "<string>",
  "context": "<string>",
  "internalDelay": 123,
  "data": [
    {
      "criminalityRate": 123,
      "degradations": {
        "count": 123,
        "rate": 123
      },
      "blowsAndWounds": {
        "count": 123,
        "rate": 123
      },
      "housebreaking": {
        "count": 123,
        "rate": 123
      },
      "crimeRates": {
        "drugUse": {
          "count": 123,
          "rate": 123
        },
        "theftWithoutViolence": {
          "count": 123,
          "rate": 123
        },
        "vehicleAccessoryTheft": {
          "count": 123,
          "rate": 123
        },
        "deliberateVandalism": {
          "count": 123,
          "rate": 123
        },
        "sexualViolence": {
          "count": 123,
          "rate": 123
        },
        "intentionalInjury": {
          "count": 123,
          "rate": 123
        },
        "theftFromVehicles": {
          "count": 123,
          "rate": 123
        },
        "violentTheftWithoutWeapon": {
          "count": 123,
          "rate": 123
        },
        "vehicleTheft": {
          "count": 123,
          "rate": 123
        },
        "drugTrafficking": {
          "count": 123,
          "rate": 123
        },
        "otherIntentionalInjuries": {
          "count": 123,
          "rate": 123
        },
        "homeBurglaries": {
          "count": 123,
          "rate": 123
        },
        "theftWithWeapons": {
          "count": 123,
          "rate": 123
        },
        "domesticViolence": {
          "count": 123,
          "rate": 123
        }
      }
    }
  ]
}

Authorizations

x-api-key
string
header
required

API Key used to be authentified to these APIs. Please contact Fluximmo to get one

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.