Skip to main content
POST
/
api
/
rakuten_travel
/
hotels
/
reviews
/rakuten_travel/hotels/reviews
curl --request POST \
  --url https://api.anysite.io/api/rakuten_travel/hotels/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "hotel": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@rakuten_travel_hotel_review",
    "title": "<string>",
    "text": "<string>",
    "rating": 123,
    "view_count": 123,
    "like_count": 123,
    "created_at": "<string>",
    "is_anonymous": true,
    "author": "<string>",
    "author_gender": "<string>",
    "author_age_range": 123,
    "author_review_count": 123,
    "travel_purpose": "<string>",
    "travel_companion": "<string>",
    "check_in_date": "<string>",
    "plan_name": "<string>",
    "room_name": "<string>",
    "images": [],
    "scores": [],
    "replies": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
hotel
string
required

Rakuten Travel hotel as a numeric hotelNo or a full hotel URL

Minimum string length: 1
Examples:

"28576"

"https://travel.rakuten.co.jp/HOTEL/28576/28576.html"

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
@type
string
default:@rakuten_travel_hotel_review
title
string | null
text
string | null
rating
integer | null
view_count
integer | null
like_count
integer | null
created_at
string | null
is_anonymous
boolean | null
author
string | null
author_gender
string | null
author_age_range
integer | null
author_review_count
integer | null
travel_purpose
string | null
travel_companion
string | null
check_in_date
string | null
plan_name
string | null
room_name
string | null
images
string[]
scores
RakutenTravelHotelReviewScore · object[]
replies
RakutenTravelHotelReviewReply · object[]