Is buying gears off ebay an opportunity or a disaster waiting to happen? Both – it's a risk.
In this example the gears are unbranded and cheap. In the absence of a specification they could be fine or unsuitable. It depends on the application. If the gearbox will be much used and heavily loaded using unknown gears is high risk. Same gears could be entirely suitable for a lightly loaded infrequent work. Cheap gears are also likely to be noisy, if that's a concern.
A problem with ebay and similar non-specialist sellers is items like gears are multi-sourced without much technical control. What's on sale could be anything between high-quality surplus and manufacturing rejects. Or wholesaled from different makers working to different specifications. There's no guarantee the same seller will send the same gears each time, or even in the same order. Risk, risk, risk.
I suggest unknown gears (no specification) are suitable for prototypes, lightly loaded applications, and when the owner doesn't mind taking a punt. If the application is important – high reliability and hard work – the design has to meet a Requirement, which either means coughing up for expensive gears and bearings, or confirming by test and inspection that cheap gears will do the job. High-end gears are not necessarily expensive because they're better made, but because their qualities are documented.
I use ebay a fair amount and am mostly happy with what I get. But I always accept it's a risk. Every so often I come unstuck, but hey that's life. Not as dangerous as buying a Rolex for £200 off a stranger in a pub car-park, where the chance of the watch being genuine is zero.
Dave