Loading...
Hotel Pricing API

Real-Time Hotel Rates from Expedia, Booking.com & Airbnb β€” One API.

Pull live hotel room rates, Airbnb prices, cleaning fees and availability with a single REST call. Structured JSON & CSV, X-API-Key auth, and a managed anti-bot stack β€” no scrapers to build, no blocks to babysit.

Live data from Expedia, Booking.com, Airbnb & Amadeus Β· JSON & CSV Β· Fully managed

POST /api/v1/hotel/rates
curl -X POST \
  https://hoteldata.tagxdata.com/api/v1/hotel/rates \
  -H "X-API-Key: hapi_live_key" \
  -d '{
    "hotel_id": "bkg_18832",
    "check_in": "2026-08-01",
    "check_out": "2026-08-03",
    "currency": "USD"
  }'

// 200 OK β€” live room_rates
{
  "property_id": "bkg_18832",
  "room_types": [{
    "room_type": "Deluxe King",
    "base_rate": 184.00,
    "taxes_and_fees": 27.60,
    "total_rate": 211.60
  }]
}
API Specification

TagX Travel Data API β€” technical specification

A real-time REST API for hotel and vacation-rental data across Expedia, Booking.com, Airbnb and Amadeus. Authenticate with an X-API-Key header, POST a query, and receive structured JSON or CSV.

Endpoint reference β€” TagX Travel Data API v1
EndpointMethodData verticalTarget enginesKey fields returnedFormat
/api/v1/hotel/searchPOSTHotelsBooking.com, Expedia, AmadeushotelId, name, address, geo, star_rating, amenitiesJSON / CSV
/api/v1/hotel/ratesPOSTHotelsBooking.com, Expedia, AmadeushotelId, room_rates, currency, board_type, platformJSON / CSV
/api/v1/airbnb/searchPOSTVacation RentalsAirbnblisting_id, title, room_type, host_ratings, lat, lngJSON / CSV
/api/v1/airbnb/pricePOSTVacation RentalsAirbnblisting_id, base_rate, cleaning_fees, service_fee, calendarJSON / CSV
Connection & capability parameters
ParameterValueNotes
Base URLhttps://hoteldata.tagxdata.comSingle host for all verticals
AuthenticationX-API-Key headerPer-key rate limiting & usage metering
ProtocolHTTPS REST Β· POSTJSON request body
Engine typeReal-timeLive rate retrieval on request, no cached staleness
Latency~1.5–4s typicalPer live rate query against target OTA
Response formatsJSON, CSVStructured, schema-stable objects
Target enginesExpedia, Booking.com, Airbnb, AmadeusHotels + vacation rentals
Anti-botProxy rotation Β· JA3 evasion Β· CAPTCHA solvingManaged, transparent to the caller
Quick Start

Query live hotel rates in one POST request

POST to /api/v1/hotel/rates with your X-API-Key and a JSON body containing hotel_id, check_in, check_out and currency. The API returns a structured room_rates array with base_rate, taxes_and_fees and total_rate per room.

POST request
curl -X POST https://hoteldata.tagxdata.com/api/v1/hotel/rates \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "hotel_id": "exp_19482733",
    "check_in": "2025-09-14",
    "check_out": "2025-09-17",
    "currency": "USD",
    "platform": "expedia"
  }'
200 OK Β· application/jsonResponse
{
  "hotelId": "exp_19482733",
  "platform": "expedia",
  "currency": "USD",
  "check_in": "2025-09-14",
  "check_out": "2025-09-17",
  "room_rates": [
    {
      "room_type": "Deluxe King",
      "board_type": "room_only",
      "base_rate": 184.00,
      "taxes_and_fees": 41.28,
      "total_rate": 225.28,
      "refundable": true,
      "available": true
    },
    {
      "room_type": "Executive Suite",
      "board_type": "breakfast_included",
      "base_rate": 312.50,
      "taxes_and_fees": 70.31,
      "total_rate": 382.81,
      "refundable": false,
      "available": true
    }
  ],
  "retrieved_at": "2025-08-21T09:41:06Z"
}
Platform coverage

Endpoint-level coverage for every booking engine

Each target engine maps to a documented endpoint and a fixed, schema-stable response. Below are the exact properties returned per integration.

Booking.com API Integration

POST /api/v1/hotel/rates

