Adjust API page, implement API counter auto-refresh.