Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect Rakuten Travel to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/rakuten-travel.md
Travel

How to connect Rakuten Travel to AI agents

TL;DR

The short answer
VerdictOfficial, individuals OK Individuals can connect through an official route (MCP, connector or API) without a business contract or review
MethodOfficial API (REST)
PricingThe Rakuten Web Service (API) is free to use. Registering an app with a Rakuten ID issues an application ID and an access key

Through the Rakuten Web Service official API, you can use vacancy search, hotel search, hotel details, rankings, and more. Anyone can register an app with a Rakuten ID for free and get an application ID and access key. Bookings, changes, and cancellations cannot be made via the API. There is no official MCP server, but the unofficial rakuten-mcp (a set of read-only tools; 27 tools as of v1.3.0, 7 of them for Travel) exists. Composio offers a Rakuten Web Service toolkit, and Yoom offers scraping templates.

AuthenticationApplication ID + access key
Checked by the operator2026.12.05
How the operator checkedChecked against official documentation

For AI agents: Markdown ・ JSON

Official MCP and AI guides

Official MCP serverNo

Rakuten provides no official MCP server

Official guide for AI agentsUnverified

No official guide for AI agents was found. llms.txt could not be confirmed: travel.rakuten.co.jp returned 403 and webservice.rakuten.co.jp errored on fetch. Developer information is collected in the Rakuten Web Service documentation

Connectors

Official connectors from AI services

Not supported: Claude, ChatGPT, Gemini, Microsoft Copilot

Third-party integration services

  • Composio

    A toolkit for the Rakuten Web Service is provided, covering data fetching for product search, Books, Travel, Recipe, and more. The guidance says public data uses API key authentication and member data uses OAuth2

  • Yoom

    Official flow-bot templates are provided that scrape Rakuten Travel's public pages and notify Gmail, Slack, and others, such as 'On a set schedule, scrape Rakuten Travel and notify via Gmail.' This is browser scraping, not an API integration

Not supported: Zapier, Make, n8n, Power Automate, IFTTT, Pipedream

Unofficial MCP servers

Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.

  • mrslbt/rakuten-mcp

    An unofficial MCP server for the Rakuten Web Service API (npm package rakuten-mcp). As of v1.3.0 it has 27 read-only tools spanning Ichiba, Books, Travel, Recipe, Kobo, and GORA; 7 of them are Travel tools such as vacancy search. The README carries a disclaimer that it is not an official Rakuten product

Security assessment

For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.

Third-party integrationComposioOfficial from the integration service
Permissions requiredRead only

Within the scope of the Rakuten Web Service public API. The Travel tools are search and display only; bookings are not possible. Composio's guidance also mentions OAuth2 for member data, but the Travel tools are search-only

Terms of serviceConditional

The implementation uses the official API, but the application ID and access key are entrusted to Composio. The Rakuten Web Service terms place responsibility for managing app IDs on the user (Article 5) and prohibit off-purpose use of fetched information and storing it where it can be shared (Article 10), so key custody and data retention conditions need checking against those terms

Source: relevant section of the terms

Data pathCalls to the Rakuten Web Service API go through Composio's servers. The application ID and access key are entrusted to Composio
Third-party integrationYoomOfficial from the integration service
Permissions requiredRead only

The method fetches public pages without using a Rakuten account. A separate Yoom account is required

Terms of serviceIssues

Article 18 of the Rakuten Travel terms of use prohibits use by any method other than those approved by the company and the use of external tools that produce unintended effects. Regular scraping via this template may conflict with the terms

Source: relevant section of the terms

Data pathFetching is done on Yoom's servers, and results are delivered via Yoom to Gmail, Slack, and other destinations
Unofficial MCPmrslbt/rakuten-mcpThird party (unofficial)
Permissions requiredRead only

Runs with your own application ID and access key. The key applies across all API categories enabled for the app, so it cannot be narrowed to Travel only. All tools are read-only GETs; bookings and changes are not possible

Terms of serviceConditional

Implemented on the official API and within the Rakuten Web Service terms of use. Using fetched information for other purposes, copying it, or storing it where unspecified numbers of people can share it is prohibited by the terms (Article 10). When fetched content is passed to an AI service's cloud, its retention and usage conditions also need checking against that article

Source: relevant section of the terms

