Each wind turbine contains a power curve that can be used to convert wind speeds into capacity factors in the API. The power curves were sourced from thewindpower.net.
Looking for a wind turbine to use in the API? Here are a few to get you started: