+ 1
It all depends on which API you want to learn since every API is unique in what it does or provides.
If, for instance, you want to learn about the Babylon.js framework for building 3D games with HTML5 , then you should visit that API's website and learn how to use it. You may also google API name + tutorial and you"ll even find third party tutorials.