Request:
const axios = require(‘axios’);
const options = {
method: ‘GET’,
url: ‘https://tripadvisor16.p.rapidapi.com/api/v1/flights/searchFlights’,
params: {
sourceAirportCode: ‘BNA’,
destinationAirportCode: ‘SEA’,
date: ‘2024-05-12’,
itineraryType: ‘ONE_WAY’,
sortOrder: ‘PRICE’,
numAdults: ‘1’,
numSeniors: ‘0’,
classOfService: ‘ECONOMY’,
pageNumber: ‘1’,
currencyCode: ‘USD’
},
headers: {
‘X-RapidAPI-Key’: ‘802e548510msh60a59d37f536f02p10527djsn8d0235400ced’,
‘X-RapidAPI-Host’: ‘tripadvisor16.p.rapidapi.com’
}
};
try {
const response = await axios.request(options);
console.log(response.data);
} catch (error) {
console.error(error);
}
Response:
{
“status”: false,
“timestamp”: 1711586321397,
“message”: “Something went wrong. We have logged the error and will get the resolution.”
}
The API has been down for several days. I pay $8/month for access. Please fix ASAP. I paid for this service and you are not providing it.
Join in the discussion - add comment below:
Hello,
The search flight API problem has been resolved and deployed. Please take a look now. I regret any inconvenience caused.
Thanks
Hello,
We are working on the fix.
Thanks
Same issue with my Search Flights API