Which preposition to use with swapped

for Occurrences 4%

I had on a white straw hat that I had swapped for with one of the men; where he had got it, I don't know.

with Occurrences 3%

The next day he had a whole roll to eat, and two halves to swap with other two boys, who had eat their cake & were still not satiated, for whole ones to-morrow.

in Occurrences 1%

He invited me to go with him for a day's ride through the country where the very first blows were swapped in the western theater of hostilities.

Which preposition to use with  swapped