get_transactions_summary
Type: query
Gets transactions summary from the account.
Signature
async def get_transactions_summary(
# No parameters
) -> Dict[str, Any]
Example
from monarchmoney import MonarchMoney
mm = MonarchMoney()
await mm.login(email, password)
result = await mm.get_transactions_summary()
print(result)
GraphQL Operation
Operation Name: GetTransactionsPage
GraphQL Query
query GetTransactionsPage($filters: TransactionFilterInput) {
aggregates(filters: $filters) {
summary {
...TransactionsSummaryFields
__typename
}
__typename
}
}
fragment TransactionsSummaryFields on TransactionsSummary {
avg
count
max
maxExpense
sum
sumIncome
sumExpense
first
last
__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.