Search

Returns safety rating for a given location and radius.

Changed on
get/safety/safety-rated-locations

Request

Query parameters

latitudenumber double required

Latitude (decimal coordinates)

longitudenumber double required

Longitude (decimal coordinates)

radiusinteger

radius of the search in Kilometer. Can be from 0 to 20, default value is 1 Km.

page[limit]integer

maximum items in one page

page[offset]integer

start index of the requested page

Response

Successful Operation

Example response

{
  "meta": {
    "count": 43,
    "links": {
      "self": "https://test.api.amadeus.com/v1/safety/safety-rated-locations?latitude=41.397158&longitude=2.160873&radius=2",
      "next": "https://test.api.amadeus.com/v1/safety/safety-rated-locations?latitude=41.397158&longitude=2.160873&page%5Boffset%5D=1&radius=2",
      "last": "https://test.api.amadeus.com/v1/safety/safety-rated-locations?latitude=41.397158&longitude=2.160873&page%5Boffset%5D=4&radius=2",
      "first": "https://test.api.amadeus.com/v1/safety/safety-rated-locations?latitude=41.397158&longitude=2.160873&page%5Boffset%5D=0&radius=2"
    }
  },
  "data": [
    {
      "type": "safety-rated-location",
      "id": "Q930402719",
      "self": {
        "type": "https://test.api.amadeus.com/v1/safety/safety-rated-locations/Q930402719",
        "methods": [
          "GET"
        ]
      },
      "subType": "CITY",
      "name": "Barcelona",
      "geoCode": {
        "latitude": 41.385064,
        "longitude": 2.173404
      },
      "safetyScores": {
        "lgbtq": 39,
        "medical": 0,
        "overall": 45,
        "physicalHarm": 36,
        "politicalFreedom": 50,
        "theft": 44,
        "women": 34
      }
    },
    {
      "type": "safety-rated-location",
      "id": "Q930402720",
      "self": {
        "type": "https://test.api.amadeus.com/v1/safety/safety-rated-locations/Q930402720",
        "methods": [
          "GET"
        ]
      },
      "subType": "DISTRICT",
      "name": "Antiga Esquerra de l'Eixample (Barcelona)",
      "geoCode": {
        "latitude": 41.3885573,
        "longitude": 2.1573033
      },
      "safetyScores": {
        "lgbtq": 37,
        "medical": 0,
        "overall": 44,
        "physicalHarm": 34,
        "politicalFreedom": 50,
        "theft": 42,
        "women": 33
      }
    },
    {
      "type": "safety-rated-location",
      "id": "Q930402721",
      "self": {
        "type": "https://test.api.amadeus.com/v1/safety/safety-rated-locations/Q930402721",
        "methods": [
          "GET"
        ]
      },
      "subType": "DISTRICT",
      "name": "Baix Guinardó (Barcelona)",
      "geoCode": {
        "latitude": 41.412131,
        "longitude": 2.1683571
      },
      "safetyScores": {
        "lgbtq": 37,
        "medical": 0,
        "overall": 44,
        "physicalHarm": 34,
        "politicalFreedom": 50,
        "theft": 42,
        "women": 33
      }
    },
    {
      "type": "safety-rated-location",
      "id": "Q930402722",
      "self": {
        "type": "https://test.api.amadeus.com/v1/safety/safety-rated-locations/Q930402722",
        "methods": [
          "GET"
        ]
      },
      "subType": "DISTRICT",
      "name": "Barceloneta (Barcelona)",
      "geoCode": {
        "latitude": 41.380894,
        "longitude": 2.189385
      },
      "safetyScores": {
        "lgbtq": 42,
        "medical": 0,
        "overall": 47,
        "physicalHarm": 39,
        "politicalFreedom": 50,
        "theft": 49,
        "women": 34
      }
    },
    {
      "type": "safety-rated-location",
      "id": "Q930402724",
      "self": {
        "type": "https://test.api.amadeus.com/v1/safety/safety-rated-locations/Q930402724",
        "methods": [
          "GET"
        ]
      },
      "subType": "DISTRICT",
      "name": "Can Baró (Barcelona)",
      "geoCode": {
        "latitude": 41.4172284,
        "longitude": 2.163444
      },
      "safetyScores": {
        "lgbtq": 37,
        "medical": 0,
        "overall": 44,
        "physicalHarm": 34,
        "politicalFreedom": 50,
        "theft": 42,
        "women": 33
      }
    },
    {
      "type": "safety-rated-location",
      "id": "Q930402731",
      "self": {
        "type": "https://test.api.amadeus.com/v1/safety/safety-rated-locations/Q930402731",
        "methods": [
          "GET"
        ]
      },
      "subType": "DISTRICT",
      "name": "El Born (Barcelona)",
      "geoCode": {
        "latitude": 41.384728,
        "longitude": 2.18286
      },
      "safetyScores": {
        "lgbtq": 42,
        "medical": 0,
        "overall": 47,
        "physicalHarm": 39,
        "politicalFreedom": 50,
        "theft": 49,
        "women": 34
      }
    },
    {
      "type": "safety-rated-location",
      "id": "Q930402732",
      "self": {
        "type": "https://test.api.amadeus.com/v1/safety/safety-rated-locations/Q930402732",
        "methods": [
          "GET"
        ]
      },
      "subType": "DISTRICT",
      "name": "El Camp de l'Arpa del Clot (Barcelona)",
      "geoCode": {
        "latitude": 41.4118532,
        "longitude": 2.1830997
      },
      "safetyScores": {
        "lgbtq": 37,
        "medical": 0,
        "overall": 45,
        "physicalHarm": 35,
        "politicalFreedom": 50,
        "theft": 43,
        "women": 33
      }
    },
    {
      "type": "safety-rated-location",
      "id": "Q930402733",
      "self": {
        "type": "https://test.api.amadeus.com/v1/safety/safety-rated-locations/Q930402733",
        "methods": [
          "GET"
        ]
      },
      "subType": "DISTRICT",
      "name": "El Camp d'en Grassot i Gràcia Nova (Barcelona)",
      "geoCode": {
        "latitude": 41.4046685,
        "longitude": 2.1659005
      },
      "safetyScores": {
        "lgbtq": 37,
        "medical": 0,
        "overall": 44,
        "physicalHarm": 34,
        "politicalFreedom": 50,
        "theft": 42,
        "women": 33
      }
    },
    {
      "type": "safety-rated-location",
      "id": "Q930402734",
      "self": {
        "type": "https://test.api.amadeus.com/v1/safety/safety-rated-locations/Q930402734",
        "methods": [
          "GET"
        ]
      },
      "subType": "DISTRICT",
      "name": "El Carmel (Barcelona)",
      "geoCode": {
        "latitude": 41.422371,
        "longitude": 2.1560753
      },
      "safetyScores": {
        "lgbtq": 37,
        "medical": 0,
        "overall": 44,
        "physicalHarm": 34,
        "politicalFreedom": 50,
        "theft": 42,
        "women": 33
      }
    },
    {
      "type": "safety-rated-location",
      "id": "Q930402735",
      "self": {
        "type": "https://test.api.amadeus.com/v1/safety/safety-rated-locations/Q930402735",
        "methods": [
          "GET"
        ]
      },
      "subType": "DISTRICT",
      "name": "El Clot (Barcelona)",
      "geoCode": {
        "latitude": 41.4097037,
        "longitude": 2.1892366
      },
      "safetyScores": {
        "lgbtq": 37,
        "medical": 0,
        "overall": 45,
        "physicalHarm": 35,
        "politicalFreedom": 50,
        "theft": 43,
        "women": 33
      }
    }
  ]
}

Changes