# libcpr/cpr

C++ Requests: Curl for People, a spiritual port of Python Requests.

Repository: https://github.com/libcpr/cpr
Canonical: https://ross.abutalabs.com/products/cpr
Homepage: https://docs.libcpr.dev/
Language: C++
License: NOASSERTION
License Family: other
Topics: c-plus-plus, libcurl, http, requests, hacktoberfest, cpp, library
Last push: 2026-07-26T06:25:04+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 59, longevity 100
- inputs: {"age_days": 4174, "days_push": 38, "days_rel": 199, "gap_med": 34.5, "n_releases_24m": 11}
- 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 7417, forks 1036 (observed 2026-08-28T04:09:59.762813+00:00)

## What it is
cpr (C++ Requests) is a modern C++ HTTP client library that wraps libcurl with a simple, Python Requests-inspired API. It supports GET/POST/PUT/DELETE, authentication, cookies, proxies, timeouts, asynchronous requests, and server-sent events.

## Use cases
- make http requests from c++
- call rest apis in c++ without raw libcurl
- send post requests with form data in c++
- download files over http in c++
- consume server-sent events in c++
- add basic or digest authentication to http calls in c++

## When to choose
- you want a clean, idiomatic C++ API over libcurl instead of its error-prone C interface
- you need common HTTP features like auth, proxies, cookies, and async requests with minimal boilerplate
- your project uses C++17 and you want a well-maintained wrapper

## When to avoid
- you need fine-grained control over every libcurl option
- you are not using C++ or need a header-only zero-dependency solution
- you need HTTP/2 or HTTP/3-specific features not exposed by the wrapper

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping
- domain: web-development, developer-tools, apis
- platform: cpp, cross-platform, windows
- tags: libcurl-wrapper, http-requests, rest-client, server-sent-events, async-http, linux, macos

## Member repositories
- libcpr/cpr (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:59.762813+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:37:46.543325+00:00, confidence not recorded.
  - readme: https://github.com/libcpr/cpr (fetched 2026-08-28T04:09:59.762813+00:00, sha 80ba67fbc456)
  - homepage: https://docs.libcpr.dev/ (fetched 2026-08-29T08:33:17.860226+00:00, sha 66ac02b01fa3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
