have a from and to search

Is there anyway that the API allows me to use a search from-to and list all of the flights that are flying that route…

For example

LAX-JFK and that would list all of the flights that are flying that route today

Use the “Search” function with a query of “-origin KLAX -destination KJFK”.

Be aware that such a query will only return flights directly involving those two airports, and not all flights that can be used to possibly connect between those locations.