Zum Inhalt springen

get_spending_trends

Return monthly spending trends per category over the last N months.

The result maps each category name to its spending month by month, oldest first, in currency units.

Art nur lesend
Bestätigung nein
Rückgängig nein
Idempotent ja
YNAB-Anfragen 4 für das Beispiel unten, leerer Cache
Name Typ Pflicht Standard Beschreibung
plan_id string ja — YNAB plan id or ‘last-used’.
months_count integer nein 3 Number of past months to include, 1 to 24 (default 3).

object

Argumente:

{
"plan_id": "demo-budget",
"months_count": 3
}

Antwort auf dem Demo-Budget:

{
"Miete": [
{
"month": "2026-07-01",
"amount": 950.0
},
{
"month": "2026-08-01",
"amount": 950.0
},
{
"month": "2026-09-01",
"amount": 950.0
}
],
"Strom": [
{
"month": "2026-07-01",
"amount": 64.2
},
{
"month": "2026-08-01",
"amount": 64.2
},
{
"month": "2026-09-01",
"amount": 0.0
}
],
"Handy": [
{
"month": "2026-07-01",
"amount": 19.99
},
{
"month": "2026-08-01",
"amount": 19.99
},
{
"month": "2026-09-01",
"amount": 19.99
}
],
"Lebensmittel": [
{
"month": "2026-07-01",
"amount": 172.89
},
{
"month": "2026-08-01",
"amount": 192.51
},
{
"month": "2026-09-01",
"amount": 0.0
}
],
"Restaurants": [
{
"month": "2026-07-01",
"amount": 61.5
},
{
"month": "2026-08-01",
"amount": 89.1
},
{
"month": "2026-09-01",
"amount": 142.5
}
],
"Mobilität": [
{
"month": "2026-07-01",
"amount": 45.0
},
{
"month": "2026-08-01",
"amount": 45.0
},
{
"month": "2026-09-01",
"amount": 0.0
}
],
"Tennis": [
{
"month": "2026-07-01",
"amount": 22.0
},
{
"month": "2026-08-01",
"amount": 22.0
},
{
"month": "2026-09-01",
"amount": 0.0
}
],
"Abos": [
{
"month": "2026-07-01",
"amount": 13.49
},
{
"month": "2026-08-01",
"amount": 13.49
},
{
"month": "2026-09-01",
"amount": 0.0
}
],
"Urlaub": [
{
"month": "2026-07-01",
"amount": 0.0
},
{
"month": "2026-08-01",
"amount": 0.0
},
{
"month": "2026-09-01",
"amount": 0.0
}
]
}

Dieses Tool erzeugt keine eigenen Fehler; Fehler von YNAB kommen als Error calling tool '<tool>': YNAB <status>: <detail> zurück.

Inoffizielles Projekt. „We are not affiliated, associated, or in any way officially connected with YNAB or any of its subsidiaries or affiliates. The official YNAB website can be found at https://www.ynab.com. The names YNAB and You Need A Budget, as well as related names, tradenames, marks, trademarks, emblems, and images are registered trademarks of YNAB.“ Wir sind mit YNAB oder einer seiner Tochtergesellschaften oder verbundenen Unternehmen weder verbunden noch assoziiert noch in irgendeiner Weise offiziell verknüpft. Die offizielle Website von YNAB finden Sie unter https://www.ynab.com. Die Namen YNAB und You Need A Budget sowie zugehörige Namen, Handelsnamen, Zeichen, Marken, Embleme und Bilder sind eingetragene Marken von YNAB. avenir-mcp wird ohne Gewähr bereitgestellt und ist keine Finanzberatung. Rechtliche Hinweise · Datenschutz