PC fans have a well-defined standard. Nobody reads the standard, of course. Search for "standard 4-wire fan" or something like that.
One wire is PWM control. It can be left open and the fan will run at full speed. The other is a tachometer for speed feedback. One pulse per revolution.