# Api setup - Pagination Issue

**URL:** <https://community.parabola.io/t/api-setup-pagination-issue/1076>\
**Category:** Ask a question\
**Created:** [September 18, 2020, 7:13pm UTC](https://community.parabola.io/t/api-setup-pagination-issue/1076 "2020-09-18T19:13:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sylvain\_Naessens](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Sylvain\_Naessens](https://community.parabola.io/u/Sylvain_Naessens)\
**Post date:** [September 18, 2020, 7:13pm UTC](https://community.parabola.io/t/api-setup-pagination-issue/1076/1 "2020-09-18T19:13:11Z")

</div>

I try to set up OTT API but I’ve a problem with results. I just get 50 results.

I guess it is a one page result limitation. When I try pagination and a set a Max Pages to Fetch of 10 for example, I get 500 results but it is 10 times the same 50 results of Page #1

Here is the api. There is no doc.  
[https://rapidapi.com/gox-ai-gox-ai-default/api/ott-details/endpoints](https://rapidapi.com/gox-ai-gox-ai-default/api/ott-details/endpoints)

What can I do?

---

<div class="post-metadata">

**Author:** ![anon36387498](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@anon36387498](https://community.parabola.io/u/anon36387498)\
**Post date:** [September 18, 2020, 9:03pm UTC](https://community.parabola.io/t/api-setup-pagination-issue/1076/2 "2020-09-18T21:03:55Z")

</div>

Hi @Sylvain_Naessens,

Sounds like you’re close with finalizing the step `Pull from an API` for OTT API. There’s a couple notes to finish this set up:

- If you have any page parameters in your API Endpoint URL, like `&page=200`, then remove those (use it in your pagination settings instead)
- Set Pagination Key to `page`
- Set Pagination Start Value to `1`
- Set Increment Pagination Value to `1`
- Set Max Pages to Fetch to `100`  
  
  
 ![Screen Shot 2020-09-18 at 1.54.59 PM](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/1X/91c843b2e569c727d6941dc9a014c1492d96fb79.png)

(It looks like OTT API starts paging at page 1 instead of page 0, so two of the items above are set to `1`.)

Hope that works out for you - feel free to reach out if you’d like more clarification or to walk through other parts of the process.

---

<div class="post-metadata">

**Author:** ![Sylvain\_Naessens](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Sylvain\_Naessens](https://community.parabola.io/u/Sylvain_Naessens)\
**Post date:** [September 19, 2020, 5:05pm UTC](https://community.parabola.io/t/api-setup-pagination-issue/1076/3 "2020-09-19T17:05:45Z")

</div>

Thank you Adeline for your answer.

I already tried Pagination with those settings. Instead of 100 I put 10 in Max Pages to Fetch. It returns 500 results and it is 10 times the same page of 50 results. I have the same issue with other APIs.

---

<div class="post-metadata">

**Author:** ![anon36387498](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@anon36387498](https://community.parabola.io/u/anon36387498)\
**Post date:** [September 22, 2020, 12:20am UTC](https://community.parabola.io/t/api-setup-pagination-issue/1076/4 "2020-09-22T00:20:11Z")

</div>

Hi @Sylvain_Naessens, could you send me the full API Endpoint URL you’re using in the step `Pull from an API` either on this Community thread or to [help@parabola.io](mailto:help@parabola.io)?

---

<div class="post-metadata">

**Author:** ![Sylvain\_Naessens](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Sylvain\_Naessens](https://community.parabola.io/u/Sylvain_Naessens)\
**Post date:** [September 23, 2020, 10:27am UTC](https://community.parabola.io/t/api-setup-pagination-issue/1076/5 "2020-09-23T10:27:40Z")

</div>

Thanks to your advice, I manage to make it works!

Thank you very much!
