VugaGo
Sign in

VugaGo Developer API

Transport discovery and traveller-scoped seat reservations, through one versioned JSON API.

https://vugago.com/api/public/v1

OpenAPI specificationDiscuss an integration

Quick start

curl "https://vugago.com/api/public/v1/countries"

// Browser JavaScript
const response = await fetch("https://vugago.com/api/public/v1/countries");
const { countries } = await response.json();

Authentication & security

Discovery endpoints need no key. Booking endpoints require Authorization: Bearer followed by a valid VugaGo traveller session access token. The API does not issue partner API keys or delegated OAuth tokens. Contact VugaGo before building third-party sign-in. Never share passwords, administrator tokens or server secrets.

Try public discovery

Endpoint

Endpoint reference

GET/countriesPublic

Countries

Country settings, currencies, default languages and payment methods. Coverage does not imply available departures.

Input: None

GET/citiesPublic

Cities

City reference IDs and country codes. Use routes to find cities with transport.

Input: country (optional ISO country code)

GET/routesPublic

Available routes

Distinct city pairs with upcoming, publicly visible departures. Results are capped at 10,000 departure records; truncated is true at that cap.

Input: from (optional city UUID), country (optional origin country code)

GET/operatorsPublic

Operators

Approved operators in active registration countries; only public business details.

Input: country (optional registration country code)

GET/searchPublic

Search departures

Upcoming departures on a UTC calendar date, up to 100 results, ordered by departure.

Input: from, to (city UUIDs), date (YYYY-MM-DD)

GET/trips/{id}Public

Departure details

Current price, currency and seat availability for a publicly visible future departure.

Input: id (trip UUID in path)

GET/bookingsTraveller token

My bookings

The authenticated traveller’s bookings and tickets only. Never cached.

Input: None

POST/bookingsTraveller token

Reserve seats

Reserve 1–10 seats through the seat-locking booking function. Payment is a separate step; this does not confirm payment.

Input: JSON: trip_id, passengers, name, phone

Booking workflow

Read countries and cities, use routes to find served city pairs, then search a UTC date. Check the departure, reserve seats as the traveller and complete payment in VugaGo. Only a verified payment confirmation marks a booking confirmed. Do not blindly retry booking creation after a timeout: first check the traveller’s bookings.

Integration notes

Amounts are decimal values in the returned currency, not payment-provider minor units. Availability can change until the seat-locking reservation completes. GET bookings returns up to 100 recent entries. Search returns up to 100 departures, operators up to 1,000, and route discovery is capped at 10,000 departure records. CORS supports Authorization and Content-Type without cookie credentials. Responses are not cached.

Errors & reliability

400 means invalid input; 401 means a missing or invalid traveller token; 404 means a departure is unavailable; 409 means a reservation could not be created; 503 means a temporary service failure. Use bounded retries for reads. No availability guarantee, partner quota management, outbound developer webhooks or SDK is offered yet.