Getting current flight route and planned flight route


I’m looking to get the ads-b data for a flight via a pull mechanism. On your site I see

Worldwide Flight Data API (Live, query-based, push and pull)

FlightAware offers FlightXML, a SOAP/WSDL or REST/JSON flight data API with access to all of FlightAware’s ADS-B positions as well as additional data.

But I’m not entirely sure what I’m searching for when I go to the documentation. Searching ADS-B returns where I can get a single gif for 1 flight, but I’m looking to query the raw data so that I can create my own overlay.

You want to use GetLastTrack which will return all the positions (ADS-B, radar, or otherwise) for the current flight.