Home › API & Agent Docs
Halong Best Cruises API & AI Agent Docs
Zero-auth, read-only public REST API, OpenAPI 3.1 specification, Streamable HTTP MCP server, A2A Advisor, Markdown negotiation, and consented booking inquiry handoff for 96 vessels.
Quick start: Public REST endpoints (no API key required)
| Endpoint | Method | Purpose |
|---|---|---|
/openapi.json | GET | OpenAPI 3.1 machine-readable specification |
/api/cruises | GET | Search cruises by q, bay, tier, feature (jacuzzi|balcony|pool|family), max_price, min_rating |
/api/quote | GET | Calculate itemized USD estimate + pre-filled booking URL |
/api/compare | GET | Side-by-side specification matrix for up to 3 vessels |
/api/agent-inquiry | POST | Submit a consented cabin hold inquiry (returns ref HB-XXXXXX) |
AI Discovery & Protocols
| Protocol | Endpoint | Notes |
|---|---|---|
| MCP (Streamable HTTP) | POST /mcp | Tools: search_cruises, get_cruise, calculate_trip_quote, compare_cruises (server card) |
| A2A Advisor | POST /a2a | JSON-RPC message/send (agent card) |
| LLMs Overview & Full Catalog | /llms.txt · /llms-full.txt | Markdown summaries plus /cruises.json |
| Agent Skills & API Catalog | /.well-known/agent-skills/index.json | Discoverable via /.well-known/api-catalog & /.well-known/ai-catalog.json |
| Markdown Content Negotiation | Accept: text/markdown | Supported on all HTML pages and 404 responses |
Example: Calculate a trip quote
curl -s "https://halongbestcruises.com/api/quote?slug=grand-pioneers-halong-bay-cruise-1&guests=2&date=2026-12-10&promo=HALONG5&transfer=limousine" Example: Submit a consented inquiry
curl -X POST "https://halongbestcruises.com/api/agent-inquiry" \
-H "Content-Type: application/json" \
-d '{"name":"Alex Morgan","email":"alex@example.com","cruise_slug":"grand-pioneers-halong-bay-cruise-1","date":"2026-12-10","guests":2,"promo":"HALONG5","agent_name":"ChatGPT","consent":true}' Browse All 96 Cruises Contact Concierge Agent Policy (auth.md)
