Mini-program API service