POST
/
v2
/
city
/
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
headerrequired

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

Body

application/json
inseeCodes
string[]

Response

200 - application/json
apiVersion
string
kind
string
context
string
internalDelay
integer
data
object[]