Discover/Traveloka API
live

Traveloka APItraveloka.com ↗

Access Traveloka hotel listings by region: names, star ratings, user ratings, prices in IDR, and location details via two clean REST endpoints.

Endpoint health
verified 2d ago
get_popular_destinations
get_hotels_by_region
2/2 passing latest checkself-healing
Endpoints
2
Updated
1mo ago

What is the Traveloka API?

The Traveloka API gives developers access to hotel listings across Southeast Asia through 2 endpoints, returning up to dozens of fields per property including name, star rating, user rating, review count, price, accommodation type, and image URL. The get_hotels_by_region endpoint accepts a region slug and geo ID to retrieve paginated hotel results for a given check-in and check-out date range.

This call costs1 credit / call— charged only on success
Try it
The geo ID of the region (e.g. '102813' for Jakarta, '102746' for Bali). Obtain from get_popular_destinations endpoint.
Check-in date in YYYY-MM-DD format. Defaults to 7 days from today if omitted.
Check-out date in YYYY-MM-DD format. Defaults to 1 day after checkin if omitted.
The slug of the region (e.g. 'jakarta', 'bali', 'singapore', 'bangkok'). Obtain from get_popular_destinations endpoint.
→ 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.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/fbbb6f69-7fe3-4f0b-bd86-98fd3f029c37/get_hotels_by_region?geo_id=102746&checkin=2026-10-23&checkout=2026-10-24&region_slug=bali' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalmissing one? ·

List hotels in a specific region using its slug and geo ID. Returns a list of hotels with names, star ratings, user ratings, prices, and locations. Use get_popular_destinations to discover valid region_slug and geo_id values. Prices are in the local currency (typically IDR). Results are server-rendered from the first page of listings (typically 3 hotels per region page).

Input
ParamTypeDescription
geo_idrequiredstringThe geo ID of the region (e.g. '102813' for Jakarta, '102746' for Bali). Obtain from get_popular_destinations endpoint.
checkinstringCheck-in date in YYYY-MM-DD format. Defaults to 7 days from today if omitted.
checkoutstringCheck-out date in YYYY-MM-DD format. Defaults to 1 day after checkin if omitted.
region_slugrequiredstringThe slug of the region (e.g. 'jakarta', 'bali', 'singapore', 'bangkok'). Obtain from get_popular_destinations endpoint.
Response
{
  "type": "object",
  "fields": {
    "hotels": "array of hotel objects with id, name, location, star_rating, user_rating, num_reviews, price, accommodation_type, image_url, seo_path",
    "region": "string region slug queried",
    "checkin": "string check-in date used",
    "checkout": "string check-out date used",
    "total_hotels": "string indicating total number of hotels in the region"
  },
  "sample": {
    "data": {
      "hotels": [
        {
          "id": "2000000113168",
          "name": "Hotel Indonesia Kempinski Jakarta",
          "price": {
            "amount": "13230.0",
            "currency": "USD"
          },
          "location": "Thamrin, Jakarta Pusat",
          "seo_path": "/hotel/indonesia/hotel-indonesia-kempinski-jakarta-2000000113168",
          "image_url": "https://ik.imagekit.io/tvlk/apr-asset/hotel/asset/20020708-059782533c354ee1de6dd26db4021740.jpg",
          "num_reviews": "6371",
          "star_rating": "5.0",
          "user_rating": "9.0",
          "accommodation_type": "Hotels"
        }
      ],
      "region": "jakarta",
      "checkin": "2026-06-17",
      "checkout": "2026-06-18",
      "total_hotels": "9538"
    },
    "status": "success"
  }
}

About the Traveloka API

What the API Covers

The Traveloka API exposes hotel inventory data from Traveloka's Southeast Asian platform. It provides two endpoints: get_popular_destinations to enumerate valid regions, and get_hotels_by_region to retrieve hotels within a chosen region. Each hotel object includes id, name, location, star_rating, user_rating, num_reviews, price, accommodation_type, image_url, and an SEO path field — giving you the core metadata needed for comparison, aggregation, or display.

Querying Hotels by Region

get_hotels_by_region requires two mandatory inputs: region_slug (e.g. 'bali', 'jakarta', 'singapore') and geo_id (e.g. '102746' for Bali). Both values are returned by get_popular_destinations, so the typical flow is to call that first and feed its output into hotel queries. Optional checkin and checkout parameters accept YYYY-MM-DD format; if omitted, checkin defaults to 7 days from today and checkout defaults to one day after checkin. Prices are returned in the local currency, typically IDR for Indonesian destinations.

