# Top Games 'before' cursor

**URL:** <https://discuss.dev.twitch.com/t/top-games-before-cursor/14416>\
**Category:** API\
**Created:** [February 22, 2018, 1:05am UTC](https://discuss.dev.twitch.com/t/top-games-before-cursor/14416 "2018-02-22T01:05:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Buran](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/buran/32/4238_2.png) [@Buran](https://discuss.dev.twitch.com/u/Buran)\
**Post date:** [February 22, 2018, 1:05am UTC](https://discuss.dev.twitch.com/t/top-games-before-cursor/14416/1 "2018-02-22T01:05:13Z")

</div>

Hey, does anybody know how the “before” cursor works for helix/games/top endpoint?

I am trying to do something like:

- getTopGames(first=10) - \> get cursor1.
- getTopGames(first=10, after=cursor1) -\> cursor2
- getTopGames(first=15, before=cursor2)  
At this point I assume that #1 game from third request should be somewhere around the #5 game from first request. But my 3rd request returns just first 15 games (like there is no cursor value). I think I am missing something important here.

Kind Regards

---

<div class="post-metadata">

**Author:** ![HerrAusragend](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/herrausragend/32/4155_2.png) [@HerrAusragend](https://discuss.dev.twitch.com/u/HerrAusragend)\
**Post date:** [February 28, 2018, 11:22am UTC](https://discuss.dev.twitch.com/t/top-games-before-cursor/14416/2 "2018-02-28T11:22:08Z")

</div>

I also experienced this behavior. Here’s the related post.

> [@Helix API - Top Games 503 HTTP](https://discuss.dev.twitch.com/t/helix-api-top-games-503-http/14283/7):
>
> If it makes you guys feel any better, I days worth of periodic 503 errors on different endpoints. So it’s not just you. I’ve talked with @geardrops about it, so hopefully things can get resolved quickly.

---

<div class="post-metadata">

**Author:** ![Buran](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/buran/32/4238_2.png) [@Buran](https://discuss.dev.twitch.com/u/Buran)\
**Post date:** [February 28, 2018, 12:01pm UTC](https://discuss.dev.twitch.com/t/top-games-before-cursor/14416/3 "2018-02-28T12:01:18Z")

</div>

Yes, indeed looks similar. Never had any 5xx errors fortunately…

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [March 30, 2018, 12:01pm UTC](https://discuss.dev.twitch.com/t/top-games-before-cursor/14416/4 "2018-03-30T12:01:20Z")

</div>

Closed on March 30, 2018, 12:01pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