Data pathRuns locally and connects directly to the Rakuten Web Service API. Fetched content is passed to the AI service using the MCP server. Because the application ID and access key are handed to a third-party package via environment variables, managing key leakage and arbitrary code execution risk is the user's responsibility

Delegated sign-in

When an agent signs in on your behalf, holds your credentials or session, or passes two-factor authentication

Terms of serviceIssues
Sharing credentialsSign-in to Rakuten Travel uses a Rakuten ID (Rakuten member account). Article 8 of the Rakuten Member terms prohibits transferring or lending the account and the status and rights/obligations under the contract to a third party. Article 3 treats anyone who signs in with the ID and password as the member themselves. Handing your ID and password to an agent to sign in is incompatible with this premise
Two-factor authenticationEmail-based two-factor authentication (a code sent to the registered email address) and passkey authentication are available. Two-factor authentication may be required for important operations such as password changes regardless of whether it is enabled, but it is only required at sign-in for some services. Password sign-in itself remains available, so it is not much of a safeguard against handing your password to an agent
RisksA Rakuten ID is a shared ID across the Rakuten group (Rakuten Ichiba, Rakuten Travel, Rakuten Points, and more) and is linked to registered credit cards and points. The impact of leakage or mistaken operations is not limited to travel booking changes and cancellations. Unintended bookings or cancellations caused by agent errors or prompt injection are also treated as your own actions

Article 8, Paragraph 1 of the Rakuten Member terms also prohibits unauthorized access and use of a third party's account, whether done directly or through a third party

Source: relevant section of the terms

Data you can fetch within the terms of service

Hotel, plan, and vacancy information can be viewed on public pages without signing in. Booking requires signing in with a Rakuten ID (Rakuten membership). Member-only information such as your own booking details is not public

ScrapingProhibited

Article 18 of the Rakuten Travel terms of use prohibits use 'by any method other than those approved by the company' and the use, creation, and distribution of external tools that produce effects the company does not normally intend (the Premium Club terms of use, Article 20, contain similar clauses). On the API side, the Rakuten Web Service terms of use apply, prohibiting off-purpose use, copying, and alteration of fetched information and storing it where unspecified numbers of people can share it (Article 10)

Source: relevant section of the terms of service

Fetching with the agent's own browserConditional

Whether agents with their own browser, such as ChatGPT agent or Claude's browser use, can read the signed-in pages

Automation under the termsProhibited
Bot detection / CAPTCHAConfirmed that automated fetching tools receive 403 responses. Bot countermeasures appear to be in place

Public pages for hotels and vacancies can be read in a human's browser without signing in, but 403 responses to automated fetching tools were confirmed. Article 18 of the Rakuten Travel terms of use prohibits use by unapproved methods and the use of external tools, so agent browser automation cannot be premised on it. Vacancy checks can be done via the official API instead. Post-sign-in screens such as booking confirmation require Rakuten ID authentication

Source: relevant section of the terms of service

Usage

How to connect

  1. Sign in to Rakuten Web Service with a Rakuten ID and register an app (application name, URL, data usage purpose, expected QPS, and the API categories to use). If you will call it from programs, choose the Backend Service type and register your source IPs in the allowlist
  2. Check the issued application ID and access key (starting with pk_). Both are required for authentication
  3. Call the Vacancy Search API, Hotel Search API, Hotel Detail API, Area Class API, and others with the applicationId and accessKey (responses in JSON/XML)
  4. Bookings cannot be made via the API. Use the API up to vacancy checks, and complete the booking yourself on the Rakuten Travel website

Setup examples

Paste these as they are. Replace the API key, domain and similar values with your own.

空室検索API(curl)
curl "https://openapi.rakuten.co.jp/engine/api/Travel/VacantHotelSearch/20170426?applicationId=your-app-id&accessKey=your-access-key&largeClassCode=japan&middleClassCode=akita&smallClassCode=tazawa&checkinDate=2026-12-12&checkoutDate=2026-12-13&adultNum=2"

公式ドキュメントのサンプルリクエスト(田沢湖エリア・大人2名1泊)に、必須のaccessKeyを加えた形。accessKeyはヘッダーでも指定できる。デフォルトのレスポンス形式はJSON。プログラムから呼ぶ場合は、アプリをバックエンドサービス型で登録し、接続元IPを許可リストに登録しておくことが前提

Official page checked: https://webservice.rakuten.co.jp/documentation/vacant-hotel-search

