Skip to main content

Get Started

Welcome developers. Through Wego API and tools, you can build a customised travel search experience on your website or mobile application with almost all the features and functions of that powers Wego. Get creative and use the API in lots of ways.

Policy

Please make sure to read the full API Agreement. Some of the rules of using the API:

  • We require to maintain Search to Click ratio not less than 5%
  • You have to use the API to only facilitate travel search queries by real-end users (not bots)
  • Only Wego deep links to Wego's partners should be included in the search results.

Rate Limiting

Use of the Wego API is subject to rate limits. Limits apply to Search requests and don't apply to other requests (e.g polling for search results, etc).

Rate limiting is applied on an application basis (based on client id), regardless of how many users are using it.

The default limit is 500 calls per hour for a regular key (can be increased by request if you maintain Search to Click ratio 5%) and 50 calls per hour for a test key.

note

Note that rate limit can be decreased if you don't maintain Search to 5% Click ratio.

How it works

  1. Acquire Token. Your back-end needs to acquire access token. You will need to include the access token for every request you send to the API.
  2. Trigger a Search. Create a search object based from the user's input and send this to Wego API. This will return a Search ID as a reference for this search session, and will be used to get the search results.
  3. Get Results. Using the Search ID returned in Step 2, start polling for the results.
  4. Display results. You can immediately start displaying available results in parallel with polling for more results.
  5. Sort, filter and paginate. Provide great user experience by having the ability and power to organise search results on the client-side.
  6. Handoff. Your visitors click on search results and are taken to our partner's websites to complete the booking.

Credentials

Please contact us to get API Credentials.