 The diet of the rainbow pitta is dominated by insects and their larvae, other arthropods, snails and earthworms.Near Darwin, two thirds of the diet was earthworms; these are mostly taken during the rainy season from October to April.Insects and other arthropods are more commonly taken in the dry season; insects and arthropods taken include cockroaches, beetles, ants, caterpillars and grasshoppers, centipedes, spiders and millipedes.