# Need help with sending req to API mutliple times

**URL:** <https://community.make.com/t/need-help-with-sending-req-to-api-mutliple-times/20355>\
**Category:** Questions\
**Tags:** make-api, http, google-sheets, api, connections\
**Created:** [November 27, 2023, 4:04am UTC](https://community.make.com/t/need-help-with-sending-req-to-api-mutliple-times/20355 "2023-11-27T04:04:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![itsmeayyub](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/itsmeayyub/32/19848_2.png) [@itsmeayyub](https://community.make.com/u/itsmeayyub)\
**Post date:** [November 27, 2023, 4:04am UTC](https://community.make.com/t/need-help-with-sending-req-to-api-mutliple-times/20355/1 "2023-11-27T04:04:19Z")

</div>

So I’m using HTTP to get data from API.

I have 300 accounts in that API. The API limit is 100 at a time.

**This is my scenario:**

HTTP (Get data from API) \> Paste the data into google sheet.

I’m looking for a thing, after google sheet - it will send req to API again until all the data is fetched/written in google sheet.

What’s the best way to do it?

I’m using smartlead API to get my account data.

Check API documentation [here](https://api.smartlead.ai/reference/fetch-all-email-accounts-associated-to-a-user)  
Check API Limit [here](https://api.smartlead.ai/reference/rate-limits)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/2/02ecfabd25188374ebbac7e3402e9c930fd45875.png)

This is what it looks like at the moment. I’m doing each req with a 100 limit.

Right now I have done a total of 400, but in the future, it might be 1000 data I need.

I need the dynamic lopping mechanism if we can do it.

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [November 27, 2023, 5:00am UTC](https://community.make.com/t/need-help-with-sending-req-to-api-mutliple-times/20355/3 "2023-11-27T05:00:57Z")

</div>

You can use a repeater to repeat the HTTP module 3 times:

 ![Screenshot_2023-11-27_121146](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/6/16c5cce7a656a536f16545c6b406b27a695a5f2f.png)

### Start from 0, and increment by 100

 ![Screenshot_2023-11-27_121156](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/7/e7dac76c591df364402f2ea9a8172eccc2bb33bb.png)

### In the HTTP module, your `offset` parameter is set to the repeater value.

 ![Screenshot_2023-11-27_121143](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/4/24a78e2072375bb656e058f35187d1954bf03602.png)

## The repeater goes here

 ![02ecfabd25188374ebbac7e3402e9c930fd45875](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/28be65cb13d482537eed619c06ecdcb294c04db2.png)

You can delete the additional routes.

---

<div class="post-metadata">

**Author:** ![itsmeayyub](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/itsmeayyub/32/19848_2.png) [@itsmeayyub](https://community.make.com/u/itsmeayyub)\
**Post date:** [November 27, 2023, 5:04am UTC](https://community.make.com/t/need-help-with-sending-req-to-api-mutliple-times/20355/4 "2023-11-27T05:04:20Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/c/7cf48b13d0c67f1232da5a4b71bac2a280fc8e9c.png)

Should I remove the offset and limit from HTTP req?

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [November 27, 2023, 5:04am UTC](https://community.make.com/t/need-help-with-sending-req-to-api-mutliple-times/20355/5 "2023-11-27T05:04:46Z")

</div>

> [@itsmeayyub](#):
>
> Should I remove the offset and limit from HTTP req?

No, see my third screenshot.

---

<div class="post-metadata">

**Author:** ![itsmeayyub](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/itsmeayyub/32/19848_2.png) [@itsmeayyub](https://community.make.com/u/itsmeayyub)\
**Post date:** [November 27, 2023, 5:09am UTC](https://community.make.com/t/need-help-with-sending-req-to-api-mutliple-times/20355/6 "2023-11-27T05:09:32Z")

</div>

I have been trying to figure this out for the last 3 days.

You’re a life saver brother @samliew

I know that you have mentioned learning [make.com](http://make.com) from [make.com](http://make.com) academy.

I’m just curious where did you learn [make.com](http://make.com) and how much exp you?

The reason I asked cuz I’m impressed by your answer.

Once again thank you so much 🙏🙏

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [November 27, 2023, 5:14am UTC](https://community.make.com/t/need-help-with-sending-req-to-api-mutliple-times/20355/7 "2023-11-27T05:14:19Z")

</div>

No problem, glad I could help!

In future, please create a new thread for each question. This makes it easier for others with the same problem to search for the answer. Thank you for your cooperation!

The [Make Community guidelines](https://community.make.com/t/make-community-the-ultimate-topic/11682) encourages users to try to **mark helpful replies as solutions** to help keep the Community organized.

This marks the topic as solved, so that:

- others can _save time_ when catching up with the latest activity here, and
- allows others to _quickly jump to the solution_ if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:  
 ![Screenshot_2023-10-04_161049](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/d/5d9b26fbef0fd7385a34084f61cd5b9165786f42.png)

> [@itsmeayyub](#):
>
> I’m just curious where did you learn make.com and how much exp you?

I learnt everything about Make from the [Make Help Center](https://www.make.com/en/help). I also did the tutorials in the [Make Academy](https://academy.make.com), and completed the [Make Partner Training](https://partnertraining.make.com).

I just got started with Make in August this year – you just gotta **set aside some time to learn** all there is from the links above!

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [December 11, 2023, 6:08am UTC](https://community.make.com/t/need-help-with-sending-req-to-api-mutliple-times/20355/8 "2023-12-11T06:08:23Z")

</div>


