Use throttle middleware
Route::group(['middleware' => 'throttle:100,5'], function () {
//
});
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have an application where i am using data from a public API and sending those data to a telegram channel. That Public API has a restriction that only 100 API calls per 5 minute per IP. Now, my question is - How to count API calls my application is making to that API ? Is there any solution so i can count that my application is calling the API no. of times per minute.
Please or to participate in this conversation.