Generalize weight limit api