POST /api/ikyu/hotels/plans
Price: 10 credits
Get the bookable stay plans of a hotel on Ikyu (一休.com) for a check-in day, nights, adults and rooms: plan name, meals, check-in and check-out times, and every room offered with its size, beds, features, photos, price, discount, points and rooms left
Hotel ids come from ikyu/hotels/search. An empty list means nothing is bookable for that stay; ikyu/hotels/calendar shows which check-in days have availability.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)nights integer — Number of nights (default: 1; min: 1; max: 9)adults integer — Adults per room (default: 2; min: 1; max: 10)rooms integer — Number of rooms (default: 1; min: 1; max: 10)hotel string required — Ikyu hotel id or hotel URL (examples: "00001278", "https://www.ikyu.com/00001278/"; minLength: 1)check_in integer required — Check-in day as unix seconds (examples: 1794700800)count integer required — Max number of results (min: 1; max: 500)@type string (default: "IkyuHotelPlan")id string requiredhotel_id string requiredhotel_url string requiredname string nullablemeal object nullable@type string (default: "IkyuNamedCode")code string requiredname string nullablecheck_in_from string nullablecheck_in_until string nullablecheck_out string nullablesale_type string nullablemember_rank string nullableis_ikyu_exclusive boolean nullableis_within_two_weeks_only boolean nullableis_bookable_soon boolean nullableis_ending_soon boolean nullablefeatures array (default: [])@type string (default: "IkyuNamedCode")code string requiredname string nullableimage_urls array (default: [])lowest_price integer nullableroom_offer_count integer nullableroom_offers array (default: [])@type string (default: "IkyuRoomOffer")room_id string requiredroom_name string nullableroom_type object nullable@type string (default: "IkyuNamedCode")code string requiredname string nullablesize_sqm_min number nullablesize_sqm_max number nullablecapacity_min integer nullablecapacity_max integer nullablefloor_plan string nullablefloor_min integer nullablefloor_max integer nullablerenovated string nullablebeds array (default: [])@type string (default: "IkyuBed")count integer nullablesleeps integer nullablewidth_cm integer nullablelength_cm integer nullableheight_cm integer nullablefeatures array (default: [])@type string (default: "IkyuNamedCode")code string requiredname string nullableimages array (default: [])@type string (default: "IkyuImage")url string requiredcaption string nullablecategory string nullableprice integer nullableprice_before_discount integer nullablediscount_rate integer nullablepoints integer nullablepoint_rate number nullablerooms_left integer nullable422 — hotel is not an Ikyu hotel id or URL Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No Ikyu hotel under that id Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.