if you're tracking keywords across multiple competitors use a nested loop in python to iterate through lists of urls for each site then compare their rankings with yours:
competitor_url_list in competition_data.values(): # logic here
this can help streamline large-scale serpData collection and comparison