# Unified Vietnam Ferry API

Source: https://ferry.vn/en/vietnam-ferry-api-unified-multi-operator-integration/
Locale: en
Category: Ferry API & Tech
Published: 2026-11-25
Updated: 2026-11-25
Author: Le Quoc Khoi (CEO, Ferry VN JSC) — https://ferry.vn/en/author/le-quoc-khoi/
Summary: Vietnam Ferry API connects 15+ operators via 86 REST routes, @ferryvn/sdk, CLI, and MCP server with zero-cost uatexpress UAT and opt-in HMAC-SHA256 webhooks.

---

> **Key Takeaways:** The **Vietnam Ferry API** by **Ferry VN JSC** is a unified maritime distribution layer connecting 15+ Vietnamese ferry operators across 20+ coastal and island corridors through a single integration.
>
> - **Verified Island Coverage:** Automated API e-ticketing across Phu Quoc, Con Dao, Phu Quy, Nam Du, Hon Son, and HCMC–Vung Tau, alongside automated and port-connected Ly Son fulfillment and Ro-Ro schedule feeds.
> - **Full Developer Stack:** 9 unauthenticated public catalog endpoints and 86 authenticated partner `/api/v1/` routes paired with `@ferryvn/sdk`, `@ferryvn/cli`, and a read-only-default `@ferryvn/mcp` server.
> - **Zero-Cost UAT and Signed Webhooks:** Dedicated UAT environment (`api.ferryvn.net`) running the simulated `uatexpress` carrier at zero cost, opt-in Standard Webhooks HMAC-SHA256 with 3 retries, and explicit write-safety rules.
> - **Two OTA Commercial Models:** Launch fast via managed Merchant Listing (Trip.com, GetYourGuide, Viator) or control retail checkout with VND Net-Rate API Supply (12Go and regional platforms) under one contract.

Integrating a reliable **Vietnam Ferry API** eliminates months of fragmented carrier contracting across Southeast Asia's fastest-growing island routes. Instead of building and maintaining separate adapters for 15+ independent Vietnamese operators with incompatible seat schemas, local session rules, and Vietnamese-only port desks, engineering teams connect to one documented specification.

Production travel integrations often fail when developers assume airline Global Distribution System (GDS) guarantees on regional maritime links. Misjudging seat-hold rules, write timeouts, mandatory passenger manifests, or monsoon closures causes double bookings and ledger drift. This architecture guide settles verified corridor coverage, endpoint limits, UAT testing rules, local maritime compliance, and OTA commercial models before your team writes code.

## Why Vietnam Island Ferries Need a Unified API Layer

Vietnam's coastal and island passenger market spans 20+ maritime corridors served by independent private carriers, cooperatives, and port-managed fleets. Unlike European short-sea routes standardized around [FerryGateway](https://ferrygateway.org), Vietnamese operators run heterogeneous engines with distinct seat-map schemas, harbor-fee rules, and cancellation cut-offs. Global transport switches maintain zero direct adapters across domestic Vietnamese islands, as detailed in our [FerryGateway versus OCTO and regional aggregator comparison](/en/ferrygateway-vs-octo-vs-aggregator-api-ferries/).

**Ferry VN JSC** (Tax ID `1801802790`) operates strictly as a B2B maritime distribution layer rather than a vessel owner. As of November 2026, the platform connects 15+ operators, serves 150+ agencies and 13,000+ users, and supplies six global and regional Online Travel Agency (OTA) channels: Trip.com, GetYourGuide, 12Go, Klook, Viator, and Tatinta.

## Operator and Corridor Coverage Matrix (Verified November 2026)

International OTAs frequently encounter outdated route tables when evaluating Vietnamese sea transport. Ferry VN runs direct API e-ticketing across Phu Quoc, Con Dao, Phu Quy, Nam Du, Hon Son, and HCMC–Vung Tau, plus automated and port-connected Ly Son fulfillment and Roll-on/Roll-off (Ro-Ro) schedule feeds, mapped below under National Assembly Resolution 202/2025/QH15 (effective July 1, 2025).

