Skip to content

Safe Place API

by amadeus.com

No authHTTPSDevelopment
Open documentation ↗

Overview

Before using this API, we recommend you read our **[Authorization Guide](https://developers.amadeus.com/self-service/apis-docs/guides/authorization-262)** 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](https://github.com/amadeus4dev/data-collection)**.

Safe Place is a development API from amadeus.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 3 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Development
Base URL
https://test.api.amadeus.com/v1
Version
1.0.0
Endpoints
3
Spec updated
2023-03-24

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://test.api.amadeus.com/v1/safety/safety-rated-locations" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://test.api.amadeus.com/v1/safety/safety-rated-locations", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://test.api.amadeus.com/v1/safety/safety-rated-locations",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/safety/safety-rated-locationsReturns safety rating for a given location and radius.
GET/safety/safety-rated-locations/by-squareReturns the safety rating of a given area
GET/safety/safety-rated-locations/{safety-rated-locationId}Retieve safety information of a location by its Id.

Questions

Does the Safe Place API need an API key?

No. The Safe Place API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the Safe Place API support HTTPS?

Yes, the Safe Place API is served over HTTPS.

How many endpoints does the Safe Place API have?

Its OpenAPI description lists 3 endpoints in version 1.0.0. All of them are shown on this page.

What are alternatives to the Safe Place API?

Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.

Compare alternatives →

Listed from APIs.guru (CC0).