Skip to main content
G

Grape

REST-like API framework for Ruby

An opinionated framework for creating REST-like APIs in Ruby. Designed to run on Rack or complement existing frameworks like Rails and Sinatra.

10K
GitHub Stars
none
TypeScript
medium
Learning Curve
4.1
DX Score

Pricing

Model
free
Free Tier
MIT licensed, fully open source

Features

  • REST-like API DSL
  • Content negotiation
  • API versioning
  • Parameter validation
  • Authentication helpers
  • Exception handling
  • Custom middleware
  • CORS support
  • API documentation

Pros

  • + Great for APIs
  • + Works with Rails
  • + Clean DSL
  • + Good validation
  • + Versioning built-in

Cons

  • - API-only
  • - Adds complexity to Rails
  • - Learning curve
  • - Performance overhead

Best For

startup enterprise
backend api rest rails rack