Travel
HotelTonight logo

HotelTonight API

hoteltonight.com

HotelTonight - hotel search by destination and date with pricing, ratings, and profiles.

Actions
4
Category
Travel
Login
Not required
Output
JSON

Call the HotelTonight API

Submit a task, then poll the job until it settles. This example runs act_hoteltonight_destination_autocomplete.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_hoteltonight_destination_autocomplete",
    "params": {
      "destination_query": "Chicago"
    }
  }'

4 actions on hoteltonight.com

Read

  • Destination Autocomplete

    act_hoteltonight_destination_autocompleteread1 credit / call

    Returns matching cities and neighborhoods for a typed destination query.

    destination_query
    string · required
  • Homepage Discover Feed

    act_hoteltonight_homepage_discover_feedread1 credit / call

    Returns featured and popular destination cities near a given location.

    latitude
    string · required
    longitude
    string · required
  • Hotel Profile

    act_hoteltonight_hotel_detail_profileread1 credit / call

    Returns a hotel's full profile: rating, amenities, reviews, and policies.

    hotel_slug
    string · required
  • Related Market Cities

    act_hoteltonight_related_market_citiesread1 credit / call

    Returns popular related destination cities for a given market city.

    market_city_id
    string · required

HotelTonight API questions

Is there an API for HotelTonight?
HotelTonight does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for hoteltonight.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape HotelTonight data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when hoteltonight.com changes its markup, Anakin updates the action.
Do I need a HotelTonight account?
No. Every HotelTonight action listed here runs anonymously — no account and no credentials required.
What does the HotelTonight API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Travel APIs

All Travel sites