Kong/unirest-java
Unirest in Java: Simplified, lightweight HTTP client library. observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 94
- Release rhythm 94
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 20
- age_days: 5623
- days_rel: 41
- days_push: 36
- n_releases_24m: 12
Adoption not part of the score
2702 stars · 589 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Unirest is a lightweight, fluent HTTP client library for Java supporting HTTP/1 and HTTP/2, WebSockets, JSON mapping via Jackson or GSON, and easy request/response handling. It also ships a mocking library for testing HTTP interactions.
Use cases
- make simple HTTP requests from Java
- call REST APIs with a fluent client
- send multipart file uploads
- convert JSON responses into POJOs
- manipulate cookies and headers on requests
- mock HTTP responses in unit tests
- use WebSockets from Java
When to choose
- you want a simple, lightweight alternative to raw Apache HttpClient or OkHttp boilerplate
- you need fluent request building with path/query params, headers, and cookies
- you want built-in POJO serialization with Jackson or GSON
- you need HTTP mocking for tests in the same library
When to avoid
- you need reactive or async-first streaming HTTP (consider WebClient or Reactor Netty)
- you are on Java 8 or older (Unirest 4 requires Java 11+)
- you need a full-featured low-level client with fine-grained connection control
- you are on Android and want a client specifically optimized for mobile
Facets
library · maturity active
http-client serialization websocket mocking web-development developer-tools apis jvm cross-platform fluent-api http-requests jackson gson multipart rest-client
2 sources
- readme: https://github.com/Kong/unirest-java · fetched 2026-08-28 · a20ec83a7c76
- homepage: http://kong.github.io/unirest-java/ · fetched 2026-08-29 · 0488836f96f9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Kong/unirest-java | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="Kong/unirest-java")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem