Fix position lookup API endpoint to actually return the data