Ruby Grape info photo

Ruby Grape

An opinionated framework for creating REST-like APIs in Ruby.

Help Twitter GitHub

Build APIs with Grape

Grape is a REST-like API framework for Ruby. Build Rack applications or mount an API alongside Rails and other frameworks, with a DSL for routing, parameters, validation, versioning, and content negotiation.

Latest Releases

Stable releases verified against RubyGems on October 28, 2026:

Release line Latest version Minimum Ruby Documentation
Current: 4.x 4.0.1 3.3 Released README
Previous: 3.x 3.3.5 3.3 Released README
Legacy: 2.x 2.4.0 2.7 Released README

Start new applications with the current release. Previous and legacy versions are listed for existing applications, not as a promise of ongoing support. Consult the released README and upgrade guide for compatibility and breaking changes; the default branch can document unreleased work.

bundle add grape --version '~> 4.0'

Explore the Ecosystem

Get Help and Contribute

Use the Grape issue tracker for questions and bug reports. For an extension or example, open an issue in its own repository. Contributions are welcome; see Grape’s contribution guide and our code of conduct.