Amadeus

Safe Place

WARNING - This API will be permanently decommissioned the 12th of April. For alternative we recommend using [GeoSure](https://geosureglobal.com/). Before…

Travel#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

WARNING - This API will be permanently decommissioned the 12th of April. For alternative we recommend using GeoSure.

Before using this API, we recommend you read our Authorization Guide for more information on how to generate an access token.

Please also be aware that our test environment is based on a subset of the production, this API in test only returns a few selected cities. You can find the list in our data collection.

Endpoints 3

Search

  • GETReturns safety rating for a given location and radius./safety/safety-rated-locations?latitude=41.397158&longitude=2.160873&radius=1&page[limit]=10&page[offset]=0Deprecated.
  • GETReturns the safety rating of a given area/safety/safety-rated-locations/by-square?north=41.397158&west=2.160873&south=41.394582&east=2.177181&page[limit]=10&page[offset]=0Deprecated.

Retrieve

  • GETRetieve safety information of a location by its Id./safety/safety-rated-locations/:safety-rated-locationIdDeprecated.

API details

Base URL
https://test.api.amadeus.com/v1
Authentication
None declared in the description
Operations
3 operations on 3 pathsGET 3
3 marked deprecated
Main resources
Search 2Retrieve 1
Response formats
application/vnd.amadeus+json
Description format
Swagger 2.0, API version 1.0.1

How to test the Safe Place in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Safe Place collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Returns safety rating for a given location and radius.” (GET /safety/safety-rated-locations?latitude=41.397158&longitude=2.160873&radius=1&page[limit]=10&page[offset]=0), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Safe Place?

WARNING - This API will be permanently decommissioned the 12th of April. For alternative we recommend using [GeoSure](https://geosureglobal.com/). Before… It is listed under Travel and has 3 endpoints.

Who publishes the Safe Place?

It is listed from Amadeus's public API description (an OpenAPI document), not published by Amadeus on Swastik Codes. Anyone who controls amadeus.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Safe Place?

Requests go to https://test.api.amadeus.com/v1. Endpoint paths are added to this base URL.

How do I authenticate with the Safe Place?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the Safe Place have?

3 operations on 3 paths (3 GET). The largest groups are Search, Retrieve.

Is forking the Safe Place free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.