Just go through below given link for api key as all instructions are there. http://wordpress.com/api-keys/ DON.
Its the URL where your xmlrpc.php file is present. For eg your blog is at xyz.com\blog then your api url is xyz.com\blog\xmlrpc.php