Skip to content

Contact

Checking that you're human…

Navigation

Flight data

Reports whether high-resolution, trajectory-specific flight data can be obtained for the given day.

GET
https://api.aerostats.ch/v1/coverage/flights

Authorization

  • CF-Access-Client-Id
    API key in header
    required
  • CF-Access-Client-Secret
    API key in header
    required

Query parameters

  • date
    string
    required

    Day to check, as YYYY-MM-DD.

    format: date

Returns

200

The check completed.

JSON
  • date
    string
    required

    The day that was checked.

    format: date
  • available
    boolean
    required

    True when flight data for that day can be obtained.

400

The date is missing.
JSON
  • error
    string
    required

    What went wrong.

401

The credentials are missing or invalid. This answer comes from the gateway in front of the API, and its body is an HTML page.

422

The date is not a day.
JSON
  • error
    string
    required

    What went wrong.

Type to search…

↑↓ navigate↵ selectEsc close