The micro:bit has a USB type-B micro connector. You can use the USB interface to load code onto the micro:bit, and to power it. The USB lead that you require will depend on what device you are plugging the micro:bit in to: Usually
Meet the new BBC micro:bit v2 - Upgraded with a powerful new processor that has tons more capability and also adds more sensing with a new speaker and
micro:bit v2 Go Bundle - Batteries and USB Cable Included
Arduino USB Type-C® Cable 2-in1 — Arduino Official Store
USB-C, USB-B, and USB-A: What's the Difference? - ViewSonic Library
Official micro:bit USB Leads
Microbit Single Board V2 Kit BBC Board Built-in Speaker and
USB Type A to Type C Cable - approx 1 meter / 3 ft long : ID 4474
Products Archive Wonkitz : Support for STEM Educators
The Best Micro-USB Cable
3ft (0.9m) DisplayPort™ Cable with Latches 8K UHD M/M - Black