Direct bilirubin levels are measured through a blood test. In newborns, this is often performed as part of a bilirubin panel, which also includes total and indirect bilirubin levels. The test involves drawing a small amount of blood, typically from a heel prick in neonates or a vein in older children.