xmpg all api