use api rather then get