get_institutions
Type: query
Gets institution data from the account.
Signature
async def get_institutions(
# No parameters
) -> Dict[str, Any]
Example
from monarchmoney import MonarchMoney
mm = MonarchMoney()
await mm.login(email, password)
result = await mm.get_institutions()
print(result)
GraphQL Operation
Operation Name: Web_GetInstitutionSettings
GraphQL Query
query Web_GetInstitutionSettings {
credentials {
id
...CredentialSettingsCardFields
__typename
}
accounts(filters: {includeDeleted: true}) {
id
displayName
subtype {
display
__typename
}
mask
credential {
id
__typename
}
deletedAt
__typename
}
subscription {
isOnFreeTrial
hasPremiumEntitlement
__typename
}
}
fragment CredentialSettingsCardFields on Credential {
id
updateRequired
disconnectedFromDataProviderAt
...InstitutionInfoFields
institution {
id
name
url
__typename
}
__typename
}
fragment InstitutionInfoFields on Credential {
id
displayLastUpdatedAt
dataProvider
updateRequired
disconnectedFromDataProviderAt
...InstitutionLogoWithStatusFields
institution {
id
name
hasIssuesReported
hasIssuesReportedMessage
__typename
}
__typename
}
fragment InstitutionLogoWithStatusFields on Credential {
dataProvider
updateRequired
institution {
hasIssuesReported
status
balanceStatus
transactionsStatus
__typename
}
__typename
}
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.