---
title: "Get flight counts for operator"
method: GET
path: "/operators/{id}/flights/counts"
tags: ["operators"]
---

# Get flight counts for operator

`GET /operators/{id}/flights/counts`

## Request

- Base URL: `https://aeroapi.flightaware.com/aeroapi`
- URL: `https://aeroapi.flightaware.com/aeroapi/operators/{id}/flights/counts`
- Auth: API key in header `x-apikey`
- TypeScript: <https://skmtc.dev/flightaware/apis/aeroapi/docs/operators/:id/flights/counts/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns counts of both airborne and recently operated flights for
operator.

## Response `200`

OK

- object
  - `airborne` integer, required: The number of currently airborne flights for this operator.
  - `flights_last_24_hours` integer, required: The number of flights departed in the last 24 hours for this operator, including airborne flights.

## Other responses

- `400`: Incorrect parameter (id). Id must be a valid operator code and cannot be empty.
- `404`: No such operator exists.

---

[API](https://skmtc.dev/flightaware/apis/aeroapi.md) - [All operations](https://skmtc.dev/flightaware/apis/aeroapi/llms.txt) - [OpenAPI document](https://skmtc.dev/flightaware/apis/aeroapi/revisions/3023e7a0c54c?raw)
