Update api.php

edited the location