API implementation of Plyst