# rstudio/plumber

Turn your R code into a web API.

Repository: https://github.com/rstudio/plumber
Canonical: https://ross.abutalabs.com/products/rstudio-plumber
Homepage: https://www.rplumber.io
Language: R
License: NOASSERTION
License Family: other
Topics: plumber, r, api, api-server
Last push: 2026-02-09T15:10:26+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 66, release rhythm 57, longevity 100
- inputs: {"age_days": 4108, "days_push": 205, "days_rel": 205, "gap_med": 32.5, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1438, forks 259 (observed 2026-08-28T04:04:43.947599+00:00)

## What it is
Plumber is an R package that converts annotated R functions into RESTful web API endpoints using roxygen2-style comments. It handles routing, request parsing, response serialization, and auto-generated Swagger/OpenAPI documentation.

## Use cases
- expose R functions as a REST API
- serve machine learning model predictions over HTTP
- turn an R script into a web service
- build an API around R data analysis
- serve plots generated in R as images via HTTP
- deploy R code as an endpoint for other applications to call

## When to avoid
- you need a high-performance, general-purpose web framework outside R
- you're building a full web application with frontend and sessions
- your team doesn't use R
- you need async or streaming-first HTTP features at large scale

## Facets
- artifact type: library
- maturity: active
- function: api-framework, http-server, web-framework, serialization, middleware
- domain: web-development, backend, apis, data-science, developer-tools
- platform: cross-platform
- tags: r-package, api-generator, annotation-based, rest-api, swagger, cran, r, web-server

## Member repositories
- rstudio/plumber (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.947599+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-30T04:36:41.607051+00:00, confidence not recorded.
  - readme: https://github.com/rstudio/plumber (fetched 2026-08-28T04:04:43.947599+00:00, sha 649314e205c5)
  - homepage: https://www.rplumber.io (fetched 2026-08-29T11:47:20.400817+00:00, sha d1d8632acd6d)
  - site_page: https://www.rplumber.io/articles/quickstart.html (fetched 2026-08-29T11:47:20.403664+00:00, sha b5170edfec23)
  - site_page: https://www.rplumber.io/news/index.html (fetched 2026-08-29T11:47:20.405912+00:00, sha 9090bc787bda)
  - site_page: https://www.rplumber.io/authors.html (fetched 2026-08-29T11:47:20.408564+00:00, sha 3c5e42c76cc5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
