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.
Trip Purpose Prediction is a development API from amadeus.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 1 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Development
- Base URL
https://test.api.amadeus.com/v1- Version
- 1.1.4
- Endpoints
- 1
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-24
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://test.api.amadeus.com/v1/travel/predictions/trip-purpose" \
-H "Accept: application/json"const response = await fetch("https://test.api.amadeus.com/v1/travel/predictions/trip-purpose", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://test.api.amadeus.com/v1/travel/predictions/trip-purpose",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /travel/predictions/trip-purpose | Returns the forecast purpose of a trip |
Questions
Does the Trip Purpose Prediction API need an API key?
No. The Trip Purpose Prediction API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the Trip Purpose Prediction API support HTTPS?
Yes, the Trip Purpose Prediction API is served over HTTPS.
How many endpoints does the Trip Purpose Prediction API have?
Its OpenAPI description lists 1 endpoint in version 1.1.4. All of them are shown on this page.
What are alternatives to the Trip Purpose Prediction API?
Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.
Similar development APIs
Compare alternatives →Cloudflare
DevelopmentManage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
Azure DevOps
DevelopmentThe Azure DevOps basic components of a REST API request/response pair
IPify
DevelopmentA simple IP Address API
App Store Connect API
DevelopmentThe data structure that represents an app store connect api resource.
StackExchange
DevelopmentQ&A forum for developers
IPinfo
DevelopmentAnother simple IP Address API
Listed from APIs.guru (CC0).