ERCP is indicated in pediatric patients for several reasons, including the diagnosis and treatment of biliary atresia, choledochal cysts, pancreatitis, and bile duct stones. It is particularly useful when non-invasive imaging techniques, such as ultrasound and MRI, are inconclusive.