# Grape

> REST-like API framework for Ruby

Source: https://talira.ai/catalog/grape-2x0tspye
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Ruby Grape](https://talira.ai/orgs/ruby-grape.md)

Grape is a REST-like API framework for Ruby that runs on Rack or alongside [Ruby on Rails](https://talira.ai/catalog/ruby-on-rails-xkdcpj5k.md) and [Sinatra](https://talira.ai/catalog/sinatra-wdjbgp5t.md), with a simple DSL for building RESTful APIs. It has built-in support for common conventions, including multiple formats, subdomain or prefix restriction, content negotiation and versioning.

## Links

- Website: https://www.ruby-grape.org/
- GitHub: https://github.com/ruby-grape/grape

## Problems it solves

- build a REST API in Ruby without full Rails
- add a versioned JSON API to a Rails app
- define API endpoints with a Ruby DSL

## Features

- DSL for RESTful APIs
- runs on Rack, mounts in Rails or Sinatra
- multiple formats and content negotiation
- API versioning

## Trust

Overall: 0.71 out of 1.
Signals: maintenance 1.00, adoption 0.80, momentum 0.52, community 1.00, backing 0.30, extensibility 0.00.

- last commit today
- 222 commits in the last 90 days
- 10.0k GitHub stars
- 483 contributors
- accepts sponsorship (Github, Github, Tidelift)
- backed by Ruby Grape

## Related

- Works with [Ruby on Rails](https://talira.ai/catalog/ruby-on-rails-xkdcpj5k.md)
- Works with [Sinatra](https://talira.ai/catalog/sinatra-wdjbgp5t.md)

## Alternatives

- [Snails](https://talira.ai/catalog/snails-5pmz6hw5.md): Rails-like framework for API-only Ruby apps that compiles to one native binary
- [Sinatra](https://talira.ai/catalog/sinatra-wdjbgp5t.md): A DSL for quickly creating web applications in Ruby
- [Hanami](https://talira.ai/catalog/hanami-ed17yh59.md): Ruby apps that grow with you

## Sources

[^1]: https://github.com/ruby-grape/grape/blob/master/LICENSE (checked 29 Nov 2026)
