Skip to main content
POST
/
api
/
rakuten_travel
/
hotels
/rakuten_travel/hotels
curl --request POST \
  --url https://api.anysite.io/api/rakuten_travel/hotels \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "hotel": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "url": "<string>",
    "@type": "@rakuten_travel_hotel",
    "description": "<string>",
    "image": "<string>",
    "rating": 123,
    "review_count": 123,
    "postal_code": "<string>",
    "address": "<string>",
    "country": "<string>",
    "prefecture": "<string>",
    "city": "<string>",
    "area_code": "<string>",
    "checkin": "<string>",
    "checkout": "<string>",
    "access": "<string>",
    "parking": "<string>"
  }
]

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"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
name
string
required
url
string
required
@type
string
default:@rakuten_travel_hotel
description
string | null
image
string | null
rating
number | null
review_count
integer | null
postal_code
string | null
address
string | null
country
string | null
prefecture
string | null
city
string | null
area_code
string | null
checkin
string | null
checkout
string | null
access
string | null
parking
string | null