# API Question about fetching the values for the Beginning/End of Ak. Horizon

**URL:** <https://forum.beeminder.com/t/api-question-about-fetching-the-values-for-the-beginning-end-of-ak-horizon/472>\
**Category:** Tech\
**Created:** [January 31, 2015, 12:38pm UTC](https://forum.beeminder.com/t/api-question-about-fetching-the-values-for-the-beginning-end-of-ak-horizon/472 "2015-01-31T12:38:58Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [February 12, 2015, 12:27am UTC](https://forum.beeminder.com/t/api-question-about-fetching-the-values-for-the-beginning-end-of-ak-horizon/472/8 "2015-02-12T00:27:07Z")

</div>

Update! Turns out the API already had what you needed – `rah` and `delta` – but they were undocumented [until now](http://forum.beeminder.com/t/missing-api-documentation-goal-resource/495 "Forum post about the missing API params"). Thanks again, @insti!

(Implementing `roadfunc` may still be worthwhile but if you just care about the values of the road today and at the akrasia horizon, the API gives you those directly. Well, almost directly. The road value today is `curval` + `delta`. The road value at the akrasia horizon is `rah`.)

---

_[View the full topic](https://forum.beeminder.com/t/api-question-about-fetching-the-values-for-the-beginning-end-of-ak-horizon/472)._
