This is a basic demonstration of how we can rate the limit asp.net core API
AspNetCoreRateLimit is an ASP.NET Core rate limiting solution designed to control the rate of requests that clients can make to a Web API or MVC app based on IP address or client ID [ https://www.nuget.org/packages/AspNetCoreRateLimit ]
[ https://www.nuget.org/packages/AspNetCoreRateLimit.Redis ]