| Island or Corridor | Primary Mainland Terminals (Post-Resolution 202/2025/QH15) | Active Operators on Corridor | Vessel Class | API Fulfillment Tier |
|---|---|---|---|---|
| **Phu Quoc** (Phu Quoc Special Zone, An Giang) | Rach Gia & Ha Tien (An Giang) | Superdong, Phu Quoc Express, Thanh Thoi Ro-Ro, Binh An Ro-Ro | High-speed monohull, catamaran, Ro-Ro vehicle ferry | Automated e-ticketing (Superdong, PQE) and schedule/fare lookup (Ro-Ro) |
| **Con Dao** (Con Dao Special Zone, Ho Chi Minh City) | Vung Tau & Nha Rong Khanh Hoi Port (Xom Chieu Ward, HCMC), Tran De (Can Tho) | Phu Quoc Express (Vung Tau–Con Dao suspended Aug 1, 2026–expected Jan 2027), Superdong, Phu Quy Express (HCMC–Con Dao suspended Sep 1, 2026–expected Jan 2027) | High-speed catamaran & large monohull | Automated direct API e-ticketing across active sailings |
| **Phu Quy** (Phu Quy Special Zone, Lam Dong) | Phan Thiet (Lam Dong) | Phu Quy Express, Superdong, Phu Quoc Express, Chan Kha Luxury | High-speed monohull & catamaran | Automated direct API e-ticketing |
| **Ly Son** (Ly Son Special Zone, Quang Ngai) | Sa Ky Port, Dong Son (Quang Ngai) | Sa Ky Port Management Board fleet (An Vinh Express, Super Bien Dong, Sieu Toc Hoa Binh), Phu Quoc Express | High-speed passenger vessel & catamaran | Automated (PQE) and semi-automated port fulfillment (`CangSaKy`) |
| **Nam Du & Hon Son** (Kien Hai Special Zone, An Giang) | Rach Gia (An Giang) | Superdong, Hoa Binh Ship, Lightning 68 (Rach Gia–Hon Son) | High-speed monohull & catamaran | Automated direct API e-ticketing |
| **HCMC–Vung Tau** (Ho Chi Minh City) | Bach Dang Pier to Vung Tau | Greenlines-DP | High-speed coastal hydrofoil & catamaran | Automated direct API e-ticketing |
| **Mekong Cross-Border** (Vietnam–Cambodia) | Chau Doc (An Giang) to Phnom Penh | Victoria Speedboat | International river speedboat | Schedule-assisted and semi-automated fulfillment |

Three verified fleet updates govern 2026 catalog accuracy. **Mai Linh Express** ceased Can Tho–Con Dao operations in May 2025, while **Lightning 68** suspended Rach Gia–Phu Quoc on July 28, 2026 to focus on Rach Gia–Hon Son. In addition, **Phu Quoc Express** paused Vung Tau–Con Dao for maintenance from August 1, 2026 (expected January 2027) and **Phu Quy Express** paused HCMC–Con Dao from September 1, 2026 (expected January 2027).

For corridor seasonality, hull comparisons, and vehicle-deck inventory rules, see our guides on [Phu Quoc and Con Dao catamaran versus Ro-Ro supply](/en/phu-quoc-con-dao-ferry-inventory-catamaran-vs-roro/) and the [Vietnam ferry operators directory for APEC 2027](/en/phu-quoc-apec-2027-vietnam-ferry-operators-directory/).

## Architecture and Developer Stack: REST API, SDK, CLI, and MCP

