added api to code

api key allows 10000 requests