add gear-type-frequency endpoint

fixes #274