Only call lookup if api key is set