Flight Inspiration Search
amadeus · Company
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, to see what is included in test please refer to our **[data collection](https://github.com/amadeus4dev/data-collection)**.
Authentication
Sample Requests
Find the cheapest destinations where you can fly to.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amadeus.com/amadeus-flight-inspiration-search/1.0.6/shopping/flight-destinations?oneWay=false&origin=example&viewBy=COUNTRY&nonStop=false&duration=example&maxPrice=1&departureDate=example"
import requests
params = {
"oneWay": "false",
"origin": "example",
"viewBy": "COUNTRY",
"nonStop": "false",
"duration": "example",
"maxPrice": "1",
"departureDate": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amadeus.com/amadeus-flight-inspiration-search/1.0.6/shopping/flight-destinations",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amadeus.com/amadeus-flight-inspiration-search/1.0.6/shopping/flight-destinations');
url.searchParams.set('oneWay', 'false');
url.searchParams.set('origin', 'example');
url.searchParams.set('viewBy', 'COUNTRY');
url.searchParams.set('nonStop', 'false');
url.searchParams.set('duration', 'example');
url.searchParams.set('maxPrice', '1');
url.searchParams.set('departureDate', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amadeus.com/amadeus-flight-inspiration-search/1.0.6/shopping/flight-destinations")
q := baseURL.Query()
q.Set("oneWay", "false")
q.Set("origin", "example")
q.Set("viewBy", "COUNTRY")
q.Set("nonStop", "false")
q.Set("duration", "example")
q.Set("maxPrice", "1")
q.Set("departureDate", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amadeus.com/amadeus-flight-inspiration-search/1.0.6/shopping/flight-destinations")
uri.query = URI.encode_www_form({
"oneWay" => "false",
"origin" => "example",
"viewBy" => "COUNTRY",
"nonStop" => "false",
"duration" => "example",
"maxPrice" => "1",
"departureDate" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amadeus.com/amadeus-flight-inspiration-search/1.0.6/shopping/flight-destinations?" . http_build_query([
"oneWay" => "false",
"origin" => "example",
"viewBy" => "COUNTRY",
"nonStop" => "false",
"duration" => "example",
"maxPrice" => "1",
"departureDate" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Flight Inspiration Search?
Flight Inspiration Search is a Company API. Developers commonly use company APIs for:
- enriching CRM records with company firmographics
- building lead-generation and prospecting tools
- verifying business identity and registration details
- monitoring competitors and market intelligence
- powering B2B data enrichment pipelines
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Flight Inspiration Search is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?