Create ReplaceAPI