construct_api_url params as kwarg

Sometimes params isn't doesn't have to be passed
[ci skip]