# stefanprodan/WebApiThrottle

ASP.NET Web API rate limiter for IIS and Owin hosting

Repository: https://github.com/stefanprodan/WebApiThrottle
Canonical: https://ross.abutalabs.com/products/webapithrottle
Language: C#
License: MIT
License Family: permissive
Topics: rate-limiting, owin-middleware
Archived: true
Last push: 2021-10-01T14:15:29+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4652, "days_push": 1797, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1272, forks 266 (observed 2026-08-28T04:04:12.175986+00:00)

## What it is
A rate-limiting library for ASP.NET Web API providing a throttling handler, OWIN middleware, and action filter. It controls request rates per IP address, client API key, and route with configurable per-second to per-week limits.

## Use cases
- rate limit API requests by client IP
- throttle requests per API key
- limit calls per endpoint route
- add OWIN middleware throttling to self-hosted Web API
- set per-second, per-minute, hourly and daily request quotas
- block abusive API clients in IIS-hosted services

## When to choose
- you maintain a classic ASP.NET Web API (not Core) app on IIS or OWIN
- you need IP, client-key, or route-scoped throttling with multiple time windows
- you want a simple NuGet package with cache-based counter storage

## When to avoid
- you are building an ASP.NET Core application - use AspNetCoreRateLimit instead
- you need distributed rate limiting across multiple servers with a shared store like Redis
- you need a modern, actively developed rate-limiting solution

## Facets
- artifact type: library
- maturity: maintenance
- function: rate-limiting, middleware, web-framework
- domain: web-development, backend, apis, security
- platform: dotnet, windows, self-hosted
- tags: aspnet-web-api, owin, iis, throttling, nuget, csharp, web-server

## Member repositories
- stefanprodan/WebApiThrottle (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:12.175986+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:03:18.899575+00:00, confidence not recorded.
  - readme: https://github.com/stefanprodan/WebApiThrottle (fetched 2026-08-28T04:04:12.175986+00:00, sha 412a2c22a106)
- Data as of 2026-08-30T08:39:29.467469+00:00.
