Priceline hotel search
Hotels Priceline lists for a city, area, address, airport or landmark and a stay: id, name, star rating, brand, address, neighborhood, position, guest rating with category scores and review count, amenities, badges, photos, Express Deal flag (hotel revealed after booking), and the lowest rate (nightly price, total with taxes and fees, taxes, cancellation terms, payment option, price breakdown). Filter by star level, nightly budget, amenities, neighborhoods, brands, property types, guest rating, review categories, refundable or pay-later rates, deal type, beds, theme or nearby attraction (the filters list in each answer gives every value with its count). total is the number of matching hotels. 30 hotels per page: pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
locationrequired | string | City, area, address, airport or landmark, e.g. New York, NY, Paris, France, Miami, or a Priceline location id such as 3000016152. Example: New York, NY |
check_in | string | Check-in date (YYYY-MM-DD). Without dates: a two-night stay 30 days from today. |
check_out | string | Check-out date (YYYY-MM-DD), after check_in. |
adults | integer | Adults (default 2). |
children | string | Children's ages, comma-separated, e.g. 5,9. |
rooms | integer | Rooms (default 1). |
currency | string | Price currency, ISO code (default USD), e.g. EUR, GBP. |
sort | recommended | price | guest_rating | savings | Order (default recommended). |
star_rating | string | Star levels, comma-separated, e.g. 4,5. |
min_price | integer | Lowest nightly price. |
max_price | integer | Highest nightly price. |
amenities | string | Amenity codes, comma-separated, e.g. FBRKFST (free breakfast), FPRKING (free parking), SPOOL (pool), PETALLOW, FITSPA, AIRSHUTTL. |
neighborhoods | string | Neighborhood ids from the filters list, comma-separated. |
brands | string | Brand ids from the filters list, comma-separated. |
property_types | string | Property type ids, comma-separated: 1003 hotels, 1001 apartments, 1017 homestays, 1022 guesthouses, 1013 inns, 1002 hostels (more in the filters list). |
guest_rating | 5 | 6 | 7 | 8 | 9 | Lowest guest rating (out of 10). |
review_categories | string | Highly rated for, comma-separated: LOCATION, CLEANLINESS, STAFF. |
rate_options | string | Rate options, comma-separated: FREE_CANCELLATION, PAY_LATER. |
deal_types | string | RTL (standard rates) or SOPQ (Express Deals), comma-separated. |
beds | string | Beds per room, comma-separated: 1, 2, 3,4,5,6,7. |
theme | string | Property theme id: 1 family friendly, 4 luxury, 5 comfort, 6 business friendly, 7 spa and wellness. |
nearby_attraction | string | Attraction id from the filters list (hotels close to it). |
page | integer | Page number (next_page from the previous answer). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/priceline/v1/hotels?location=New+York%2C+NY" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/priceline/v1/hotels",
params={"location": "New York, NY"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/priceline/v1/hotels");
url.searchParams.set("location", "New York, NY");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).