Skip to content

Category: Listings

Andy Mac edited this page Apr 28, 2018 · 2 revisions

listingSearch

Airbnb's mighty search bar in JSON form. More options coming soon.

airbnb.listingSearch({
    location: 'New York, United States',
    offset: 0,
    limit: 20,
    language: 'en-US',
    currency: 'USD'
})
// returns an array of listings

getListingInfo

Gets public facing data on any listing.

airbnb.getListingInfo({id: 109834757})
// returns public info for any listing (JSON)

getListingInfoHost

Gets private data on one of your listings.

airbnb.getListingInfoHost({
    token: 'faketoken3sDdfvtF9if5398j0v5nui',
    id: 109834757
})
// returns extended listing info for your listing (JSON)