Current Service

The Current API returns the calculated current time to wait at all queues defined for the requested airport. Wait time is in seconds.

Format

Verb Request
GET https://host/waittime/v1/current/{airport}

Path Parameters

Key Description Required
airport The airport IATA code. Yes

Request Query Parameters

Key Description Required
callback Name of callback function (JSONP). No

Payload Example

Request

https://waittimeqa.api.aero/waittime/v1/current/den

Response


{
	"success": true,
	"current": [{
		"airportCode": "DEN",
		"airportName": "Denver International Airport",
		"queueId": "4dbe38e82f245f3ce8c347d6d29184df",
		"queueName": "South General",
		"projectedWaitTime": 960,
		"projectedMinWaitMinutes": 14,
		"projectedMaxWaitMinutes": 18,
		"localTime": "2015-12-09T17:06:00.000-07:00",
		"time": "2015-12-10T00:06:00.000Z"
	}]
}

NOTE 1: Fields not available in the response will be omitted.

Errors

HTTP Code Reason Payload
400 Auth failed

{
 "errors":
   {"error":[
     {"description":"authentication failed",
       "code":"9998"
     }
   ]
  },
  "success":false
}
404 No Data


  "errors": {
     "error": [
       {
         "description": "no projections available",
         "code": "5001"
       }
      ]
   },
   "success": false
}
404 Airport not Found


  "errors": {
     "error": [
       {
         "description": "airport not found",
         "code": "2020"
       }
      ]
   },
   "success": false
}
404 No Service Available


  "errors": {
     "error": [
       {
         "description": "no service available",
         "code": "1003"
       }
      ]
   },
   "success": false
}
500 System Error

{
  "errors": {
     "error": [
       {
         "A system error occurred. Contact Support",
         "code": "9999"
       }
      ]
   },
   "success": false
}