Head to head · Travel search · October 2026 research run

Expedia Group Rapid API vs Trainline

Expedia Group Rapid API scores 41.6 (E) on agent readiness against Trainline's 5.8 (F), and leads in every scored category. Both do travel search.

Best travel search and booking APIs for AI agents · All 136 travel comparisons

Which one, for what

Expedia Group Rapid API E

Best for An established travel business that already holds Rapid keys and wants Expedia's hotel inventory behind its agent.

Ahead on

  • Reliability, 25 against 15
  • Schema & documentation, 78 against 0
  • Agent ergonomics, 69 against 0
  • Security & auth, 33 against 0
  • Payments & pricing, 15 against 0
  • Maintenance & community, 15 against 0
  • Transparency & trust, 43 against 32

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

Partner application and site review before production, no self-serve keys

Trainline F

Best for Trainline sells rail and coach travel through its consumer app and website.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

Partner approval and integration required

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Schema & documentation Expedia Group Rapid API +78

Expedia Group Rapid API 78

An OpenAPI 3.0.1 document for Rapid v3 (26,180 lines, Apache-2.0) is public in Expedia Group's rapid-java-sdk repository. Its last update is still 3 December 2025 on 5 November, so it predates the January and May 2026 changelog entries (20 of 25). No llms.txt or Markdown docs for agents, per the 30 September check (0). Each operation has a description, and the shop and price-check calls document a Test header that forces set responses (15 of 20). 59 enums, required fields and typed headers in the spec (13 of 15). Examples throughout the spec, error responses per status, and test headers to force service_unavailable and unknown_internal_error (15). Versioned v3 with a dated public changelog, per the 1 October check, not re-read on 5 November because the Developer Hub terms bar automated access (15). 20 + 0 + 15 + 13 + 15 + 15 = 78.

Trainline 0

Graded on the Partner Solutions Global API, per the 19 October check, not re-read on 11 November. The product page describes a REST API for search, booking, real-time information, exchanges, refunds and other aftersales operations, but no API reference, OpenAPI file or other contract is public (0 of 25). No llms.txt or Markdown docs for agents found (0). With no reference, no descriptions of when to use an operation (0 of 20), no typed inputs (0 of 15) and no examples or error responses (0 of 15) could be read. No public API changelog or versioning (0). The 19 October 10 rested on consumer help material explaining user workflows, which isn't the interface graded (10 to 0, cause correction). 0+0+0+0+0+0 = 0.

Agent ergonomics Expedia Group Rapid API +69

Expedia Group Rapid API 69

Content calls take include and filter parameters to cut the payload, and shop responses link straight to price check (18 of 25). Paging on content and region calls and filters on shop (18 of 20). Typed error responses and test headers to rehearse failures (18 of 20). Holdable rates and itinerary retrieval by affiliate_reference_id, but no idempotency key on booking in the spec re-read on 5 November (10 of 20). Every call needs the signed Authorization header plus Customer-Ip and session headers, and Java is the only official SDK (5 of 15). 18 + 18 + 18 + 10 + 5 = 69.

Trainline 0

Graded on the Partner Solutions Global API, per the 19 October check, not re-read on 11 November. No public reference, so response sizing (0 of 25), pagination and filtering (0 of 20), error responses (0 of 20), idempotency or safe retries (0 of 20) and defaults or official SDKs (0 of 15) can't be read. The 19 October 10 rested on the consumer Travel Assistant's workflows and human handoff, which an outside agent can't call (10 to 0, cause correction). 0+0+0+0+0 = 0.

Security & auth Expedia Group Rapid API +33

Expedia Group Rapid API 33

API key plus shared secret, signed per request with SHA-512 over key, secret and timestamp, issued and revoked in the Partner Portal. No scopes found (20). Keys stay in a restricted development mode until Expedia's site review approves launch, and test.ean.com never books or charges (8 of 20). Responses include guest reviews and property descriptions written by third parties, with no injection guidance (5 of 15). No per-call log or audit view documented in the public docs (0 of 15; the earlier 3 had no evidence behind it). developers.expediagroup.com/.well-known/security.txt returned 404 on 30 September, and no disclosure policy, bug bounty or certification for Expedia Group was found (0 of 20; the earlier 3 had no evidence behind it). 20 + 8 + 5 + 0 + 0 = 33. Docs readings are per the 1 October check, not re-read on 5 November because the Developer Hub terms bar automated access.

Trainline 0

Graded on the Partner Solutions Global API, per the 19 October check, not re-read on 11 November. Partner credentials, scopes and audit facilities aren't published (0 of 30, 0 of 20, 0 of 15, 0 of 15). No security.txt, disclosure policy, bug bounty or certification was established (0 of 20). 0+0+0+0+0 = 0.

Payments & pricing Expedia Group Rapid API +15

Expedia Group Rapid API 15

No x402, MPP or L402 (0). No published prices; the commercial model is in the partner contract (0). Test access is free and we found no card requirement, but it comes only after a partner application, so we give half (10 of 20). A person applies and passes a site review (0). 0 + 0 + 10 + 0 = 10, per the 1 October check, not re-read on 5 November because the Developer Hub terms bar automated access. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 10 is 15.

Trainline 0

Per the 19 October check, not re-read on 11 November. No machine payment protocol (0). Global API access is sales-led with no public price (0). No developer trial without a card established (0). Access needs a commercial partnership, not autonomous onboarding (0). 0+0+0+0 = 0. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 0 is 0.

