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
The Differences Between Mini USB, Micro USB, and USB-C Explained
All Types of USB Ports Explained & How to Identify them
The Best Micro-USB Cable
Pairing a micro:bit with USB cable
Short Micro USB Cable (15 cm) : Micro:Bit, Crumble, etc. – 4tronix
16 Best USB-C Cables (2024): For iPhones, Android Phones, Tablets
Dawafit Microbit Single Board V2 Kit BBC Board Built-in Speaker
USB cables for charging – the ultimate guide
How To Connect a Power Supply to micro:bit? - 2 Easy Methods - Wiingy