Xtify API code