hxhg api and sdk