Positions tracking

Hello, How can I use the API to get positions from a flight that already happened?
regards

AeroAPI: use the /flights/{id}/track endpoint: AeroAPI Developer Portal - FlightAware (or the equivalent /history/ endpoint for older data)

Firehose: pass a range connection command to do a historical replay, together with appropriate filters for the data you want: Firehose (Live Flight Data API) Documentation - FlightAware

thanks, how can I get the flight id?

regards

AeroAPI has various different ways you can query for flights, e.g. /flights/search (many other API calls will also return flight IDs)