Research on API design