Skip to content
Docs

Rakuten Travel rooms

Rakuten Travel (楽天トラベル): every room type and plan for one stay.

POST/v1/ota/rakuten
12 creditsTry it

JPY only. price is the room's nightly average and total_tax_included the whole stay for one room with consumption tax included; local accommodation and bathing taxes are paid at the hotel and never included. member_price is set when a plan has a member price. A full hotel answers availability: sold_out; one room per quote.

Request

POSThttps://api.scrapercompany.com/v1/ota/rakuten

Authenticate with your API key in the x-api-key header (see Authentication).

Run this request on your own API key from this page, with the values you type. Signed out? Sign in or get an API key.

Body

JSON object. Unknown fields are rejected with 422.

  • check_instring (date)required

    First night of the stay, YYYY-MM-DD.

  • check_outstring (date) | null

    Departure date. An alternative to nights — if both are given, this wins.

  • nightsintegerdefault 1min 1, max 14

    Length of stay. Ignored when check_out is supplied.

  • adultsintegerdefault 2min 1, max 9

    Adults in the one room quoted. Totals are for all of them.

  • hotel_nostringrequiredmin length 1, max length 300

    Rakuten Travel hotel number, or a hotel URL that carries it: travel.rakuten.co.jp/HOTEL/74637/ or hotel.travel.rakuten.co.jp/hotelinfo/plan/74637.

Example request

curl -X POST "https://api.scrapercompany.com/v1/ota/rakuten" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "check_in": "2026-12-25",
    "hotel_no": "74637"
  }'

Response

200 — Rakuten Travel rooms and plans (JPY, consumption tax included). Metered responses carry x-credits-charged and x-credits-remaining headers (see credit headers).

200 response
{
  "search_parameters": {
    "engine": "rakuten_property",
    "hotel_no": "74637",
    "check_in_date": "2027-02-24",
    "check_out_date": "2027-02-26",
    "adults": 2
  },
  "property": {
    "property_id": "74637",
    "name": "アパホテル&リゾート〈東京ベイ潮見〉",
    "price_per_night": 24750,
    "total_tax_included": 49500,
    "currency": "JPY",
    "sold_out": false,
    "availability": "available",
    "is_soldout": false,
    "provenance": {
      "schema_version": 1,
      "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
      "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
      "observed_at": "2026-08-07T01:23:45.678Z",
      "source": "rakuten",
      "source_kind": "ota_rate_plan",
      "source_property_id": "74637",
      "requested_currency": "JPY",
      "returned_currency": "JPY",
      "price_basis": "consumption_tax_included",
      "derivation": "normalized_upstream"
    },
    "rooms": [
      {
        "name": "□ 禁煙室 □ セミダブル",
        "room_code": "w1k",
        "category": "セミダブル",
        "size_capacity": "11m²/1人〜2人",
        "available": true,
        "cheapest_price": 24750,
        "rate_plans": [
          {
            "plan_id": "5187093",
            "room_code": "w1k",
            "name": "【素泊まり・事前決済限定】1秒チェックインにおすすめ!",
            "price": 24750,
            "total_tax_included": 49500,
            "total_before_tax": 45000,
            "currency": "JPY",
            "meal": "朝食なし 夕食なし",
            "payment": "予約時オンラインカード決済",
            "cancellation": "キャンセル料 無料 前日 (2026年11月18日) 23:59まで",
            "points": 450,
            "rate_code": "5187093",
            "rate_category": "unknown",
            "refundable": true,
            "meal_plan": "room_only",
            "rate_code_scope": "property",
            "provenance": {
              "schema_version": 1,
              "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
              "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
              "observed_at": "2026-08-07T01:23:45.678Z",
              "source": "rakuten",
              "source_kind": "ota_rate_plan",
              "source_property_id": "74637",
              "requested_currency": "JPY",
              "returned_currency": "JPY",
              "price_basis": "consumption_tax_included",
              "derivation": "normalized_upstream"
            }
          }
        ]
      }
    ]
  },
  "meta": {
    "source": "rakuten",
    "nights": 2,
    "adults": 2,
    "elapsed_s": 2.45,
    "total_rate_plans": 52,
    "comparable_across_markets": false,
    "notes": "JPY only. Totals include consumption tax; local accommodation and bathing taxes are paid at the hotel and are never included."
  }
}

Response fields

