POST
/
v2
/
city
/
_statistics
curl --request POST \
  --url https://api.f6o.co/v2/city/_statistics \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "inseeCodes": [
    "<string>"
  ]
}'
{
  "apiVersion": "<string>",
  "kind": "<string>",
  "context": "<string>",
  "internalDelay": 123,
  "data": [
    {
      "location": {
        "regionCode": "<string>",
        "departmentCode": "<string>",
        "label": "<string>",
        "irisCode": [
          "<string>"
        ]
      },
      "population": {
        "basedOn": "2023-11-07T05:31:56Z",
        "count": 123,
        "sinceLastYearChange": {
          "value": 123,
          "percentageValue": 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
inseeCodes
string[]

Response

200
application/json
A successful response.
apiVersion
string
kind
string
context
string
internalDelay
integer
data
object[]

Was this page helpful?