GET/v2/carriers

Carriers

Search airline codes. Refund and exchange flags are not returned.

Bearer tokenAuthority: B2C_REFERENCE_SEARCHhttps://api1.vacaychi.com/booking

Reads the airline-code cache (IATA code to name). Results are sorted by code, then limited.

cURL

bash
curl "https://api1.vacaychi.com/booking/v2/carriers?code=BG" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Query parameters

qstring
optional

Case-insensitive match on IATA code or airline name

codestring
optional

Exact IATA code

limitnumber
optional

Default 50. Maximum 200.

Response

200
{
  "message": "Success",
  "data": [
    { "code": "BG", "name": "Biman Bangladesh Airlines" }
  ],
  "error": null
}

Response fields

codestring

IATA airline code

namestring

Airline name

Errors

400limit must be a number / limit must be at least 1

limit is not a positive number

401 / 403UNAUTHORIZED

Missing token, or the token lacks B2C_REFERENCE_SEARCH