Skip to main content
POST
/
api
/
jalan
/
hotels
/
reviews
/jalan/hotels/reviews
curl --request POST \
  --url https://api.anysite.io/api/jalan/hotels/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "hotel": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@jalan_review",
    "rating": 123,
    "title": "<string>",
    "text": "<string>",
    "created_at": "<string>",
    "author": "<string>",
    "author_id": "<string>",
    "gender": "<string>",
    "age_group": "<string>",
    "trip_type": "<string>",
    "stay_period": "<string>",
    "plan_name": "<string>",
    "room_type": "<string>",
    "meal_type": "<string>",
    "price_range": "<string>",
    "category_ratings": {}
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
hotel
string
required

Jalan hotel/ryokan id (numeric, e.g. 340595) or a full hotel URL

Minimum string length: 1
Examples:

"340595"

"yad340595"

"https://www.jalan.net/yad340595/"

count
integer
required

Max number of reviews to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@jalan_review
rating
number | null
title
string | null
text
string | null
created_at
string | null
author
string | null
author_id
string | null
gender
string | null
age_group
string | null
trip_type
string | null
stay_period
string | null
plan_name
string | null
room_type
string | null
meal_type
string | null
price_range
string | null
category_ratings
Category Ratings · object