Get Schedules + Codeshare

I am trying to use AeroAPI + get/schedules to get about 36 hours worth of unique flights between a single city pair. When I set codeshare = false, it filters out ALL flights that are codeshare, including the “main” flight. Is there a way to get unique flights only without having to filter it myself?

Thanks!

Unfortunately this would have to be done somehow on your end as the parameter is meant to filter out all codeshares.

Got it thank you! I was already doing my own filtering, but I was hoping to cut down on the amount of data being passed for busy airport pairs (e.g. SFO/LAX).

Cheers!

As another follow-up, this is hurting me during testing because all of those repetitive codeshare flights count against pages/sets and my query limit. Any way to get relief from that?