Ferry VN partitions its backend into four tiers (`public`, `partner`, `internal`, and `admin`), documented across the [Ferry VN API and](/en/platform/api-sdk/). External tech partners access 9 unauthenticated `public` catalog routes and **86 authenticated `partner` routes** under `/api/v1/` using scoped server-side Bearer keys, alongside the [interactive Scalar API schema explorer](https://api.ferry.vn/docs) and [developer integration documentation](https://docs.ferry.vn/en/developers/).

![Ferry VN Developer Architecture comparing zero-cost UAT (uatexpress) vs Production 12 operator adapters and scoped Bearer keys](https://cdn.ferry.vn/media/31/diagram-en-sdk-quickstart-uat-vs-production.webp)

| Developer Interface | Package or Endpoint | Primary Use Case | Core Capabilities & Guardrails |
|---|---|---|---|
| **Unified REST API** | `https://api.ferry.vn/api/v1/` | Any backend language (Go, Java, Python, PHP, .NET, Node.js) | JSON over HTTPS, Bearer API key, cursor pagination (`limit` capped at 50), 86 partner routes |
| **TypeScript SDK** | `@ferryvn/sdk` (npm) | Production OTA and DMC backends (Node.js 20+, Bun, Deno, Cloudflare Workers) | Zero runtime dependencies, typed OpenAPI client, local `bookingDrafts` validation, read-only retries |
| **Command-Line Tool** | `@ferryvn/cli` (npm) | Ops scripts, bulk CSV group bookings, ledger exports | Requires Node.js 22.12+, CSV passenger import, interactive confirmation before issuance |
| **MCP Server** | `@ferryvn/mcp` (npm or `.mcpb`) | AI travel assistants via [Model Context Protocol](https://modelcontextprotocol.io) | Read-only by default, 3 opt-in write tools with human confirmation, issuance and payments never exposed |

### Booking Lifecycle and Code Example (`@ferryvn/sdk`)

Every booking follows a two-stage write lifecycle backed by eight statuses: `0` Draft, `2` Requested, `6` Issue Error, `8` Expired, `10` Issued, `12` Cancel Requested, `14` Cancelled, and `16` Trip Cancelled. Stage one creates an unpaid booking (`POST /api/v1/bookings`) in status `2`.

Stage two calls `POST /api/v1/bookings/confirmToIssue/{id}`, which checks your partner balance and approved credit chain, deducts your VND NET rate, and dispatches ticketing to the carrier. There is no standalone payment endpoint on the Partner API.

```ts
import { FerryClient } from '@ferryvn/sdk'

const ferry = new FerryClient({
  apiKey: process.env.FERRY_API_KEY,
  baseUrl: process.env.FERRY_BASE_URL
})

// 1. Resolve mainland and island terminals (accent-insensitive)
const [from] = await ferry.locations.find('Tran De')
const [to] = await ferry.locations.find('Con Dao')

// 2. Search synced voyages on a Vietnam calendar date (YYYY-MM-DD)
const { data: voyages } = await ferry.voyages.search({
  date: '2026-12-15',
  departureId: from.id,
  destinationId: to.id
})

// 3. Validate passenger age rules, seat availability, and harbor fees locally
const { booking, draft } = await ferry.bookingDrafts.create({
  customerId: 'cust_partner_001',
  ordererName: 'Alex Mercer',
  contactEmail: 'ops@partner-ota.com',
  depart: {
    voyageId: voyages[0].voyage.id,
    seats: ['A12'],
    passengers: [
      {
        name: 'ALEX MERCER',
        dateOfBirth: '1988-04-19',
        socialId: 'P84920144',
        nationality: 'US'
      }
    ]
  }
})

console.log(booking.id, draft.estimatedTotalVnd)
```

`bookingDrafts.create()` enforces age rules, checks seat sellability, blocks duplicate IDs in one order, and computes VAT-inclusive fares plus harbor fees locally. Follow the [REST API developer quickstart](/en/ferry-vn-sdk-rest-api-developer-quickstart/) for auth presets and pagination details.

### Safe AI Agent Access with `@ferryvn/mcp`

Travel platforms building conversational planners connect Large Language Model (LLM) agents via `@ferryvn/mcp` while isolating financial execution. Read tools stay active by default, while three opt-in write tools (`create_customer`, `create_booking`, `request_cancellation`) require `FERRY_MCP_ENABLE_WRITES=true` and explicit human confirmation.

Ticket issuance (`confirmToIssue`) and wallet endpoints are never exposed to AI agents. Read our breakdown on [building AI travel agents with the Ferry VN MCP server](/en/building-ai-travel-agents-ferry-vn-mcp-server/).

## Technical Realities: Seats, Retries, Webhooks, and UAT

Designing against actual Partner API behavior prevents double bookings, race conditions, and orphaned ledger debits. Five concrete technical invariants govern every production integration.

![Ferry VN API two-stage booking lifecycle from locations.find and bookingDrafts to Status 2 and Status 10 e-ticket issuance](https://cdn.ferry.vn/media/31/diagram-ferry-api-two-stage-booking-lifecycle.webp)

- **No upstream hard seat-hold locking:** `POST /api/v1/bookings` marks seats inside Ferry VN's internal seat map while leaving seats open on the carrier's direct engine and port counters. Physical seats belong to travelers only after `confirmToIssue` reaches status `10` (Issued), so re-fetch seat layouts before creation and handle `UnavailableSeats` (`150201`).
- **No idempotency keys on booking creation:** Resending a timed-out `POST /api/v1/bookings` request creates a duplicate booking. After any network timeout, query `GET /api/v1/bookings` filtered by contact, voyage ID, and date before retrying (`@ferryvn/sdk` retries `GET`/`HEAD` up to twice and never retries writes).
- **Execution locks, rate limits, and async timing:** `confirmToIssue` holds a 600-second lock (`120100`) and caps requests at 5 per 60 seconds per `client IP + bookingId` (HTTP 429) plus a cluster-wide soft throttle (`120140`, HTTP 422), alongside a global 5,000 req/10s IP route cap. Because issuance speed depends on each operator's infrastructure (seconds to 5–8 minutes), poll `GET /api/v1/bookings/{id}` to terminal state (`10` or `6`) and handle partial round-trip refunds explicitly.
- **Opt-in Standard Webhooks HMAC-SHA256:** Organizations opt into [Standard Webhooks](https://www.standardwebhooks.com) HMAC-SHA256 (`whsec_...` secrets with grace rotation) and static egress IPs (`GET /api/v1/webhooks/egress-ips`). Deliveries enforce a 2-second timeout with 3 retries (~30s, 5m, 30m), so acknowledge HTTP 200 fast, deduplicate by `webhook-id`, verify raw bytes, and run scheduled sweeps per our [API reliability and reconciliation guide](/en/ferry-api-reliability-reconciliation-patterns/).
- **Zero-cost UAT environment with `uatexpress`:** Register via [Ferry VN's B2B API partner portal](/en/api-partners/) to access isolated UAT (`https://api.ferryvn.net`, OpenAPI `https://api.ferryvn.net/docs`) under `OPERATOR_ADAPTER_ALLOWLIST=uatexpress`. Simulated `uatexpress` runs three test routes (`UAT Rach Gia–Phu Quoc`, `UAT Ha Tien–Phu Quoc`, `UAT Tran De–Con Dao`) at zero real cost with MISA test VAT, never submit real customer PII on UAT.

## Maritime Operational Realities in Vietnam

Beyond HTTP contracts, three Vietnamese regulatory and maritime constraints shape every OTA checkout form, disruption handler, and finance ledger:

1. **Mandatory VIMAWA passenger manifest fields:** Under Decree 33/2025/ND-CP (February 25, 2025) and Decision 08/QD-BXD, maritime and inland waterway agencies merged into the **Vietnam Maritime and Waterway Administration (VIMAWA)**. Circular 16/2013/TT-BGTVT and Circular 10/2024/TT-BGTVT require **full name**, **date or year of birth**, **passport or ID number**, and **nationality** for every traveler (including children and infants), covered in our [passenger manifest and QR compliance guide](/en/maritime-passenger-manifest-e-ticket-qr-vietnam/).
2. **Schedule sync cadence and Beaufort Force 6 closures:** Ferry VN refreshes voyages every 30 minutes (days 0–7), 2 hours (days 8–14), 4 hours (days 15–45), and 3 times daily (days 46–90), while re-scanning sold-out trips every 40 minutes. Port check-in closes 30–45 minutes pre-departure, and ports suspend sailings at **Beaufort Force 6+** winds (especially Sep–Feb), updating bookings to status `16` (Trip Cancelled) in our [live availability sync guide](/en/live-availability-inventory-sync-island-ferries/).
3. **Decree 70/2025/ND-CP e-invoice separation:** Effective June 1, 2025, direct passenger transport requires cash-register e-invoices (type M) listing vessel registration and route. On Ferry VN, transport VAT e-invoices are configured per operator and agency on the Dashboard rather than through Partner API key endpoints.

## Two Proven OTA Commercial Models

Ferry VN supports two production-tested commercial structures for global OTAs and regional platforms, explored further in our [B2B ferry distribution guide](/en/b2b-ferry-distribution-vietnam-ota-sourcing-guide/), [NET vs commissionable rates](/en/net-rate-vs-commissionable-rate-ferry-ota/), and [36-month build-versus-buy TCO model](/en/build-vs-buy-ferry-ticketing-engine-api-tco/).

| Commercial Dimension | Model 1: Merchant Listing | Model 2: VND Net-Rate API Supply |
|---|---|---|
| **Live Channel Examples** | Trip.com, GetYourGuide, Viator | 12Go, regional API travel platforms |
| **Pricing Control** | Ferry VN manages catalog listings and retail fares | Partner receives VND NET rates via API and sets markup and FX |
| **Ticketing & Fulfillment** | Managed storefront operations with automated or ops-assisted issuance | Partner backend drives search, checkout, and `confirmToIssue` |
| **Settlement Mechanics** | Periodic commercial settlement per channel contract | Pre-funded VND partner wallet (plus approved credit line where applicable) |
| **Best Fit** | Global experience marketplaces testing Vietnam routes fast | Ground-transport OTAs, intermodal search engines, super-apps |

Across the API pricing stack, Ferry VN separates operator base fare, partner VND NET rate, and end-customer retail price. Promotional vouchers discount only the retail total without reducing your partner NET debit at confirmation.

## Four-Step API Onboarding and Go-Live Flow

Engineering teams progress from commercial sign-off to live ticketing in four steps by provisioning isolated UAT and Production Bearer keys in `Settings > API Keys`.

1. **Contracting & Workspace Setup:** Sign one B2B agreement covering 15+ operators, select Merchant Listing or VND Net-Rate API Supply, and receive your Dashboard workspace (`slug.ferry.vn`).
2. **Scoped Key Provisioning:** Create scoped Bearer keys (`partner_ota`, `read_only`, `tenant_website`) stored strictly in server-side vaults (`@ferryvn/sdk` blocks browser initialization by default).
3. **Zero-Cost UAT Verification:** Test search, layout re-fetches, VIMAWA payloads, PDF downloads, `bookings.list` timeout recovery, and HMAC-SHA256 webhooks against `uatexpress` on `https://api.ferryvn.net`.
4. **Production Cutover:** Fund your VND wallet, filter the 4 schedule-only Ro-Ro/river feeds, enable daily status reconciliation, and browse related specifications across the [Ferry API & Tech hub](/en/ferry-api-tech/). Reach our engineering desk at `hi@ferry.vn` or `+84 924 299 898`.

## Frequently Asked Questions

| Question | Answer |
| --- | --- |
| Does the Ferry VN API cover Con Dao, Phu Quoc, Phu Quy, and Ly Son? | Yes. Ferry VN connects 15+ Vietnamese operators covering Phu Quoc, Con Dao (active Tran De routes, with Vung Tau–Con Dao and HCMC–Con Dao resuming after maintenance), Phu Quy, Ly Son, Nam Du, Hon Son, HCMC–Vung Tau, and Chau Doc–Phnom Penh. |
| Does the Public Partner API support hard seat holds or idempotency keys? | No. Creating a booking marks seats internally within Ferry VN without locking them on the carrier's engine, and POST /bookings has no idempotency keys. Seats are guaranteed only after confirmToIssue reaches status 10, and teams must query bookings.list after write timeouts. |
| How does partner testing work on the Ferry VN UAT environment? | Ferry VN hosts a dedicated UAT environment ( api.ferryvn.net ) restricted to the simulated uatexpress carrier, isolating all live operators. Engineering teams test search, seat maps, booking, PDF issuance, test VAT invoices, and cancellations at zero real cost before switching to Production keys. |
| What passenger fields are legally required at checkout for Vietnam ferries? | Under VIMAWA regulations (Circular 16/2013/TT-BGTVT and Circular 10/2024/TT-BGTVT), port authorities require a complete passenger manifest before departure clearance. Every booking payload must include each traveler's full name, date or year of birth, passport or national ID number, and nationality. |
| Can AI travel agents issue tickets directly through the Ferry VN MCP server? | No. @ferryvn/mcp is read-only by default and never exposes ticket issuance or payment endpoints to AI agents. Optional write tools ( create_customer , create_booking , request_cancellation ) require FERRY_MCP_ENABLE_WRITES=true and explicit human confirmation, leaving final issuance to your backend or Dashboard. |
