Move api-key out to separate var