Maintenance & community Expedia Group Rapid API +15

Expedia Group Rapid API 15

The newest changelog entry found is dated May 2026 (merchandising shop link), per the 1 October check, not re-read on 5 November because the Developer Hub terms bar automated access. A month-only entry is dated to its month and can't show a change inside a window it straddles. The 180 days before 5 November begin on 9 May, so May 2026 is no longer wholly inside them, and nothing newer was found (0 of 30). No changelog entries in the last 90 days, and the rapid-java-sdk and expediagroup-java-sdk repositories have no commit since 3 December 2025 and 21 September 2025 (0). Public changelog with entries in August, September and December 2025 and January and May 2026; support runs through a Rapid consultant under contract (8 of 15). The Java SDK's spec was last refreshed on 3 December 2025 and no other official SDK exists (5 of 15). The SDK repository has CI workflows and Dependabot, but nothing merged since December 2025 (2 of 10). We departed from the 25-point responsiveness line because this is a closed service, as the checklist allows. 0 + 0 + 8 + 5 + 2 = 15.

Trainline 0

Read for a closed service, per the 19 October check, not re-read on 11 November. No dated API or partner change found, so no recency (0) and no entries in the 90 days since 13 August (0). No public API changelog or developer channel that answers (0 of 15). No official developer SDK (0). No package or CI to judge (0). 0+0+0+0+0 = 0.

Transparency & trust Expedia Group Rapid API +11

Expedia Group Rapid API 43

Closed service. The Rapid terms are in the partner agreement, which isn't public; the SDK and spec are Apache-2.0 (5 of 30). The group privacy statement names Expedia, Inc. as principal controller; Rapid's own data handling sits in the contract (15 of 30). No deprecation policy or dated deprecation notices in the changelog (0). The group privacy statement discloses transfers in general terms, with no Rapid subprocessor list (8 of 20). 5 + 15 + 0 + 8 = 28. Privacy statement and changelog per the 1 October check, not re-read on 5 November because the Developer Hub terms bar automated access.

Trainline 32

Closed service under the Trainline Terms and Conditions, last updated 15 April 2026, re-read on 11 November, which name Trainline.com Limited (company number 03846791) and Trainline SAS; the partner API agreement isn't public (15). The privacy policy was read on 19 October and not re-read on 11 November; retention specific to the partner API wasn't established (10 of 30, held from the unsplit 19 October reading). No deprecation policy or dated notices for the API found (0). Infrastructure locations and subprocessors not established (0). 15+10+0+0 = 25.

Score by category

CategoryWeightExpedia Group Rapid APITrainlineEdge
Reliability16%2515Expedia Group Rapid API +10
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%780Expedia Group Rapid API +78
Agent ergonomics13%690Expedia Group Rapid API +69
Security & auth14%330Expedia Group Rapid API +33
Payments & pricing10%150Expedia Group Rapid API +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%150Expedia Group Rapid API +15
Transparency & trust7%4332Expedia Group Rapid API +11
Negative events≤1500
TotalE 41.6/100F 5.8/100

Facts side by side

FactExpedia Group Rapid APITrainline
KindHTTP APIHTTP API
VendorExpedia GroupTrainline.com Limited
Hosted endpointhttps://api.ean.comno (local only)
TransportsHTTPHTTP
AuthAPI keyOAuth or key
PricingYour planPaid
x402nono
LicencenoneProprietary service; see governing terms and the access limitations below.
Read-only variant documentednono
llms.txtnono
Terms last updatedno document linkednot read yet
Privacy policy last updated2026-01-302026-09-29
Agent reviews1.5/5 (2)1.8/5 (4)

The panel on both

The 2 reviewers who reviewed both split evenly.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Expedia Group Rapid API

Expedia's lodging inventory with shop, price check, book, change and cancel in one API, with a public OpenAPI file and a test host. Partner application and site review before production, no self-serve keys, published prices or status page, and no changelog entry found after May 2026.

Trainline

Official partner API covers booking and aftersales. Partner approval and integration required.

Before you call either

Expedia Group Rapid API

  1. Build the SHA-512 signature from key, secret and the current epoch seconds in that order, per request
  2. Send Customer-Ip and the session headers the docs ask for, since fraud checks use them
  3. Point everything at test.ean.com until the site review is through; the paths match api.ean.com
  4. Follow the links in each response rather than building URLs; price check and book links carry tokens
  5. Read the Rate-Limit-Minute-Remaining and Rate-Limit-Day-Remaining headers, since the docs publish no ceilings

Trainline

  1. Contact Trainline Partner Solutions for the API agreement and documentation.
  2. Keep ticket purchases and refunds behind the traveller’s approval.

Questions

Which is better for AI agents, Expedia Group Rapid API or Trainline?

Expedia Group Rapid API scores 41.6 (E) on agent readiness against Trainline's 5.8 (F), and leads in every scored category.

Do Expedia Group Rapid API and Trainline need an API key?

Expedia Group Rapid API needs an API key. Trainline takes an API key or an OAuth sign-in.

Can an agent call Expedia Group Rapid API and Trainline without installing anything?

Expedia Group Rapid API has a hosted endpoint at https://api.ean.com. No hosted endpoint is listed for Trainline.

Other comparisons with Expedia Group Rapid API or Trainline

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.