Back
Skyscanner
Description
Skyscanner makes planning your next trip easy. Search flight deals and plan your next exciting trip.
Details
https://partners.api.skyscanner.net/.well-known/ai-plugin.json
{
"schema_version": "v1",
"name_for_human": "Skyscanner",
"name_for_model": "SkyscannerFlights",
"description_for_human": "Skyscanner makes planning your next trip easy. Search flight deals and plan your next exciting trip.",
"description_for_model": "Searches for flight information using Skyscanner's live pricing API, and returns the best (lowest) prices for a given route, as well as a url that will redirect users to the Skyscanner page where they can book the flights. Prices are given in USD, assuming users are from the en-US locale.",
"auth": {
"type": "service_http",
"authorization_type": "bearer",
"verification_tokens": {
"openai": "53e1e119946b42188d20b9a3351070ed"
}
},
"api": {
"type": "openapi",
"url": "https://partners.api.skyscanner.net/openai/openapi.yaml"
},
"logo_url": "https://images.skyscnr.com/sttc/b2b-partners-api/b2b-partners-api/skyscanner.svg",
"contact_email": "shinymagpiessquad@skyscanner.net",
"legal_info_url": "https://www.skyscanner.net/terms-of-service"
}
https://partners.api.skyscanner.net/openai/openapi.yaml
openapi: 3.0.1
info:
title: Skyscanner
description: Searches for the cheapest flights from a given origin and destination on a given outbound and return date.
version: 'v1'
servers:
- url: https://partners.api.skyscanner.net
paths:
/getPrices:
post:
operationId: getPrices
summary: Returns the lowest prices travellers are able to travel from a given origin and destination, with a url to book the requested itinerary which should be returned to the user for the best experience.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
origin:
description: "The IATA code of the origin travellers want to travel from."
type: string
required: true
destination:
description: "The IATA code of the destination travellers want to travel to."
type: string
required: true
departure_date:
description: "The departure date in yyyy-mm-dd format that travellers want to travel from."
type: string
required: true
return_date:
description: "Optional return date in yyyy-mm-dd format. If not specified, the search will be for a one way flight."
type: string
responses:
"200":
description: The flight information for the requested journey, and a link to book the flight on success, or an informative error message on failure.
content:
application/json:
schema:
type: object
properties:
response:
type: string
description: The flight information for the requested journey, and a link to book the flight on success, or an informative error message on failure.