Skip to content

Taxonomies Location Province

Retrieves the province name by point, by regional ID or provincial ID

Example Request

curl -X GET --location 'https://comparables-gr.realitycs.it/taxonomies/location/province?provinceID=157' \
--header 'Authorization: Bearer <token>'

Response

{
    "_metadata": {
        "query": {
            "provinceID": 157
        },
        "total_count": 1
    },
    "items": [
        {
            "province": "Drama Prefecture",
            "provinceID": 157,
            "region": "Macedonia"
        }
    ]
}

Request args

(At least one of the following args is mandatory in the input)

arg type Description
longitude float
latitude float
regionID int
provinceID int