Skip to content
HotelPricesAPI
Developer Guide · Global Hotel Rates8 min read·Updated 2026-11-26

Hotel Prices API Developer Guide (2026): Real-Time Nightly Rates, Room Availability & Reviews JSON

Quick Answer (BLUF)

Query live global hotel nightly rates in one GET call to https://api.hotelpricesapi.com/v1/hotels/search?city=Paris&checkin=2026-12-15&checkout=2026-12-17&adults=2&currency=USD. Top 50 cities are pre-seeded so you skip location lookup overhead, paying strictly 2 Credits ($0.0002) per hotel returned and 0 Credits on sold-out dates.

Gateway p50 Latency24ms cached · 1.38s live upstream
Concurrency & Cities60 – 600 RPM · 50+ Pre-Seeded Cities
Deterministic Unit Price$0.08–$0.15 / 1,000 hotels

Instant hp_live_... key in 3s (3,000 Free Credits · $0.30) · $1 = 10,000 Credits · 0 Credits on sold-out dates · Top up anytime via 0%-fee Multi-Chain Crypto (+5% bonus, never-expiring PAYG)

Instant Quickstart · Copy & Run in 30 Seconds

Fetch Paris Nightly Hotel Rates & Computed Per-Night Pricing

import requests

res = requests.get(
    "https://api.hotelpricesapi.com/v1/hotels/search",
    params={
        "city": "Paris",
        "checkin": "2026-12-15",
        "checkout": "2026-12-17",
        "adults": 2,
        "currency": "USD",
        "limit": 10,
    },
    headers={"x-api-key": "hp_live_your_api_key"},
    timeout=20,
).json()

for h in res["data"]["items"]:
    print(h["name"], f"${h['price_per_night']}/night", "Score:", h["review_score"])
Want to inspect live global hotel rate JSON before creating an account?Try Live Browser Playground →

Key Engineering Takeaways (TL;DR)

  • ✓1-call city search across 50+ pre-seeded global hubs (Paris, Tokyo, London, NYC, Dubai, Singapore) at 2 Credits/hotel ($0.08–$0.20/1K).
  • ✓Full room blocks, cancellation policies, breakfast inclusion, Wi-Fi scores & amenities via /v1/hotels/detail (10 Credits/dossier).
  • ✓15-minute live search cache + 12-hour detail/reviews cache + permanent destination ID cache in PostgreSQL 16 & Redis DB 8.
  • ✓Start free with 3,000 Free Credits ($0.30) — No Card Required, or scale with the $9 Indie Pack (90,000 never-expiring credits).

1. Four-Endpoint Hospitality Data Architecture

Modern travel apps need four tightly coupled datasets: destination resolution, date-aware nightly availability, room-level cancellation/tax breakdowns, and verified guest sentiment.

  • GET /v1/hotels/search: Accepts ?city=Paris or ?location_id=... with checkin, checkout, adults, rooms, and currency. Computes price_per_night automatically alongside price_total and excluded_taxes.
  • GET /v1/hotels/detail: Hydrates room-by-room rate blocks, breakfast inclusion, free-cancellation deadlines, Wi-Fi/breakfast scores, and full property amenities.
  • GET /v1/hotels/reviews: Streams paginated verified guest reviews with structured pros, cons, travel_purpose, and hotelier responses.
  • GET /v1/locations/search: Resolves long-tail towns, airports, and landmarks into permanent location_id & dest_id handles cached forever in PostgreSQL.

Fetch Paris Nightly Hotel Rates & Computed Per-Night Pricing

Pass ?city=Paris directly — our pre-seeded destination registry resolves location_id internally in <1ms.

curl -sS "https://api.hotelpricesapi.com/v1/hotels/search?city=Paris&checkin=2026-12-15&checkout=2026-12-17&adults=2&currency=USD&limit=10" \
  -H "x-api-key: hp_live_your_api_key"
Test this exact endpoint right now in your browser:Open Live Playground →

2. Cache TTL Strategy & Credit Unit Economics

Hospitality rate shoppers waste 60%+ of their API spend re-fetching static city IDs and property descriptions. HotelPrices API splits caching by volatility tier.

HotelPrices API caching and credit rate table
EndpointCache TTLCredit RateBusiness Tier / 1K
GET /v1/locations/searchPermanent PG + 30d Redis2 Credits / call$0.08 / 1K calls
GET /v1/hotels/search15 min Redis/PG (?fresh=1 bypass)2 Credits / hotel$0.08 / 1K hotels
GET /v1/hotels/detail12 hours Redis/PG10 Credits / property$0.40 / 1K dossiers
GET /v1/hotels/reviews12 hours Redis/PG2 Credits / review$0.08 / 1K reviews

Interactive Hospitality Rate-Shopper Lab · GET /v1/hotels/search

Verify live gateway latency, rate-sweep credit math & JSON schema

10,000 hotels/day
2,000 dossiers/day
5,000 reviews/day
HTTP Calls / Day
2,750
4 Unified Routes
Credit Unit
$1 = 10,000
$9 Indie Pack Ready
Sold-Out / 404 Fee
0 Credits
$0.00 on 0 rooms
Estimated Monthly Pipeline Cost (30 Days)
$60.00/ mo on Business ($86.25 on Pro)
Monthly consumption: 1,500,000 Credits (50,000 Credits/day)
HotelPrices API (Business $0.08/1K hotels):$60.00 / mo
Amadeus / Legacy GDS ($18/1K calls):$9180.00 / mo
Sold-out / invalid hotel fee:$0.00 (0 Credits)

Frequently Asked Questions

How many currencies are supported on /v1/hotels/search?
Pass any ISO-4217 currency code via ?currency=USD, EUR, GBP, JPY, AUD, CAD, SGD, AED, CHF, and more. Both price_total and price_per_night are returned in your requested currency.
Do I pay if a city or check-in window is sold out?
No. Any query returning 0 available properties or an HTTP 4xx/5xx error deducts strictly 0 Credits.