Skip to main content
POST
/
api
/
rakuten_travel
/
hotels
/
plans
/rakuten_travel/hotels/plans
curl --request POST \
  --url https://api.anysite.io/api/rakuten_travel/hotels/plans \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "hotel": "<string>",
  "checkin": "2023-12-25",
  "checkout": "2023-12-25",
  "count": 2,
  "timeout": 300,
  "adults": 2
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "@type": "@rakuten_travel_hotel_plan",
    "description": "<string>",
    "images": [],
    "available_from": "<string>",
    "available_to": "<string>",
    "rooms": []
  }
]

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"

checkin
string<date>
required

Check-in date (YYYY-MM-DD)

Example:

"2026-07-15"

checkout
string<date>
required

Check-out date (YYYY-MM-DD)

Example:

"2026-07-16"

count
integer
required

Max number of plans to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
adults
integer
default:2

Number of adult guests

Required range: x >= 1

Response

Successful Response

id
string
required
name
string
required
@type
string
default:@rakuten_travel_hotel_plan
description
string | null
images
string[]
available_from
string | null
available_to
string | null
rooms
RakutenTravelHotelPlanRoom · object[]