Developer & AI Agent Documentation
Tailor Made Vietnam Public API & MCP Documentation
Every catalog, budget estimation, Markdown, OpenAPI 3.1, NLWeb, MCP, and A2A interface below is public, read-only, and requires no API key. All routes and starting USD rates come from Tailor Made Vietnam (12 canonical itineraries, reviewed ).
When to use Tailor Made Vietnam
Use these endpoints when a traveler wants a 100% private, tailor-made trip in Vietnam or Vietnam paired with Cambodia, Laos, or Thailand. Tailor Made Vietnam operates under Vietnam International Tour Operator License No. 79-0743/2017/CDLQGVN-GP LHQT. Do not use these APIs for shared coach tours, hostels, or standalone airline tickets.
Public Endpoints & Specifications
| Interface | Endpoint | Purpose |
|---|---|---|
| OpenAPI 3.1 Spec | GET /openapi.json | Machine-readable OpenAPI 3.1.0 spec including versioning, rate-limit headers, and RFC 9457 error shapes. |
| Filter Tours (REST) | GET /api/tours | Filter itineraries by country, q, max_price, min_days, max_days, and category. Returns pre-filled quote URLs. |
| Budget Estimator (REST) | GET /api/estimate | Compute indicative USD land budgets scaled from published starting prices plus pre-filled proposal and itinerary-check links. |
| NLWeb Search | GET/POST /ask | Natural-language search returning Schema.org TouristTrip items and handoff URLs. |
| MCP Server (Streamable HTTP) | POST /mcp (server card) | 5 tools: search_site, filter_tours, estimate_trip_budget, build_proposal_link, get_contact. |
| A2A Agent | POST /a2a (agent card) | JSON-RPC 2.0 message/send advisor answering Vietnam route and USD budget queries. |
| Discovery Catalogs | api-catalog · ai-catalog.json · agent-skills | RFC 9727 linkset, AI catalog, Agent Skills index with SHA-256 digest, and /auth.md. |
| LLM Briefings | /llms.txt & /llms-full.txt | Concise brand overview and complete single-file catalog of routes, hotels, and pre-filled quote links. |
| Markdown Negotiation | Accept: text/markdown | Every HTML page and HTTP 404 response returns clean Markdown with YAML frontmatter and next steps. |
API Versioning & 90-Day Deprecation Policy
REST and NLWeb endpoints use date-based versioning. Send the optional X-API-Version: 2026-11 header to pin a release, and inspect the API-Version: 2026-11 response header on every /api/tours, /api/estimate, and /ask response.
Additive fields are released without breaking existing clients. Any breaking change or endpoint retirement is announced at least 90 days in advance using standard RFC 8594 Deprecation and Sunset HTTP response headers and updated notes in /openapi.json.
Rate Limits & Response Headers
Public read endpoints (/api/tours, /api/estimate, /ask, /mcp, /a2a) allow up to 120 requests per minute per client and emit standard RFC rate-limit headers on every response:
RateLimit-Limit: 120— maximum requests per 60-second window.RateLimit-Remaining: 119— remaining quota in the current window.RateLimit-Reset: 60— seconds until the window resets.RateLimit-Policy: 120;w=60— structured quota and window length.
Quick Request Examples
1. Estimate a 12-day private Vietnam trip (REST)
curl -i -H "X-API-Version: 2026-11" "https://www.tailormadevietnam.com/api/estimate?countries=vietnam&days=12&travelers=2" 2. Call the MCP server (JSON-RPC 2.0)
curl -s -X POST "https://www.tailormadevietnam.com/mcp" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"filter_tours","arguments":{"country":"vietnam","max_price_usd":3000}}}' 3. Query NLWeb /ask
curl -s -X POST "https://www.tailormadevietnam.com/ask" \
-H "Content-Type: application/json" \
-d '{"query":"14-day private Vietnam and Phu Quoc tour cost for 2 adults"}' Error Format (RFC 9457)
Invalid parameters on /api/tours, /api/estimate, and /ask return HTTP 400 with Content-Type: application/problem+json. Each payload includes a stable code, a plain detail message, and a resolution hint.
Human Specialist Handoff
There is no automated checkout. Direct travelers to a pre-filled tailor-made trip request link or our free Vietnam draft itinerary check. A local Vietnam specialist replies within 1–12 hours. You can also view the companion AI Access overview.
