# go-resty/resty

Simple HTTP, REST, and SSE client library for Go

Repository: https://github.com/go-resty/resty
Canonical: https://ross.abutalabs.com/products/resty
Homepage: https://resty.dev
Language: Go
License: MIT
License Family: permissive
Topics: golang, go, go-resty, http-client, rest-client, golang-library, middleware, backoff, srv-record, retry, redirects, hacktoberfest, circuit-breaker, curl-command, digest-authentication, go-library, http-trace, load-balancer, service-discovery, sse-client
Last push: 2026-07-26T00:45:12+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 87, longevity 100
- inputs: {"age_days": 4023, "days_push": 39, "days_rel": 86, "gap_med": 11, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11767, forks 799 (observed 2026-08-28T04:10:49.733705+00:00)

## What it is
Resty is a simple HTTP, REST, and SSE client library for Go with a fluent API. It provides middleware, retries with backoff, circuit breaking, redirects, digest authentication, HTTP tracing, and curl command generation.

## Use cases
- make HTTP requests in Go
- call REST APIs from a Go application
- consume server-sent events (SSE) in Go
- retry failed HTTP requests with exponential backoff
- add middleware to HTTP requests in Go
- generate curl commands from requests
- authenticate with digest auth in Go

## When to choose
- you want a friendlier, higher-level HTTP client than net/http in Go
- you need built-in retries, backoff, and circuit breaking
- you need SSE client support
- you want request/response middleware and tracing

## When to avoid
- you only need basic requests and prefer the standard library net/http
- you need a full gRPC or GraphQL client
- you are not working in Go

## Facets
- artifact type: library
- maturity: active
- function: http-client, middleware, caching
- domain: web-development, backend, apis, developer-tools
- platform: go, cross-platform
- tags: rest-client, sse-client, http, retry, circuit-breaker, backoff, digest-authentication, curl-generation, service-discovery, golang-library

## Member repositories
- go-resty/resty (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:49.733705+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-29T17:15:20.437215+00:00, confidence not recorded.
  - readme: https://github.com/go-resty/resty (fetched 2026-08-28T04:10:49.733705+00:00, sha 1397dff8a397)
- Data as of 2026-08-30T08:39:29.467469+00:00.
