use API key, if present