Base URL
| Environment | Base URL |
|---|---|
| Production | https://api.gojinko.com |
| Sandbox | https://api.sandbox.gojinko.com |
Authentication
Authenticate every/v1 request with your API key:
Authorization: Bearer jnk_your_key
Get a key from the dashboard. See API keys for detail.
Observability
We strongly recommend setting these on every request, they make debugging possible when something goes wrong:X-Request-ID of the failing call.
Response envelope
Success: endpoint-specific JSON payload. Error: consistent envelope, same across all endpoints.Typical request
Endpoint groups
Travel Demand
See where people are searching to fly and how it trends over time:
destination, market, audience, their /trend series, and trend.Flights
Discover routes and dates, run a live search, then handle refunds and exchanges:
find-destination, flight-calendar, find-dates, lowest-fare, price-monitoring, flight-search, refund, exchange.Hotels
Search hotels and pull details;
htl_* tokens plug into the same trip as flights: hotel-search, hotel-details, hotel-cancel.Cart & Payment
Build a trip, select ancillaries, check out, pay, and look up the booking:
trip, select-ancillaries, checkout, agent-payment submit, trip-status, get-booking.Webhooks
Register endpoints and get notified on booking events:
register, list, get, delete, test.