Self-Service APIs

Get access to Global Self-Service APIs quickly and easily.

By following these steps, you can start calling Global Self-Service APIs in less than 3 minutes:

Step 1:

Discover Self-Service APIs

Step 2:

Set up your account

Step 3:

Get your API key Enjoy monthly free calls and test your apps with a limited data collection

Step 4:

Make your first call

Step 5:

Go live! After consuming your monthly free quota, pay only for what you use. Enjoy our live data collection

Step 1: Discover Self-Service APIs

You can find all our APIs in our API catalogue. Don’t forget to stop by our GitHub workspace where you can find tons of samples and prototypes to get inspiration.
You need a quick reference to all the API parameters? Check the pdf version of our Cheat Sheet.
If you are a happy postman user, as we are, feel free to use the Global for Developers postman collection.

Step 2: Set up your account

The first step to start using Global Self-Service APIs is to register and create an account:
• In the top right corner of the page, click on register
• Complete the form, using a valid email address and click on the Create account button. An automatic confirmation email will be sent to the email address you registered
• In the confirmation email you receive, click on Confirm my account
You can now log in to the portal with your new credentials! Welcome to Global for Developers

Step 3: Get your API key

To start using the APIs you need to tell the system that you are allowed to do so. This process is called authentication.

All you need to do is to attach an alphanumeric string called token to your calls. This token will identify you as valid user and is generated from two parameters: API Key and API Secret.

API-key-icon-130pxUse your free calls in the test environment to create your app
In the test environment you will enjoy a fixed number of free API call quota per month for all your applications.
When you reach the limit, you will receive an error message. Use this limited data collection to prototype your app and get ready for launching it to the market.

Getting the API Key and API Secret is easy. Once your account has been verified, you can sign in and follow these steps:

• Click on your username (top right corner)
• Go to My Self-Service Workspace
• Click on Create New App button
• Enter your application details and click on Create

Step 4: Make your first call

We recommend you use one of our existing SDKs available for Node, Java, Python and Ruby, but for this example we will use cURL.
Before making your first API call, you need to get your access token. For security purposes we implemented the oauth2 process that will give you your access token based on your `API Key` and `API Secret: please take a look at our Authorization guide.
For our first call, let’s get a list of possible destinations from Paris for a maximum amount of 200 EUR using the Flight Inspiration Search API, which returns a list of destinations from a given origin along with the cheapest price for each one.
The documentation says you need to use v1/shopping/flight-destinations as endpoint followed by the mandatory parameter origin. As you want to filter the offers to those cheaper than 200 EUR, you need to add the maxPrice parameter as well.

Step 5: Go live!

Once you feel that your application is ready to be used in the Real World™, you might consider moving it to the Production Environment.
Golive-icon-130pxPay only for what you use when you move your app to the production environment
When you move one app to the production environment, you will keep your free call quota for all your applications.
Once reached the free limit for the app you moved to production, you will start paying only for the calls you make.
In the production environment, you will get access to a live data collection. Use the production environment to start testing your app with real users and launch your app to the market.
Moving your application to Production involves the request of a Production Key. But don’t be scared! The process is quite easy:
Requesting a Production Key involves these basic steps:
• Sign in
• Click on your username (top right corner)
• Go to My Self-Service Workspace
• Select the application you wish to move to Production and click on Get Production environment button
• Fill in the information: personal data, billing address and application description
• Add your payment information
• Sign the agreement
Once you have completed the steps above, you will receive a copy of your contract by mail.
Remember that once you reach the threshold of free transactions, you will be automatically billed on a monthly basis. But don’t worry we made this easy for you, you can manage your apps and track your usage in My Self-Service Workspace.

Preferences