You can get it at the user dashboard on xbuc.net after login. If you haven't generated an api key before, you need to click on the generate button.