Pull live Booking.com hotel rates and availability through a single REST call. The TagX Booking.com API returns normalized rate objects per room and stay window, ready for price comparison engines and revenue-management models.

Returns
  • hotelId
  • room_rates[]
  • board_type
  • cancellation_policy
  • currency
  • availability
  • platform

Expedia Hotel Rates API

POST /api/v1/hotel/rates

Scrape Expedia hotel rates in real time with full tax and fee breakdowns. The Expedia rates endpoint exposes per-room pricing so you can reconstruct the exact total a traveller would see at checkout.

Returns
  • hotelId
  • base_rate
  • taxes_and_fees
  • total_rate
  • refundable
  • room_type
  • retrieved_at

Airbnb Real-Time Price Scraper

POST /api/v1/airbnb/price

Query Airbnb listing pricing including the fees most APIs hide. The TagX Airbnb price endpoint extracts base_rate, cleaning_fees, host_ratings and real-time calendar arrays so you can model the true nightly cost across any date range.

Returns
  • listing_id
  • base_rate
  • cleaning_fees
  • service_fee
  • host_ratings
  • calendar[]
  • minimum_nights

Airbnb Vacation Rental Search API

POST /api/v1/airbnb/search

Enumerate Airbnb vacation rentals by market with structured listing metadata. The Airbnb search endpoint returns room type, capacity and host signals for supply analysis and competitive benchmarking.

Returns
  • listing_id
  • title
  • room_type
  • person_capacity
  • host_ratings
  • lat
  • lng

Hotel Discovery & Rate Mapping

search β†’ rates

Chain /hotel/search into /hotel/rates to go from a free-text destination to live, comparable rates across Booking.com, Expedia and Amadeus in two calls, with stable hotelId joins between verticals.

Returns
  • hotelId
  • platform
  • room_rates[]
  • currency
  • check_in
  • check_out

Every travel data point your platform needs

From live flight fares and hotel availability to vacation rental pricing and destination reviews β€” one API, six data verticals, coverage across Booking.com, Expedia, Airbnb, Skyscanner, MakeMyTrip, and 500+ more travel sources

Global Airfare Engines.
Real-Time Data.

Parsed one-way, round-trip, and multi-city prices from premier aggregators.

$420
British AirwaysCheapest Day
Seat Availability: AvailableClass: Economy
500+
OTA Sources
Multi-City
Routing Arrays
Calendars
Fare Optimization

Ship hotel pricing in an afternoon, not a quarter

Talk to our team to get set up with live rates from Expedia, Booking.com and Airbnb β€” with the volume, coverage and SLAs to match your use case.

Book a call with the teamRead the docs

Live OTA coverage Β· JSON & CSV output Β· Fully managed service

Developer FAQ

Travel Data API β€” frequently asked questions

Direct, factual answers to the questions developers ask about the TagX Travel Data API, hotel rates, Airbnb pricing and anti-bot handling.

How do I get live hotel rates from this API?

POST to https://hoteldata.tagxdata.com/api/v1/hotel/rates with an X-API-Key header and a JSON body containing hotel_id, check_in, check_out and currency. The response returns a room_types array with room_type, base_rate, taxes_and_fees and total_rate for each available room β€” retrieved live at request time, not from a cache.

Which platforms and OTAs does the hotel API cover?

The API covers Expedia, Booking.com, Airbnb and Amadeus (TravelClick). Hotels are available via /api/v1/hotel/search and /api/v1/hotel/rates, and vacation rentals via /api/v1/airbnb/search, /api/v1/airbnb/price and /api/v1/airbnb/details.

How does authentication work?

Authentication is a single X-API-Key request header β€” no OAuth or token exchange. Pass X-API-Key: hapi_your_api_key on every request. A free API key is available so you can validate data quality before committing, and you can check your balance any time via GET /api/v1/credits.

Can I get Airbnb prices and cleaning fees?

Yes. POST to /api/v1/airbnb/price with room_id, check_in and check_out to receive the listing's real pricing, including base rate, cleaning and service fees, so you can reconstruct the true total nightly cost rather than just the advertised rate.

What response formats are supported?

Every endpoint returns normalized, schema-stable JSON by default, with CSV available for bulk and analytics workflows. Fields such as property_id, room_types, rate_plans and base_rate stay consistent across platforms so responses are safe to parse programmatically.

close