Newman library get request Error: getaddrinfo ENOTFOUND {{url}}{{basepath}}

That’s not going to know what that api key is, if you use it like that.

You’re basically asking your node script to look into the environment file to find an API Key in a format only known, to a Collection.

Outside of a Collection, that {{..}} syntax is unknown. You’re working with a node JS script there so you would need to reference that key value with a variable known to that script or hardcode it.