fixed api loading; added more parameters to request