# HTTParty

Ruby HTTP client library that wraps web requests in class methods and a mixin for building API client classes.


Source: https://findsoftware.frbit.cloud/httparty/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/jnunemaker/httparty
- docs: https://github.com/jnunemaker/httparty/tree/main/docs
- forum: https://github.com/jnunemaker/httparty/discussions

### Identity

- status: active
- maintainer: John Nunemaker
- maintainerType: individual
- parent: unknown
- firstRelease: 2009
- hqCountry: unknown

### Kind

- category: library
- hosting: ruby
- language: ruby
- runtime: ruby
- runtimeMin: ruby 2.7
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: gem

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 0
- latestReleaseDate: 2026-09-30

### Adoption

- githubStargazers: 5900
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 210
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/jnunemaker/httparty (read 2026-11-16)
- urls: https://raw.githubusercontent.com/jnunemaker/httparty/main/README.md (read 2026-11-16)
- category: https://github.com/jnunemaker/httparty/blob/v0.24.3/httparty.gemspec (read 2026-11-16)
- installMethod: https://raw.githubusercontent.com/jnunemaker/httparty/main/README.md (read 2026-11-16)
- language: https://api.github.com/repos/jnunemaker/httparty (read 2026-11-16)
- runtime: https://raw.githubusercontent.com/jnunemaker/httparty/main/README.md (read 2026-11-16)
- runtimeMin: https://github.com/jnunemaker/httparty/blob/v0.24.3/httparty.gemspec (read 2026-11-16)
- license: https://github.com/jnunemaker/httparty/blob/v0.24.3/httparty.gemspec (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/jnunemaker/httparty/main/MIT-LICENSE (read 2026-11-16)
- currentMajor: https://api.github.com/repos/jnunemaker/httparty/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/jnunemaker/httparty/releases/latest (read 2026-11-16)
- firstRelease: https://rubygems.org/api/v1/versions/httparty.json (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/jnunemaker/httparty (read 2026-11-16)
- contributors: https://api.github.com/repos/jnunemaker/httparty/contributors (read 2026-11-16)

## Notes

HTTParty is a Ruby library for sending HTTP requests and reading their responses. Code calls class methods such as `HTTParty.get`, or includes the HTTParty module in its own class and sets a base URI, so that the class's methods wrap one web API. A response exposes the body, status code, message and headers, and a JSON response is parsed into Ruby hashes and arrays unless the format option suppresses it.

The gem also ships an `httparty` command-line executable that prints a response for inspection and can format it as XML or JSON.

## Worth knowing

When a request sets its own Accept-Encoding header, HTTParty decompresses Brotli, LZW and Zstandard responses only if a separate gem is loaded. The [docs](https://github.com/jnunemaker/httparty/tree/main/docs) name each gem.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
