Discover/traveloka.com API
live

traveloka.com APItraveloka.com

Access Traveloka hotel data via 3 endpoints: search by property, list hotels by region, and discover popular destinations with prices and ratings.

Endpoints
3
Updated
14d ago
Try it
Number of rooms
Number of adults
Check-in date (YYYY-MM-DD)
Check-out date (YYYY-MM-DD)
Currency code
Base hotel ID for the search
api.parse.bot/scraper/fbbb6f69-7fe3-4f0b-bd86-98fd3f029c37/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/fbbb6f69-7fe3-4f0b-bd86-98fd3f029c37/search_hotels' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Search for hotels similar to a given property. Useful for discovering and listing multiple hotels with names, ratings, prices, and locations.

Input
ParamTypeDescription
roomsintegerNumber of rooms
adultsintegerNumber of adults
checkinstringCheck-in date (YYYY-MM-DD)
checkoutstringCheck-out date (YYYY-MM-DD)
currencystringCurrency code
hotel_idrequiredstringBase hotel ID for the search
Response
{
  "type": "object",
  "fields": {
    "hotels": "array"
  },
  "sample": {
    "hotels": [
      {
        "id": "254012",
        "name": "Harris Suites FX Sudirman",
        "price": {
          "amount": "9733",
          "currency": "USD"
        },
        "region": "Senayan",
        "location": {
          "lat": "-6.2246542736947585",
          "lng": "106.80359624326229"
        },
        "image_url": "https://ik.imagekit.io/...",
        "star_rating": "4.0",
        "user_rating": "8.6",
        "review_count": "6193"
      }
    ]
  }
}

About the traveloka.com API

The Traveloka API exposes 3 endpoints for retrieving hotel data from Traveloka.com, covering hotel names, star ratings, user ratings, review counts, prices, and location details. Use get_hotels_by_region to list hotels in cities like Bali or Jakarta, search_hotels to find properties similar to a known hotel, or get_popular_destinations to enumerate valid region slugs and geo IDs for region-based queries.

Endpoints and What They Return

get_popular_destinations takes no parameters and returns an array of destination objects, each with a slug (e.g. bali, singapore) and a geo_id (e.g. 102746). These values are required inputs to get_hotels_by_region, making this endpoint the natural starting point for any region-scoped hotel search.

get_hotels_by_region accepts a required region_slug and geo_id (from get_popular_destinations) plus optional checkin and checkout dates in YYYY-MM-DD format. If dates are omitted, checkin defaults to 7 days from today and checkout to one day after. The response includes an array of hotel objects with fields: id, name, location, star_rating, user_rating, num_reviews, price, accommodation_type, image_url, and seo_p, alongside a total_hotels count for the region.

Search by Similar Property

search_hotels takes a required hotel_id and optional occupancy parameters — rooms, adults, checkin, checkout, and currency — then returns an array of hotels similar to the specified property. This is useful when you already know a reference hotel and want to surface alternatives. The currency parameter lets you request prices in a specific denomination across results.

Common use cases
  • Build a hotel comparison tool for a specific region using get_hotels_by_region with star_rating and price fields.
  • Populate a destination picker UI by mapping get_popular_destinations slugs to supported cities.
  • Display user rating and review count alongside pricing for hotels in a city like Bangkok or Jakarta.
  • Suggest alternative hotels to a known property using search_hotels with a reference hotel_id.
  • Track nightly price changes for a region by querying get_hotels_by_region with different check-in and check-out dates.
  • Filter accommodation listings by accommodation_type to separate hotels from other lodging categories.
  • Embed hotel thumbnails in a travel app using the image_url field returned per property.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Traveloka offer an official developer API?+
Traveloka does not publish a public developer API or developer portal for third-party access to its hotel inventory data.
What does get_hotels_by_region return beyond basic hotel names?+
Each hotel object includes id, name, location, star_rating, user_rating, num_reviews, price, accommodation_type, image_url, and seo_p. The response also returns the region slug queried, the checkin and checkout dates used, and a total_hotels count indicating how many hotels exist in that region.
Does the API support filtering hotels by price range, star rating, or amenities within a region?+
Not currently. The API returns all hotels for a region and includes price and star_rating fields in the response, but there are no server-side filter parameters for those fields. You can fork the API on Parse and revise it to add filtering logic over those response fields.
How do I get valid geo_id and region_slug values for get_hotels_by_region?+
get_popular_destinations returns an array of destination objects each containing a slug and geo_id. Pass those values directly as region_slug and geo_id to get_hotels_by_region. The endpoint documentation also lists a few examples: 102813 for Jakarta and 102746 for Bali.
Does the API cover flight search, car rentals, or activity bookings from Traveloka?+
Not currently. The API covers hotel search and region-based hotel listings only. You can fork it on Parse and revise to add endpoints for other Traveloka product categories.
Page content last updated . Spec covers 3 endpoints from traveloka.com.
Related APIs in TravelSee all →
culturetrip.com API
Discover travel inspiration and plan your next adventure by browsing curated travel articles, destination guides, and bookable trips organized by region and city. Search for specific destinations, compare trip dates and prices, and explore popular cities to find the perfect getaway.
sevenrooms.com API
Search for available restaurant tables across any SevenRooms venue, view venue details and open dates, and complete reservations all in one place. Whether you're planning ahead or booking last-minute, you can check real-time availability and secure your table at thousands of restaurants on the SevenRooms platform.
delta.com API
Look up Delta Airlines flight schedules, check real-time flight status, and retrieve detailed trip information to plan your travel. Find your nearest airport and access the data you need to monitor flights and make booking decisions.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
comedymothership.com API
Browse upcoming Comedy Mothership shows across different rooms, check real-time ticket availability, and get detailed information about Kill Tony events and seating options. Find venue details, FAQs, and track specific performances to plan your comedy night.
burningman.org API
Access comprehensive Burning Man information including Black Rock City event schedules, ticketing details, themed activities, playa events, volunteering opportunities, and mutant vehicle listings. Search global Burning Man events, stay updated with news and stories, and find preparation resources all in one place.
breckenridge.com API
Check real-time snow conditions, weather forecasts, lift operations, and trail status at Breckenridge Ski Resort to plan your day on the mountain. View live mountain cameras and get up-to-the-minute updates on slopes, lifts, and weather before you head out.
united.com API
Search United Airlines flights, check real-time flight status, and view detailed seat maps to plan your perfect trip. Compare fare options and use airport autocomplete to quickly find your departure and arrival cities.