Traveloka is an Indonesian company primarily focused on hotel booking services and airline ticketing. It provides customer reviews and feedback in general which made it quite popular in Southeast Asia and Australia. It launched in 2012 and currently has more than 1200 employees.

Submitting the API request

This is sample CURL request you can use to test JustLikeAPI features.

Please make sure to replace:
- YOUR_API_KEY with the one you received from our support team
- PAGE_SPECIFIC_URL - with the endpoint of the method you're trying to invoke
- JSON payload - with the contents of your request (the sample payload for each request is given below)

curl -X POST https://api.justlikeapi.io/reviews/get -H 'authorization: Bearer YOUR_API_KEY' -H 'cache-control: no-cache' -H 'content-type: application/json' -d '{ "propertyUrl": "https://www.traveloka.com/en-au/hotel/australia/wyndham-hotel-melbourne-1000000477104"}'

Read operations

Get method will pull in reviews for platform of your choice. Reviews will be ordered by date and can include information from the code example bellow:

Request

{
"propertyUrl":""https://www.traveloka.com/en-au/hotel/australia/wyndham-hotel-melbourne-1000000477104",
"dateFrom": "2018-03-10", *
"reviewLimit" : "1" **
}

* "dateFrom" is optional

** "reviewLimit" is optional

Base URL : https://justlikeapi.io/reviews/get

Parameter content type: application/json

Response

{
    "propertyName": "Wyndham Hotel Melbourne",
    "propertyId": "158247",
    "location": "199 William Street, Melbourne CBD, Melbourne,
Victoria, Australia, 3000",
    "platform": "Traveloka",
    "url": "https://www.traveloka.com/en-au/hotel/australia/wyndham-hotel-melbourne-1000000477104",
    "reviews": [
        {
            "reviewId": null,
            "customer": {
                "username": "Harry T.",
                "location": null,
                "level": null
            },
            "authorUrl": null,
            "rating": "4.7",
            "text": "The hotel is clean, nice and has a complete kitchenette",
            "reviewedOn": "28 Jun 2018",
            "photos": [
                {
                    "photoUrl": null
                }
            ],
            "title": "Family vacation",
        }
    ],
    "ratingComfort": "3"
}