Airbnb

FREEMIUM
Door 3B Data / @CRAWLER2API | Bijgewerkt 20 days ago | Travel
Populariteit

9.7 / 10

Latency

2,597ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

returned url and deeplink not working

Rapid account: Gilanj
gilanj
a year ago

for example:
https://www.airbnb.com/rooms/786955625598555600

returned from:
const axios = require(“axios”);

const options = {
method: ‘GET’,
url: ‘https://airbnb13.p.rapidapi.com/search-location’,
params: {
location: ‘Paris’,
checkin: ‘2023-03-01’,
checkout: ‘2023-03-31’,
adults: ‘1’,
children: ‘0’,
infants: ‘0’,
page: ‘1’
},
headers: {
‘X-RapidAPI-Key’: ‘48574254f1msh4b30d04f1e489edp1cf49ajsn936fc517c19a’,
‘X-RapidAPI-Host’: ‘airbnb13.p.rapidapi.com
}
};

axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});

Rapid account: Mhozic
mhozic Commented a year ago

Fixed.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen