get_user_profile
Type: query
Gets the current user's profile information.
Signature
async def get_user_profile(
# No parameters
) -> Dict[str, Any]
Returns
Dict containing user profile with id, name, and email.
Example
from monarchmoney import MonarchMoney
mm = MonarchMoney()
await mm.login(email, password)
result = await mm.get_user_profile()
print(result)
GraphQL Operation
Operation Name: Common_GetMe
GraphQL Query
query Common_GetMe {
me {
id
name
email
}
}
Try It Out
To test this API method locally:
- Install the package:
pip install monarchmoney - Create a Python script with the example code above
- Replace
emailandpasswordwith your Monarch Money credentials - Run the script
See the Authentication Guide for details on logging in.