t Flight Data API| Documentation NAV Navbar

Flight API for price comparison


Welcome to Flight price Comparison API Documentation. Our API is organized around GET Requests. You can use our API to get information for International Flight Prices in any currencies


curl --request POST \
  --url 'https://exampleapi.makcorps.com/auth' \
  --header 'Content-Type: application/json' \
  --data '{

JSON Response:



You must have an JWT Token to use the API functions. Contact us registration to get your JWT token.

Your JWT token will expire after every 30 min.So, you have to request for new JWT token after every 30 min.Your JWT token must be included in the every request.

API Functions

Price Status


Get Live Prices of Flight from around the globe.

Request URL

curl --request GET \ --url https://exampleapi.makcorps.com/flight/v2/cityone/citytwo/date \ --header 'Authorization: JWT jwt_token'

URL Parameters

Parameter Description
cityone Pickup point
citytwo Dropping point
date Date of Departure
curl --request GET \
  --url https://exampleapi.makcorps.com/flight/v2/delhi/london/2018-06-11 \
  --header 'Authorization: JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1MTc2NzczNjAsImlkZW50aXR5IjozLCJuYmYiOjE1MTc2NzczNjAsImV4cCI6MTUxNzY3OTE2MH0.ytSqQj3VDymEaJz9EIdskWELwDQZRD1Dbo6TuHaPz9U'

JSON Response:

  "comparison":[ ,
    "airline": "DEL - LHR, British Airways",
    "vendor": "expedia.com",
    "price": "$345",
    "time": "2:45 AM - 7:30 AM",
    "duration": "9h 15m"},
    "airline": "DEL - LHR, British Airways",
    "vendor": "cheaptickets.com",,
    "price": "$360",
    "time": "2:45 AM - 7:30 AM",
    "duration": "9h 15m"},
    "airline": "DEL - LHR, British Airways",
    "vendor": "priceline.com",
    "price": "$420",
    "time": "2:45 AM - 7:30 AM",
    "duration": "9h 15m"},

Response Codes

The response_code key included in each response contains the status of the result returned.

Codes and their meanings:

Code Description
200 Success.
400 Bad request.A user with that email or username already exists
401 Unauthorized or invalid token.
404 Data couldn’t be loaded on our servers. No data available.
405 Data couldn’t be loaded on our servers. Request couldn’t go through.
500 Unauthorized API Token.
501 Account Expired.
502 Invalid arguments passed.