You would need to throttle the requests on the server side using a timed cache of the username as it is the only data being passed. Then when the server receives the request, check the cache and either allow the process to continue or return a throttled response.
As you're doing Blazor development, I would look into using Asp.Net Core's
Rate limiting middleware in ASP.NET Core | Microsoft Learn[
^]