You cannot get an Apple ID password directly
Use Apple’s account recovery process at iforgot.apple.com
Reset the password from a trusted Apple device in Settings
Reset the password from the Apple ID account page if you are signed in
Check saved passwords in iCloud Keychain, Passwords app, or browser password manager
Contact Apple Support if you cannot access your trusted devices or recovery methods
If this is not your Apple ID, do not attempt to access the password
