Counting flights on a given day(or period) from SFO to ATL?


How do we get the number of flights on a given day from one airport to another? I saw the SearchCount but it doesn’t seem to take an input of start and end date, or origin or destination. How do we do this?


You can use the regular “Search” with the -origin and -destination arguments, and write your own code to iterate over the results to compare that the filed_departuretime is within the day you are interested in. Note that you will probably want to use SetMaximumResultSize to be high enough so that you can retrieve as many flights at a time as possible. You will need to write your application so that it will perform this operation once per day, if you want to continue to collect this information in an ongoing basis.