api reduction