Fix api endpoint and output of response