added api key and headers
added api key and headers