Hi there,
I think your best bet would be to search for this
Pin Header, Wire-to-Board, 3.96 mm, 1 Rows, N Contacts, Through Hole
Where 'N' = number of contacts required.
Farnell do a good range but you may need to buy larger quantities than you need.
For example
https://uk.farnell.com/amp-te-connectivity/1-1123724-2/connector-header-3pos-1rows-3/dp/3398192
Alternatively 'CPC Farnel'l are perhaps more suited to smaller quantities, the link is only a starting point, a similar search would provide the pin numbers you need for different boards.
https://cpc.farnell.com/molex/26-60-4040/header-tht-vertical-3-96mm-4way/dp/CN18481?st=pin headers 3.96mm
Hope this helps.