CharterOpsCharterOps
Sign inSign up

API reference

Airports

Search airports and nearby fields, and read the FBOs and weather at a field.

Search airports

GET/v1/airports

Scope
read
Quota
Counts toward your allowance

Query parameters

  • qstring

    Up to 120 characters.

  • countrystring

    Exactly 2 characters.

  • regionstring

  • type[]array of strings

    One oflarge_airportmedium_airportsmall_airportheliportseaplane_baseclosed

  • nearstring

  • radius_nmnumber

    More than 0 and up to 500. Defaults to 50.

  • min_runway_ftinteger

    0 or more.

  • has_customsboolean

  • sortstring

    One oficao-icaoiata-iataname-namecity-citytype-typelongest_runway_ft-longest_runway_ftdistance_nm-distance_nm

  • cursorstring

    Up to 2,000 characters.

  • limitinteger

    From 1 to 100. Defaults to 25.

Response

200 OK

Returns a page of airport summary objects in items, with next_cursor and total.

Errors

  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not found
  • 409 Conflict
  • 422 Unprocessable content
  • 429 Too many requests

Example request

curl "https://api.charterops.com/v1/airports" \
  --header "Authorization: Bearer $CHARTEROPS_API_KEY"

Read an airport

GET/v1/airports/{code}

Scope
read
Quota
Counts toward your allowance

Path parameters

  • codestringRequired

Response

200 OK

Returns the airport object.

Errors

  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not found
  • 409 Conflict
  • 422 Unprocessable content
  • 429 Too many requests

Example request

curl "https://api.charterops.com/v1/airports/$CODE" \
  --header "Authorization: Bearer $CHARTEROPS_API_KEY"

List airport FBOs

GET/v1/airports/{code}/fbos

Scope
read
Quota
Counts toward your allowance

Path parameters

  • codestringRequired

Query parameters

  • sortstring

    Defaults to name.

    One ofname-namephone-phonefuel_brands-fuel_brandshours-hours

  • qstring

    Up to 120 characters.

  • cursorstring

    Up to 2,000 characters.

  • limitinteger

    From 1 to 100. Defaults to 25.

Response

200 OK

Returns a page of FBO objects in items, with next_cursor and total.

Errors

  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not found
  • 409 Conflict
  • 422 Unprocessable content
  • 429 Too many requests

Example request

curl "https://api.charterops.com/v1/airports/$CODE/fbos" \
  --header "Authorization: Bearer $CHARTEROPS_API_KEY"

Find nearby airports

GET/v1/airports/{code}/nearby

Scope
read
Quota
Counts toward your allowance

Path parameters

  • codestringRequired

Query parameters

  • qstring

    Up to 120 characters.

  • radius_nmnumber

    More than 0 and up to 500. Defaults to 50.

  • type[]array of strings

    One oflarge_airportmedium_airportsmall_airportheliportseaplane_baseclosed

  • min_runway_ftinteger

    0 or more.

  • sortstring

    One oficao-icaoiata-iataname-namecity-citytype-typelongest_runway_ft-longest_runway_ftdistance_nm-distance_nm

  • cursorstring

    Up to 2,000 characters.

  • limitinteger

    From 1 to 100. Defaults to 25.

Response

200 OK

Returns a page of airport summary objects in items, with next_cursor and total.

Errors

  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not found
  • 409 Conflict
  • 422 Unprocessable content
  • 429 Too many requests

Example request

curl "https://api.charterops.com/v1/airports/$CODE/nearby" \
  --header "Authorization: Bearer $CHARTEROPS_API_KEY"

Objects

Airport summary

  • citystringCan be null

  • codestring

  • countrystring

  • distance_nmnumberCan be null

  • elevation_ftintegerCan be null

  • iatastringCan be null

  • icaostringCan be null

  • idUUID

  • latitudenumber

  • local_codestringCan be null

  • longest_runway_ftintegerCan be null

  • longitudenumber

  • namestring

  • regionstringCan be null

  • timezonestringCan be null

  • typestring

    One oflarge_airportmedium_airportsmall_airportheliportseaplane_baseclosed

Airport

  • citystringCan be null

  • codestring

  • countrystring

  • distance_nmnumberCan be null

  • elevation_ftintegerCan be null

  • fbo_countinteger

  • has_customsbooleanCan be null

  • iatastringCan be null

  • icaostringCan be null

  • idUUID

  • latitudenumber

  • local_codestringCan be null

  • longest_runway_ftintegerCan be null

  • longitudenumber

  • namestring

  • regionstringCan be null

  • runwaysarray of objects

    7 fields in runways
    • closedboolean

    • idUUID

    • identstring

    • length_ftintegerCan be null

    • lightedboolean

    • surfacestringCan be null

    • width_ftintegerCan be null

  • scheduled_serviceboolean

  • sourcestring

  • source_updated_atdate-timeCan be null

  • timezonestringCan be null

  • typestring

    One oflarge_airportmedium_airportsmall_airportheliportseaplane_baseclosed

FBO

  • addressstringCan be null

  • airportobject

    11 fields in airport
    • citystringCan be null

    • codestring

    • countrystring

    • iatastringCan be null

    • icaostringCan be null

    • idUUID

    • latitudenumber

    • longitudenumber

    • namestring

    • regionstringCan be null

    • timezonestringCan be null

  • created_atdate-time

  • emailstringCan be null

  • frequencystringCan be null

  • fuel_brandsarray of stringsCan be null

  • hoursstringCan be null

  • idUUID

  • is_ownboolean

  • namestring

  • notesstringCan be null

  • phonestringCan be null

  • sourcestring

  • submitted_by_organization_namestringCan be null

  • websitestringCan be null