To pull data from FlightAPI to Google Sheets easily and without writing any code, first install and open the Apipheny Google Sheets add-on.
Apipheny is a no-code API integrator for Google Sheets that you can use to make unlimited API requests, connect to unlimited APIs (including FlightAPI), save API requests, schedule API requests, and more.
Install Apipheny by clicking the Install button on this page: https://apipheny.io/install
After installing the add-on, open a Google Sheet and then in the menu at the top click “Add-ons” > “Apipheny” > “Import API”.
After installing Apipheny, you need to sign up for a flight tracking or flight price comparison API. Click here for a list of Flight APIs you can try to use.
In this tutorial, we will be testing the FlightAPI, which allows us to track flights and compare flight prices from multiple vendors and companies like Expedia, Cheaptickets.com, Priceline, and more. I have no affiliation with FlightAPI, I’m just testing their API as an example.
After you sign-up, you’ll see your API key in your account:
Copy and paste your API key somewhere safe because you will need it in the following steps.
Your next step is to create an API URL that will pull the flight data that you need from FlightAPI.
Below I’ve pasted some example API URLs that may be possible to use to call the flight API from Google Sheets using Apipheny. I haven’t tested all of them myself, I only tested one of them which you will see in the following step.
Compare price for a one-way trip:
Compare price for a round-trip flight:
Track a flight:
Track an airplane using the flight number:
IATA/city and airline codes:
Airport schedule data:
You will need to customize the URL by replacing parameters like the API key, IATA code, date, and possibly other parameters within the URL, depending on the data you’re trying to pull. Click here to read the documentation.
After creating your API URL to get the exact data you need, your last step is to paste your FlightAPI request in the “API URL Path” field of the Apipheny add-on.
After entering your API request in the Apipheny add-on, just click the “Run” button at the bottom of the Apipheny sidebar and your flight price data will automatically import into your Google Sheets, if you made your URL right. If it takes longer than 30 seconds, your request is not right.
In this example, I create a request to get one-way flight price data from London to Los Angeles:
This is the API URL I entered into the “API URL Path” field in Apipheny:
I used a date in the future “2020-08-08” within the URL.
Constant Contact API
Facebook Graph API
Facebook Ads API
Google SERP API
Linkedin Ads API
Product Hunt API
Reddit Ads API
Riot Games API