Ctripctrip.com

ScoredSep 6, 2026, 07:21 AM

Ctrip's API program shows its strongest footing in crawlability and basic discoverability, but it has critical gaps in two areas that directly block partner adoption: onboarding and agent-readiness. There is no self-service signup, no quickstart, no code samples, no typed SDK surface, and no machine-readable discovery layer — meaning partners cannot get started without a sales conversation, and AI agents cannot reliably find, understand, or execute against the APIs.

API DesignA clean, typed, well-governed API contract agents can reason about1 pass0 warn2 fail50D
SignalPointsFindingsRationale
passSecurity & governance hygienevia sdk15/15Code is formatter-clean with zero linter errors and zero style warnings. Investigated: sdk 100%, wellknown 0%.No leaked secrets, no critical lint violations, no OWASP API Top-10 spec smells, and a published vulnerability-disclosure channel.
failSchema coverage & depthvia sdk0/25no .d.ts found. Investigated: sdk 0%.Typed, complete request/response schemas are what make agent function-calling possible.
failExample coveragevia docs0/10No code samples detected across 1 sampled docs pages, so a coding agent gets no ready-to-use examples. Investigated: docs 0%, sdk 0%.Examples carry shape semantics schemas under-specify — for humans and agents alike.
naMachine-readable, versioned contract—/25No surface produced evidence for this capability in this run.A current OpenAPI version with a declared versioning scheme lets agents reason about the contract.
naAuth declared & discoverable—/25No surface produced evidence for this capability in this run.Agents can only authenticate when auth is declared, scoped, and discoverable.
Developer ExperienceThe context both developers and agents need to integrate fast — onboarding, code samples, complete descriptions and worked examples0 pass0 warn3 fail40F
SignalPointsFindingsRationale
failSelf-service developer portalvia docs0/29No self-service signup detected — no signup link on the homepage or docs, and no conventional signup path (/signup, /sign-up, /register, /get-started, /console/signup, /dashboard/signup, /try, /try-free, /free, /free-trial, /start, /start-free, /join, /create-account, /account/signup, /auth/signup, /users/sign_up) resolved — so an agent can't onboard on its own. Investigated: docs 0%.Self-serve key/account creation is the fast first call for partners, with no sales gate.
failQuickstart presentvia docs0/25No quickstart or getting-started page found at the conventional docs paths, so new developers and agents have no obvious first step. Investigated: docs 0%.A quickstart is the fastest path from landing page to first successful call.
failCode samples in docsvia docs0/18No code samples detected across 1 sampled docs pages, so a coding agent gets no ready-to-use examples. Investigated: docs 0%.Multi-language samples shorten time-to-first-call.
naDescription completeness—/15No surface produced evidence for this capability in this run.Complete descriptions are the context humans and agents need to use endpoints.
naChangelog published—/13No surface produced evidence for this capability in this run.A published changelog lets partners track changes without surprise.
Agent DiscoveryPartners and their agents can find your APIs — llms.txt, registries, crawlable and reachable docs0 pass3 warn1 fail57D
SignalPointsFindingsRationale
warnDocs reachable, not hard auth-gatedvia docs22.5/30Server ignores Accept: text/markdown header (0/1 pages return markdown). Investigated: docs 75%.Agents can only index and fetch docs they can reach — past auth gates and over correct HTTP semantics.
warnRegistry & SDK presencevia sdk14/282/4 registry-metadata components present; missing: description, repository link. Investigated: sdk 50%, docs 0%, cli 0%.Listing in MCP registries and publishing SDKs puts the API where agents and their tooling look.
warnCrawlable / AEOvia wellknown6/12No sitemap found via robots.txt or /sitemap.xml on the docs host, so AI search engines have no crawl map for your docs. Investigated: wellknown 50%.Bots allowed plus a fresh sitemap make docs findable by agent crawlers.
failllms.txt present, valid & comprehensivevia docs0/30No llms.txt found at any candidate location (https://developer.ctrip.com/llms.txt, https://developer.ctrip.com/docs/llms.txt). Investigated: docs 0%.A valid, comprehensive llms.txt is the machine-readable entry point for agents.
Agent UnderstandingAgents can correctly interpret your APIs — machine-readable errors, consistent descriptions, structured data, parseable docs0 pass2 warn1 fail62C
SignalPointsFindingsRationale
warnAgent-navigable, token-efficient docsvia docs15.7/221 of 1 pages appear to be client-side rendered SPA shells (__next detected); agents using HTTP fetches will see no content. Investigated: docs 71%.Server-rendered, clean, small-footprint docs are what an agent can cheaply fetch and parse correctly.
warnAgent instructions file (AGENTS.md)via sdk5/10No agents.md or skill.md context file found (nice-to-have for agent operation). Investigated: sdk 50%, wellknown 0%.An AGENTS.md gives coding agents explicit setup, auth, and usage instructions to interpret and operate the API — beyond llms.txt's link index.
failDocs structured datavia docs0/8No JSON-LD or OpenGraph/meta tags found across 1 assessed pages (1 JS-rendered), so answer engines have nothing to cite. Investigated: docs 0%.Structured data (JSON-LD/schema.org) on docs pages gives agents an unambiguous parse target and is what answer engines cite. Detected on the JS-rendered head (Firecrawl) for a bounded page budget, so JS-injected JSON-LD is now caught; pages we can't render are excluded rather than failed.
naMachine-readable errors (RFC 9457)—/28No surface produced evidence for this capability in this run.RFC 9457 problem details and a documented error-code inventory let agents parse failures without burning tokens.
naOperation purpose clarity—/25No surface produced evidence for this capability in this run.Agents select the right endpoint from its summary + operationId; clear, named operations make tool-selection reliable — the strongest driver of correct tool choice.
naDescription consistency across surfaces—/7Only 0 surface description(s) with ≥6 tokens available; need at least 2 to compare.Every surface tells the same story about what the product is.
Agent UsabilityAgents have the context to use your APIs reliably, not just find them0 pass0 warn1 fail40F
SignalPointsFindingsRationale
failRunnable collection with test scriptsvia sdk0/9No README found. Investigated: sdk 0%, platform 0%.A public, maintained collection with assertions is runnable truth agents validate against.
naIdempotency documented—/27No surface produced evidence for this capability in this run.Documented idempotency lets agents retry safely.
naRate-limit signaling—/22No surface produced evidence for this capability in this run.Machine-readable rate-limit headers let agents throttle adaptively.
naPagination documented & consistent—/22No surface produced evidence for this capability in this run.Consistent, documented pagination lets agents traverse collections.
naSandbox separation—/20No surface produced evidence for this capability in this run.An isolated environment lets agents exercise destructive operations safely.
Want to improve your results?