This is a water swivel for well drilling.
The inlet and outlet are 1" NPT Threads
The Drive is a 7/8" Inside diameter with 3/8" cross hole.