wrap api part in group block