HiLetgo 10pcs KW12-3 Roller Lever Arm Micro Limit Switch Normally Open Close Limit Switch Black https://www.amazon.com/dp/B07X142VGC/ref=cm_sw_r_apan_glt_fabc_S31EB15KQ3K2K81CGATP
There are two pins on this one that you can use. If you want normally open you use the No pin if you want normally closed you use the NC pin. I don't know what c stands for...closed? But I think that one needs to be used. I really don't know... But intuitively this is what I think.
I would go with something like this and if your board wants no or NC then just use that pin. And connect the other pin. These are pretty cheap too.
If you want something fancy I bet there are fancy ones out there. Precision isn't normally an issue...