Ross ROSS = Recommend OSS · open-source software intelligence for agents

reactiveui/refit

The automatic type-safe REST library for .NET. Refit turns a REST API into a C# interface and generates the HttpClient implementation, with support for HttpClientFactory, pluggable serializers and a testing package. observed · 2026-10-17

github.com/reactiveui/refit · homepage · C# · NOASSERTION (other) observed · 2026-10-17

Health v2 · maintenance only

99/100

  • Activity 100
  • Release rhythm 96
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 5
  • age_days: 4838
  • days_rel: 24
  • days_push: 4
  • n_releases_24m: 22

Full methodology

Adoption not part of the score

9575 stars · 784 forks observed · 2026-10-17

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Refit is a type-safe REST client library for .NET that turns REST APIs into live C# interfaces, generating HttpClient-based implementations automatically. Inspired by Square's Retrofit, it supports JSON/XML serialization, HttpClientFactory integration, and declarative client testing.

Use cases

  • call a REST API from C# with type-safe interfaces
  • avoid writing boilerplate HttpClient code in .NET
  • integrate API clients with HttpClientFactory and dependency injection
  • consume JSON or XML web services in Xamarin or .NET MAUI apps
  • unit test generated API clients with stubbed responses

When to choose

  • you want Retrofit-style declarative REST clients in .NET
  • you prefer interface-based API definitions over manual HttpClient calls
  • you need a mature, widely used HTTP client library for .NET Core, Xamarin, or modern .NET

When to avoid

  • you need fine-grained manual control over every HTTP request
  • your project is not on the .NET platform
  • you need GraphQL or gRPC rather than REST

Facets

library · maturity active

http-client serialization api-framework web-development apis developer-tools cross-platform dotnet cross-platform rest-client retrofit-inspired type-safe httpclientfactory xamarin source-generation c-sharp mobile

2 sources

Member repositories

RepositoryRoleHealth v2
reactiveui/refitmain99

For agents

markdown · JSON · MCP: product_card(name="reactiveui/refit")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem