Flight Delay Prediction
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.
Authentication
Sample Requests
Return the delay segment where the flight is likely to lay.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amadeus.com/amadeus-flight-delay-prediction/1.0.6/travel/predictions/flight-delay?duration=example&arrivalDate=example&arrivalTime=example&carrierCode=example&aircraftCode=example&flightNumber=example&departureDate=example&departureTime=example&originLocationCode=example&destinationLocationCode=example"
import requests
params = {
"duration": "example",
"arrivalDate": "example",
"arrivalTime": "example",
"carrierCode": "example",
"aircraftCode": "example",
"flightNumber": "example",
"departureDate": "example",
"departureTime": "example",
"originLocationCode": "example",
"destinationLocationCode": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amadeus.com/amadeus-flight-delay-prediction/1.0.6/travel/predictions/flight-delay",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amadeus.com/amadeus-flight-delay-prediction/1.0.6/travel/predictions/flight-delay');
url.searchParams.set('duration', 'example');
url.searchParams.set('arrivalDate', 'example');
url.searchParams.set('arrivalTime', 'example');
url.searchParams.set('carrierCode', 'example');
url.searchParams.set('aircraftCode', 'example');
url.searchParams.set('flightNumber', 'example');
url.searchParams.set('departureDate', 'example');
url.searchParams.set('departureTime', 'example');
url.searchParams.set('originLocationCode', 'example');
url.searchParams.set('destinationLocationCode', '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-delay-prediction/1.0.6/travel/predictions/flight-delay")
q := baseURL.Query()
q.Set("duration", "example")
q.Set("arrivalDate", "example")
q.Set("arrivalTime", "example")
q.Set("carrierCode", "example")
q.Set("aircraftCode", "example")
q.Set("flightNumber", "example")
q.Set("departureDate", "example")
q.Set("departureTime", "example")
q.Set("originLocationCode", "example")
q.Set("destinationLocationCode", "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-delay-prediction/1.0.6/travel/predictions/flight-delay")
uri.query = URI.encode_www_form({
"duration" => "example",
"arrivalDate" => "example",
"arrivalTime" => "example",
"carrierCode" => "example",
"aircraftCode" => "example",
"flightNumber" => "example",
"departureDate" => "example",
"departureTime" => "example",
"originLocationCode" => "example",
"destinationLocationCode" => "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-delay-prediction/1.0.6/travel/predictions/flight-delay?" . http_build_query([
"duration" => "example",
"arrivalDate" => "example",
"arrivalTime" => "example",
"carrierCode" => "example",
"aircraftCode" => "example",
"flightNumber" => "example",
"departureDate" => "example",
"departureTime" => "example",
"originLocationCode" => "example",
"destinationLocationCode" => "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 Delay Prediction?
Flight Delay Prediction 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 Delay Prediction 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?