Average Spent & Average Budgeted

Is there a way to pick average spent and budgeted of a category via API? Thanks!

3replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hey, there! Just a heads up that I've passed this on to our developers and one of them will pop in here and answer this Q shortly. :)

    Like
  • Hey there, Gray Horse ! The Average Quick Budget amounts for a category are calculated in the app, so those aren't directly accessible through the API. It is possible to calculate those yourself if you'd like, though. The Average Quick Budget amounts look back up to 12 months starting with the first month where there was budgeting or spending activity in each category.

    So you could look back up to 12 months using the /budgets/{budget_id}/months/{month}/categories/{category_id} endpoint and starting with the first month where there's a non-zero value in the "budgeted" or "activity" properties, you can grab those values and get the average from that.

    Like 1
      • Gray Horse
      • Gray_Horse.5
      • 9 days ago
      • Reported - view

      Sarah (YNAB Support) That makes sense. Thank you.

      Like
Like1 Follow
  • 1 Likes
  • 9 days agoLast active
  • 3Replies
  • 97Views
  • 3 Following