> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /rakuten_travel/hotels/plans

> Get Rakuten Travel (楽天トラベル) accommodation plans for a hotel/ryokan by hotelNo (or hotel URL) for a given stay: each plan with its name, description, period, images and bookable room types — room type, bed type, size, meal, capacity, payment options, cancellation policy, total price, price per person and points.

**Price:** 10 credits per 5 results

**⚠️ Common errors:** 412: Hotel not found (well-formed hotelNo but the hotel does not exist)



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/rakuten_travel/hotels/plans
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/rakuten_travel/hotels/plans:
    post:
      tags:
        - /rakuten_travel
      summary: /rakuten_travel/hotels/plans
      description: >-
        Get Rakuten Travel (楽天トラベル) accommodation plans for a hotel/ryokan by
        hotelNo (or hotel URL) for a given stay: each plan with its name,
        description, period, images and bookable room types — room type, bed
        type, size, meal, capacity, payment options, cancellation policy, total
        price, price per person and points.


        **Price:** 10 credits per 5 results


        **⚠️ Common errors:** 412: Hotel not found (well-formed hotelNo but the
        hotel does not exist)
      operationId: __api_rakuten_travel_hotels_plans_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RakutenTravelHotelsPlansPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RakutenTravelHotelPlan'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RakutenTravelHotelsPlansPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        hotel:
          type: string
          minLength: 1
        checkin:
          type: string
          format: date
        checkout:
          type: string
          format: date
        adults:
          type: integer
          minimum: 1
          default: 2
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - hotel
        - checkin
        - checkout
        - count
    RakutenTravelHotelPlan:
      properties:
        '@type':
          type: string
          default: RakutenTravelHotelPlan
        id:
          type: string
        name:
          type: string
        images:
          items:
            type: string
          type: array
          default: []
        available_from:
          anyOf:
            - type: string
            - type: 'null'
        available_to:
          anyOf:
            - type: string
            - type: 'null'
        rooms:
          items:
            $ref: '#/components/schemas/RakutenTravelHotelPlanRoom'
          type: array
          default: []
      type: object
      required:
        - id
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    RakutenTravelHotelPlanRoom:
      properties:
        '@type':
          type: string
          default: RakutenTravelHotelPlanRoom
        id:
          type: string
        room_type:
          anyOf:
            - type: string
            - type: 'null'
        bed_type:
          anyOf:
            - type: string
            - type: 'null'
        room_info:
          anyOf:
            - type: string
            - type: 'null'
        meal:
          anyOf:
            - type: string
            - type: 'null'
        capacity:
          anyOf:
            - type: string
            - type: 'null'
        payment:
          anyOf:
            - type: string
            - type: 'null'
        cancellation:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: integer
            - type: 'null'
        price_per_person:
          anyOf:
            - type: integer
            - type: 'null'
        points:
          anyOf:
            - type: integer
            - type: 'null'
        vacant_room_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````