Surprisingly, Home Depot has a nice section of various threaded bolts, in drawers, available separately. You could buy a handful to try, various diameters and thread pitch, return the ones that don't fit.
Find the available depth before you go, or buy long bolts so you can find the available depth.
Find the available depth before you go, or buy long bolts so you can find the available depth.