Discovering Destinations

get_popular_destinations takes no inputs and returns an array of destination objects, each carrying a slug and a geo_id. This endpoint is the discovery layer — it tells you which region identifiers the system recognizes, so you are not guessing slugs or numeric IDs. The returned list reflects popular regions as surfaced on Traveloka's hotel homepage.

Limitations to Know

Price data is denominated in the local currency of each destination (IDR for most Indonesian results). The total_hotels field is returned as a string, not an integer, so cast accordingly. The API currently returns a list of hotels per region but does not expose individual hotel detail pages, room-type breakdowns, or availability calendars at the room level.

Reliability & maintenanceVerified

The Traveloka API is a managed, monitored endpoint for traveloka.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when traveloka.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official traveloka.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2d ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Aggregate hotel prices across Bali, Jakarta, and Singapore for a travel comparison dashboard
  • Build a price-tracking tool that monitors Traveloka IDR rates for a fixed region over time
  • Populate a hotel recommendation feed using star_rating and user_rating fields
  • Map hotel locations by region using location fields returned per hotel object
  • Enumerate all popular Southeast Asian destinations using get_popular_destinations to seed a region selector UI
  • Filter accommodation options by accommodation_type (e.g. resort vs. guesthouse) for niche travel apps
  • Collect num_reviews and user_rating data to benchmark Traveloka listings against other OTA sources
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Traveloka have an official public developer API?+
Traveloka does not publish a public developer API or API documentation for third-party access. Access to their hotel inventory data is not available through an official partner portal for general developers.
What does get_hotels_by_region return for each hotel?+
Each hotel object includes id, name, location, star_rating, user_rating, num_reviews, price (in local currency, typically IDR), accommodation_type, image_url, and an seo_p field. The response also returns the region slug queried, the checkin and checkout dates used, and a total_hotels count as a string.
Does the API support filtering hotels by price range, amenities, or specific property features?+
Not currently. The API returns all hotels for a given region and date range without server-side filtering by price, amenities, or property features. You would need to filter the returned array client-side. You can fork this API on Parse and revise it to add filtering parameters if your use case requires it.
Are individual hotel detail pages or room-level data available?+
Not currently. The API covers region-level hotel listings with summary fields per property. Room types, availability calendars, and detailed hotel pages are not exposed. You can fork this API on Parse and revise it to add an individual hotel detail endpoint.
How do I get valid geo_id and region_slug values for get_hotels_by_region?+
Call get_popular_destinations first — it returns an array of destination objects each containing a slug and a geo_id. Pass those values directly into get_hotels_by_region. The two fields are co-dependent: use the slug and geo_id from the same destination object to avoid mismatches.
Page content last updated . Spec covers 2 endpoints from traveloka.com.
Related APIs in TravelSee all →
travelocity.com API
Search for travel destinations and browse hotel listings on Travelocity. Compare options by location, dates, and availability to find and book accommodation.
hotels.com API
Search for hotels across millions of properties, view room availability and pricing, and get detailed information about accommodations at specific destinations. Get location suggestions and discover popular travel spots to help plan your next getaway.
agoda.com API
Access data from agoda.com.
orbitz.com API
Search for hotels and destinations on Orbitz, then view detailed property information including pricing and amenities. Get typeahead location suggestions as you type to quickly find your travel destination.
tripadvisor.com API
Search for travel destinations and discover hotels with detailed information like ratings, reviews, and amenities. Get comprehensive place details to help plan your perfect trip and compare accommodation options.
hotelscan.ai API
Search and compare hotels with detailed guest reviews, room availability, and pricing information across flexible dates. Find similar properties, get autocomplete suggestions for locations, and access comprehensive hotel details all in one place.
expedia.com API
Search for hotels and flights across Expedia while viewing detailed property information to compare prices and amenities for your travel plans. Get comprehensive travel options all from one integration without manually browsing the website.
trivago.com.br API
Search hotels across Trivago by destination, dates, and guest count. Filter by price range and currency, get autocomplete suggestions for locations, and retrieve detailed hotel information including star ratings, guest reviews, and pricing from multiple booking sites.