Added offest/limit to api.