rakuten-mcp(非公式MCP)
{
  "mcpServers": {
    "rakuten": {
      "command": "npx",
      "args": ["-y", "rakuten-mcp@1.3.0"],
      "env": {
        "RAKUTEN_APP_ID": "your-app-id",
        "RAKUTEN_ACCESS_KEY": "your-access-key"
      }
    }
  }
}

非公式MCPサーバー rakuten-mcp のREADMEの設定例に、確認時点の最新版1.3.0を固定した形。トラベル系は空室検索・施設検索・施設詳細・地区コード・キーワード検索・チェーンコード・ランキングの7ツール。全ツール読み取り専用

Official page checked: https://glama.ai/mcp/servers/mrslbt/rakuten-mcp

Limiting the features

アプリの種類ごとに認証方式が違う
アプリの種類で認証方式が違う(バックエンドサービス型=接続元IPの登録が必須・最大9件/Webアプリケーション型=許可したOriginからの呼び出し)

プログラムやエージェントから呼ぶ場合はバックエンドサービス型で登録し、接続元IPを許可リストに入れる。種類を取り違えると、キーが正しくても認証エラー(403/503)になる。許可IPはアプリの編集画面で変更できる

Official page checked: https://qiita.com/AUTOMOS/items/b142a8a3588051f43393

スコープは登録時にカテゴリ単位で選ぶ
APIアクセスコープはアプリ登録時にカテゴリ単位で選択する

登録時に使うAPIのカテゴリ(楽天トラベルAPIなど)を選ぶ。キー自体に読み取り専用といった細かい権限指定はなく、有効化したカテゴリ内では公開APIを広く呼べる。公開されているトラベル系APIは検索・表示系のみで、予約や会員情報に触れるAPIはない

Official page checked: https://note.com/ai_shop_dx/n/n17d53dee7a2e

Find weekend vacancies

Instruction to the agent

Use the Rakuten Travel API to find hotels with vacancies near Lake Tazawa for next weekend for two adults

The Vacancy Search API returns hotels and plans with vacancies for given area codes, dates, and party size. Place names cannot be searched directly; you first need to resolve area codes via the Area Class API (GetAreaClass)

See top-rated onsen hotels

Instruction to the agent

Show me Rakuten Travel's hotel ranking for the onsen genre

The Hotel Ranking API (travel_hotel_ranking in the unofficial MCP server) returns rankings by genre such as onsen, ryokan, and city hotels

Pitfalls and tips

Pitfalls

  • Both the application ID and the access key are required for authentication. Older guides and articles that use only the application ID no longer match the current specification
  • The authentication method differs by app type (Web Application type / Backend Service type). Choosing the wrong type causes authentication errors even with the correct application ID and access key
  • Heavy access to the same request URL in a short time can make the API temporarily unavailable. A 429 (too_many_requests) is returned when the rate is exceeded
  • If the app has an IP allowlist set, every request fails as soon as your IP changes (CLIENT_IP_NOT_ALLOWED)
  • The API is search and vacancy checks only; bookings, changes, and cancellations are not possible
  • Article 10 of the Rakuten Web Service terms of use prohibits using fetched information for other purposes, copying or altering it, and storing it where unspecified numbers of people can share it. Accumulating results in an agent's shared memory may conflict with this
  • Earning revenue through the API presupposes using Rakuten Affiliate; combining it with other affiliate programs is prohibited (Article 10 of the terms)

Tips

  • For MCP, the unofficial rakuten-mcp is the shortest route (a set of read-only tools, 7 for Travel). Note that it is not an official Rakuten product
  • If you enable the source IP restriction when registering the app, the access key cannot be used from unregistered IPs even if it leaks
  • Bookings do not complete via the API. The working split is: the agent handles vacancy checks, and the person books on the web

Test environment and change history

How it was checkedChecked against official documentation
Clients triedNot yet tried with a real client

ドキュメント確認: 楽天ウェブサービスのAPIドキュメントと利用規約、楽天トラベル利用規約、楽天会員規約、rakuten-mcpのREADME、ComposioとYoomの公式ページ。実機確認はしていない(APIの利用には楽天IDでのアプリ登録が要るため)

Change history

  • 初版

Sources

Other sources

Related articles

How to connect YouTube to AI agents

Official, individuals OK

How to connect Instagram to AI agents

Business or paid only

How to connect Spotify to AI agents

Official, individuals OK

How to connect Yahoo! Shopping to AI agents

Official, individuals OK