For a hydraulic rotary joint, the appropriate HS (Harmonised System) classification depends on the precise design and application of the joint. Some commonly used codes are:
HS 8483.60 ("Clutches and shaft couplings (including universal joints)") - frequently used for rotating mechanical joints.
HS 8487.90 ("Parts of machines and mechanical appliances… not specified or included elsewhere") - appears applied in import/export data for rotary joints.
HS 7307.29 ("Tube or pipe fittings … of iron or steel – other") - cited in a U.S. customs ruling for a stainless steel liquid rotary union coupling.
Recommendation:
If the hydraulic rotary joint is a mechanical coupling/union used in hydraulic systems (rotating union allowing fluid transfer while rotating), likely HS 8483.60 or HS 8487.90.
If it's a pipe fitting made of steel, HS 7307.29 might apply.
Because national tariff schedules may differ, you should check with your local customs/HTS [USA] or import classification authority for your specific part.

