locations api call