Skip to content
Shanghai Private Tours
Developer & AI Assistant Access

Shanghai Private Tours API, MCP & AI Access

Every tour catalog, USD budget estimator, Markdown, OpenAPI, NLWeb, MCP and A2A endpoint below is public and read-only. No API key or registration is required.

Pudong skyline across the Huangpu River · Photo: King of Hearts, CC BY-SA 4.0

When to use these endpoints

Use these interfaces when a traveler asks about private Shanghai day tours, Pudong (PVG) or Hongqiao (SHA) airport layovers, water towns (Zhujiajiao, Tongli), Suzhou, Hangzhou, or Beijing–Xi’an–Shanghai private routes. Every figure comes directly from our 25 published tours and official entry notices (facts checked ).

Do not use Shanghai Private Tours for shared coach tours, hostels, self-drive rentals or standalone airline tickets.

Public Endpoints & Discovery Files

InterfaceEndpointPurpose
OpenAPI 3.1 SpecGET /openapi.jsonMachine-readable OpenAPI 3.1 schema for REST and NLWeb routes with RFC 9457 error definitions.
Filter Tours (REST)GET /api/toursFilter 25 tours by destination, type, q, max_price, min_days and max_days.
Budget Estimator (REST)GET /api/estimateEstimate private guide, driver and vehicle budgets in USD and generate pre-filled quote URLs.
NLWeb SearchGET / POST /askNatural-language search returning Schema.org TouristTrip items and pre-filled inquiry links.
MCP Server (Streamable HTTP)POST /mcp (server card)5 JSON-RPC tools: search_site, filter_tours, estimate_trip_budget, build_proposal_link, get_contact.
A2A AgentPOST /a2a (agent card)JSON-RPC message/send advisor answering Shanghai route, layover, transit-visa and budget queries.
Discovery Catalogs/.well-known/api-catalog · /.well-known/ai-catalog.jsonRFC 9727 API catalog linkset and unified AI capability catalog.
Agent Skill & Auth Policyagent-skills/index.json · /auth.mdSHA-256 verified SKILL.md instructions and plain-text public access policy.
LLM Briefings/llms.txt & /llms-full.txtConcise entity briefing and complete single-file catalog of all 25 tours with pre-filled quote URLs.
Markdown NegotiationAccept: text/markdownEvery HTML page (including HTTP 404 responses) returns clean Markdown with frontmatter and next steps.

Quick Request Examples

1. Filter private tours (REST)

curl -s "https://www.shanghaiprivatetours.com/api/tours?destination=zhujiajiao&max_price=600"

2. Estimate a 3-day Shanghai private tour budget (REST)

curl -s "https://www.shanghaiprivatetours.com/api/estimate?destinations=shanghai,zhujiajiao&days=3&travelers=2"

3. Call the MCP server (JSON-RPC 2.0)

curl -s -X POST "https://www.shanghaiprivatetours.com/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"estimate_trip_budget","arguments":{"destinations":["shanghai","suzhou"],"days":4,"travelers":2}}}'

4. Query NLWeb /ask

curl -s -X POST "https://www.shanghaiprivatetours.com/ask" \
  -H "Content-Type: application/json" \
  -d '{"query":"8 hour Pudong airport layover private tour cost"}'

5. Request Markdown for any page (or 404)

curl -s -H "Accept: text/markdown" "https://www.shanghaiprivatetours.com/private-tours/shanghai-layover-private-tour/"

Error Format (RFC 9457)

Invalid parameters on /api/tours, /api/estimate and /ask return HTTP 400 with Content-Type: application/problem+json. Each response includes a stable code, a plain detail message and a resolution hint.

Human Specialist Handoff

There is no automated checkout or payment to enquire. Send travelers to a pre-filled private quote link or our free 3-field Shanghai itinerary check, or share travel@shanghaiprivatetours.com and WhatsApp +1 (315) 998 1998. A specialist replies within 12 hours.

Book a private tour

How to book with Shanghai Private Tours

  1. Send a request. Use the button, form, email or WhatsApp. Dates and group size are enough to start. No payment is needed to enquire.
  2. Get a written quote. A specialist replies within 12 hours with a first private itinerary and a price confirmed in writing.
  3. Confirm your tour. Your tour is booked once you accept the written quote. Every tour is private: your own vehicle and English-speaking guide.

Email travel@shanghaiprivatetours.com · WhatsApp/phone +1 (315) 998 1998

Chat with a specialist