I'm at work, if no one answers by the time I get home I'll check mine sitting on the floor of the shop!
You looking for thread pitch or nut size. 17mm on bat connection and 8mm on solenoid. I think the 8mm is 1.25 course.
Might be just as easy to yank the starter off and drag it to the hardware store with ya!

I checked mine...10mm x 1.50 and 5mm x .75 ( hardware store says 5mm x .8)
you mean the two that are pointing down right?