instafly-pro

FREEMIUM
By barkal
Updated 9 days ago
Visual Recognition
3.6/10
Popularity Score
1977ms
Latency
100%
Success Rate

instafly-pro API Documentation

instafly pro version : Add some magic to your booking site

View API Details
POSTUpload an image and retreive flights and hotel links to the location in the image you've posted
POSTPOST a URL to retreive flights and hotel links to the location in the image you've posted
POSTUpload an image and retreive flights and hotel links to the location in the image you've posted

POST an image (base64) in the request body as shown below to receive flight & hotel details. The response will include details about the location seen in the image "destinationFlightInfoList a list containing airports near this location, each "airport" will contain the distance to the location in Kilometer "kmDistanceFromLandmark" distance in Miles "mlDistanceFromLandmark" flight booking link to this airport (currently only flying out from Calgary international airport YYC, but you can change that in the search link) "flgihtBookingLink" , also a "hotelBookingLink" and the percentage confidence level in recognizing the location "confidence" and the "landmarkName" , in addition to the image upload you can optionally specify departure airport code in the request body "originAirportIATACode", or the latitude and longitude of a departure spot "currentLatitude" and "currentLongitude". If you pass all optional values, the departure airport and a latitude and longitude of a departure location, the airport code will override the departure location. If you are a TravelPayOuts Affiliate, then you can slo pass your Affiliate marker as a string "travelPayoutsMarker", then all the flight and hotel links that are returned will carry your Affiliate Marker, not the default one.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
base64 encoded imageJSON_STRING
REQUIREDImage encoded as base64
Code Snippet
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication