Second api endpoint built