Travel Advisor

FREEMIUM
Verified
By Api Dojo | Updated a month ago | Transportation
Popularity

9.9 / 10

Latency

2,936ms

Service Level

100%

Health Check

N/A

Back to All Discussions

API stop returning data

Rapid account: Pamanseau
pamanseau
a year ago
We do queries like:

const options = {
method: ‘GET’,
url: ‘https://travel-advisor.p.rapidapi.com/hotels/list-in-boundary’,
params: {
bl_latitude: ‘37.402179’,
bl_longitude: ‘25.29961’,
tr_longitude: ‘25.462086’,
tr_latitude: ‘37.500627’,
offset: ‘30’,
limit: ‘30’,
currency: ‘EUR’
},
headers: {…

We get data but then sometimes we get this:
{
“data”: [],
“status”: {
“unfiltered_total_size”: “0”,
“commerce_country_iso_code”: “US”,
“autobroadened”: false,
“progress”: “0”,
“auction_key”: “504f98b3e0c443a48c4d25564e160c75”,
“pricing”: “base”
},
“paging”: {
“results”: “0”,
“total_results”: “0”
}
}

Rapid account: Apidojo
apidojo Commented a year ago

Hello,

You should place the lat,lng on google map to check the location. In addition, the endpoint was deprecated one year ago. There is …/hotels/v2/list endppoint.

Regards.

Join in the discussion - add comment below:

Login / Signup to post new comments