Fields marked required are always present; others appear when they apply.

  • search_parametersobjectrequired
    Show 5 child fields
    • search_parameters.enginestringrequired

      One ofrakuten_property

    • search_parameters.hotel_nostringrequired
    • search_parameters.check_in_datestring (date)required
    • search_parameters.check_out_datestring (date)required
    • search_parameters.adultsintegerrequired
  • propertyobjectrequired
    Show 12 child fields
    • property.property_idstringrequired

      The hotel number.

    • property.namestring | nullrequired
    • property.price_per_nightnumber | nullrequired

      Cheapest plan's nightly average.

    • property.total_tax_includedinteger | nullrequired

      Cheapest plan's whole stay.

    • property.currencystringrequired

      One ofJPY

    • property.sold_outbooleanrequired
    • property.availabilitystringrequired

      One ofavailablesold_out

    • property.is_soldoutboolean | nullrequired
    • property.availability_reasonstring | nullrequired
    • property.min_length_of_stayinteger | nullrequired
    • property.provenanceobject | nullrequired

      Provenance of the cheapest priced row; null when nothing priced.

      Show 13 child fields
      • property.provenance.schema_versionintegerrequired

        Provenance schema version (currently 1).

      • property.provenance.observation_idstringrequired

        Deterministic id of this price observation (rateobs_...).

      • property.provenance.collection_idstringrequired

        Id shared by every price from one upstream fetch (ratecol_...).

      • property.provenance.observed_atstringrequired

        UTC observation time, ISO-8601.

      • property.provenance.sourcestringrequired

        Upstream source, e.g. google_hotels_calendar.

      • property.provenance.source_kindstringrequired

        Kind of source, e.g. calendar, offer, ota_calendar, official.

      • property.provenance.source_property_idstringrequired

        Property identifier at the source.

      • property.provenance.requested_marketstring | nullrequired
      • property.provenance.requested_currencystring | nullrequired
      • property.provenance.returned_currencystring | nullrequired
      • property.provenance.price_basisstringrequired

        What the price represents, e.g. room_base_before_taxes_and_fees.

      • property.provenance.derivationstringrequired

        How the figure was derived, e.g. normalized_upstream.

      • property.provenance.upstream_rate_idstring | nullrequired

        Source-native rate/room id when available.

    • property.roomsarray of objectrequired
      Show 7 child fields
      • property.rooms[].categorystring | nullrequired

        Room category, in Japanese.

      • property.rooms[].size_capacitystring | nullrequired

        Size and occupancy as the site states them.

      • property.rooms[].namestringrequired
      • property.rooms[].room_codestringrequired
      • property.rooms[].availablebooleanrequired
      • property.rooms[].cheapest_pricenumber | nullrequired
      • property.rooms[].rate_plansarray of objectrequired
  • metaobjectrequired
    Show 9 child fields
    • meta.sourcestringrequired

      One ofrakuten

    • meta.collection_idstringrequired
    • meta.observed_atstringrequired
    • meta.nightsintegerrequired
    • meta.adultsintegerrequired
    • meta.elapsed_snumberrequired
    • meta.total_rate_plansintegerrequired
    • meta.comparable_across_marketsbooleanrequired

      Always false.

    • meta.notesstringrequired

Errors

Errors return a JSON body with a detail field. Failed requests are not charged. See Errors for the full list and retry advice.

StatusMeaningRetry?
401Unauthorized

Missing or invalid API key.

{"detail":"missing or invalid API key"}
No, fix the request
402Payment Required

Not enough credits for this request: the account's credits mode is enforce (mode in GET /v1/billing) and the request costs more than the available credits. Nothing is run or charged.

{"detail":"insufficient credits: this request costs 5, 0 available. Credits renew 2026-11-01."}
No, fix the request
404Not Found

The property, stay, job or record was not found.

{"detail":"job not found"}
No, fix the request
422Unprocessable Content

Request validation failed. detail is a list of problems for schema errors, or a string for semantic checks performed by the endpoint.

{"detail":[{"loc":["body","name"],"msg":"Field required","type":"missing"}]}
No, fix the request
429Too Many Requests

Too many requests: the key's requests-per-minute limit was exceeded, or (in enforce credits mode) the plan's concurrent-request limit. No rate-limit or Retry-After headers are sent; back off and retry.

{"detail":"rate limit 60/min exceeded"}
Yes, with backoff
503Service Unavailable

Temporarily unavailable: a dependency of this endpoint is down, or the upstream source changed its contract. Retry later.

{"detail":"database unavailable: OperationalError"}
Yes, with backoff

Try it

Press Try it above to run this request on your own key, with the values you type (sign in first). For a no-code walkthrough, use the workspace’s guided Try it.

  1. Export your key: export SCRAPERCOMPANY_API_KEY=sk_... (no key yet? start a free trial).
  2. Copy the cURL example above and run it in a terminal.

Credits

12 credits per successful call. Failed, blocked and empty results are free.

Questions about this page?

Send the page link and your question, and the team will answer.

Email support