Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIRakuten

    rakuten.travel_hotel

    One place to stay in Japan on Rakuten Travel: rating, reviews, address, check-in and check-out, access, parking, rooms, facilities, amenities, cards taken and cancellation policy.

    Id
    rakuten.travel_hotel
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/rakuten.travel_hotel/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of rakuten.travel_hotel
    FieldTypeDescription
    hotelrequiredstringThe place's number on Rakuten Travel (74733), as rakuten.travel_search returns it, or the address of one of its pages (https://travel.rakuten.co.jp/HOTEL/74733/74733.html).Limit: at least 1 characters, at most 2048 characters.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of rakuten.travel_hotel
    FieldTypeNotes
    hotel_idstringRakuten Travel's number of the place.
    urlstringThe place's page on travel.rakuten.co.jp.
    namestringThe place's name as the site writes it.
    ratingnumber or nullThe average of its guests' ratings, out of 5; null for a place without reviews.
    review_countinteger or nullHow many reviews (お客さまの声) the place has.
    postal_codestring or nullThe postal code, e.g. 279-8519.
    addressstring or nullThe address after the postal code, in Japanese.
    areasarray of stringThe prefecture and areas the site files the place under, widest first, e.g. 千葉県, 舞浜・浦安・船橋・幕張.
    summarystring or nullThe place's own line about itself.
    highlightsarray of stringWhat the page shows as the place's points (宿の注目ポイント): its kind (リゾートホテル, 旅館, ペンション) and features (大浴場, 駐車場あり).
    check_instring or nullCheck-in as the page writes it, e.g. 15:00 (最終チェックイン:24:00).
    check_outstring or nullCheck-out as the page writes it, e.g. 12:00.
    phonestring or nullThe place's telephone number.
    faxstring or nullThe place's fax number.
    accessstring or nullHow to get there (交通アクセス), in Japanese.
    parkingstring or nullWhat the page says of parking (駐車場), in Japanese.
    room_countinteger or nullThe number of rooms (総部屋数).
    facilitiesarray of stringThe facilities of the building (館内設備), e.g. レストラン, 大浴場, 禁煙ルーム.
    room_amenitiesarray of stringWhat the rooms have (部屋設備・備品), e.g. 冷蔵庫, 浴衣.
    credit_cardsarray of stringThe cards the place takes, as the page names them.
    cancellation_policyarray of stringThe cancellation charges, one line each from the earliest, as when: charge, e.g. 15日前 23:59 まで: キャンセル料 無料.
    photo_countinteger or nullHow many photos and videos the place has on the site.
    imagesarray of stringThe photos the page shows at its top.
    detailsobject of string valuesEvery line of the page's basic information as label and text in Japanese: チェックイン, 住所, 駐車場, 総部屋数, 館内設備, 部屋設備・備品, 特典, 食事場所, 風呂, 条件・注意事項, キャンセルポリシー, バリアフリー対応, その他, ...
    fetched_atstring (date-time)When the site answered, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/rakuten.travel_hotel/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"hotel":"74733"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("rakuten.travel_hotel", {"hotel": "74733"})
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("rakuten.travel_hotel", { hotel: "74733" });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "rakuten.travel_hotel", map[string]any{"hotel": "74733"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("rakuten.travel_hotel", Map.of("hotel", "74733"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run rakuten.travel_hotel --input-json '{"hotel":"74733"}'

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "hotel": "74733"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "rakuten.travel_hotel",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "hotel": "74733"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "hotel_id": "74733",
          "url": "https://travel.rakuten.co.jp/HOTEL/74733/74733.html",
          "name": "東京ディズニーシー・ホテルミラコスタ(R)",
          "rating": 4.72,
          "review_count": 880,
          "postal_code": "279-8519",
          "address": "千葉県浦安市舞浜1-13",
          "areas": [
            "千葉県",
            "舞浜・浦安・船橋・幕張"
          ],
          "summary": "冒険の余韻につつまれて 東京ディズニーシーに滞在できるホテル (C)Disney",
          "highlights": [
            "リゾートホテル",
            "レストラン",
            "駐車場あり"
          ],
          "check_in": "15:00 (最終チェックイン:24:00)",
          "check_out": "12:00",
          "phone": null,
          "fax": null,
          "access": "ディズニーリゾートライン「東京ディズニーシー・ステーション」下車(約10分)",
          "parking": "1泊目3千円(4千円※)2泊目以降1泊ごと1千円(2千円※) ※2026年10月1日チェックインより",
          "room_count": 502,
          "facilities": [
            "レストラン",
            "宴会場",
            "結婚式場"
          ],
          "room_amenities": [
            "テレビ",
            "インターネット接続(無線LAN形式)",
            "湯沸かしポット"
          ],
          "credit_cards": [
            "VISA",
            "JCB",
            "American Express"
          ],
          "cancellation_policy": [
            "15日前 23:59 まで: キャンセル料 無料",
            "14日前 00:00 から: キャンセル料 宿泊料金の20%",
            "7日前 00:00 から: キャンセル料 宿泊料金の50%"
          ],
          "photo_count": 27,
          "images": [
            "https://trvimg.r10s.jp/share/image_up/74733/origin/ae87fa5c1dc9f10dea9ed85d3ab84fa329f1f2db.47.9.26.3.jpg",
            "https://trvimg.r10s.jp/share/image_up/74733/origin/b13beee9e080abb61affc36246e8bc7ef2ef081e.47.9.26.3.jpg",
            "https://trvimg.r10s.jp/share/image_up/74733/origin/683913de2b23730c6318e1c3164e6a0a98579c00.47.9.26.3.jpg"
          ],
          "details": {
            "チェックイン": "15:00 (最終チェックイン:24:00)",
            "チェックアウト": "12:00",
            "住所": "〒279-8519千葉県浦安市舞浜1-13",
            "TEL": "[withheld]",
            "FAX": "[withheld]",
            "交通アクセス": "ディズニーリゾートライン「東京ディズニーシー・ステーション」下車(約10分)",
            "駐車場": "1泊目3千円(4千円※)2泊目以降1泊ごと1千円(2千円※) ※2026年10月1日チェックインより",
            "総部屋数": "502室",
            "館内設備": "レストラン\n宴会場\n結婚式場\n禁煙ルーム\n売店\nプール(夏期のみ)\nプール(通年)\n屋外プール\nクリーニングサービス\nパソコン利用可\nファックス送信可\nルームサービス\nモーニングコール\n宅配便\n駐車場あり\nWi-Fi無料(客室)\n※屋外プール(夏期のみ営業、宿泊者のみ、有料)、屋内プール(通年営業、宿泊者のみ、有料)\n※シャンプーおよびコンディショナーは備え付けのディスペンサー式となります",
            "部屋設備・備品": "テレビ\nインターネット接続(無線LAN形式)\n湯沸かしポット\nお茶セット\n冷蔵庫\nドライヤー\nズボンプレッサー(貸出)\nアイロン(貸出)\n加湿器(貸出)\n個別空調\n洗浄機付トイレ\nボディーソープ\nシャンプー\nリンス\nハミガキセット\nブラシ\nタオル\nバスタオル\nナイトウェア\nスリッパ\n金庫",
            "特典": "1デーパスポートを1名様につき1日1枚購入可能、客室にてディズニーチャンネル視聴可能",
            "食事場所": "[朝食] 部屋\nレストラン\n[夕食] 部屋\nレストラン",
            "ご利用可能なクレジットカード": "VISA\nJCB\nAmerican Express\nDiner's Club\nUC\nDC\nNICOS\nOMC\nUFJ Card\nMaster Card\nSaison\nAEON\nJACCS\nCF\nORICO",
            "条件・注意事項": "■運営内容の変更やメンテナンス作業等が発生する場合があります。最新情報は、東京ディズニーリゾート・オフィシャルウェブサイトをご確認ください\n■宿泊者特典として「ハッピーエントリー」をご利用いただけます。対象パークの専用エントランスから一般ゲストより早く入園を開始する特典です。\n対象パーク、対象外の日程、利用方法等は東京ディズニーリゾート・オフィシャルウェブサイトにてご確認ください。\n※入園には別途パークチケットが必要\n※チェックイン日の入園には利用不可 … [truncated]",
            "キャンセルポリシー": "キャンセル料は以下の通り頂戴いたします。\n15日前 23:59 まで\nキャンセル料 無料\n14日前 00:00 から\nキャンセル料 宿泊料金の20%\n7日前 00:00 から\nキャンセル料 宿泊料金の50%\n前日 00:00 から\nキャンセル料 宿泊料金の80%\n当日 00:00 から\nキャンセル料 宿泊料金の100%\n連絡なしのキャンセル、不泊\nキャンセル料 宿泊料金の100%",
            "バリアフリー対応": "車椅子可\n貸出用車椅子\nバリアフリー用トイレ\nバリアフリールーム\n※宿泊施設によって、バリアフリー設備内容や、対応できるサービス範囲が異なります。ご不便なく安心してご利用いただくために、予め宿泊施設へ直接ご確認ください。",
            "その他": "(C)Disney"
          },
          "fetched_at": "2026-11-19T22:28:10.847078Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: highlights: 5 items, the first 3 shown.
    • Shortened: facilities: 15 items, the first 3 shown.
    • Shortened: room_amenities: 21 items, the first 3 shown.
    • Shortened: credit_cards: 15 items, the first 3 shown.
    • Shortened: cancellation_policy: 6 items, the first 3 shown.
    • Shortened: images: 5 items, the first 3 shown.
    • Shortened: details.条件・注意事項: 529 characters, the first 228 shown.
    • Left out: phone: the hotel's number: a run returns it, the example names no phone number.
    • Left out: fax: the hotel's fax: a run returns it, the example names no phone number.
    • Left out: details.TEL: the hotel's number, as above.
    • Left out: details.FAX: the hotel's fax, as above.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Rakuten scrapers are in their own section there.