Ruby API

Open-source Ruby projects categorized as API

Top 23 Ruby API Projects

  • Spree Commerce

    A headless open source e-commerce platform for global brands

    Project mention: Ask HN: Suggestions about platform to develop a customizable B2B marketplace | | 2023-05-01
  • Grape

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

    Project mention: Web Frameworks actively maintained in 2023? | /r/ruby | 2023-09-18

    Grape (

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • Hanami

    The web, with simplicity.

    Project mention: Is Ruby a dying language? | /r/ruby | 2023-12-05

    No, it's just no longer over-hyped. Ruby is settling into being a mature production language, similar to Python, Java, .NET, C++, etc. As you can see from the RedMonk 2023 data Ruby is very much still alive with tons of repositories on GitHub. Besides Shopify, GitHub is another big Ruby/Rails shop. Also, besides Rails, there are other new and upcoming projects like Hanami, DragonRuby, and Ronin.

  • Devise Token Auth

    Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.

  • flipper

    🐬 Beautiful, performant feature flags for Ruby. (by flippercloud)

    Project mention: Feature flags in Rails: How to roll out and manage your features like a pro | | 2023-04-07

    That’s it! You now have a fully configured feature flagging system in your Rails app. Notice we didn’t cover some more advanced features that Flipper offers, including enabling features for a user group or individual users. For that, check out Flipper on Github. We also didn’t cover feature flagging frontend features in this post - if that becomes a requirement we could easily create an endpoint that uses the FeaturesRepo  and sends enabled features to the frontend to toggle. If you learned something new consider following me here - I’ll be putting out more content on Ruby on Rails and software development as I work on Preparing for a coding interview? Check out

  • tesla-api

    🚘 A Ruby gem and unofficial documentation of Tesla's JSON API for the Model S, 3, X, and Y.

    Project mention: AP04 (HW4) VIN Lookup - Part 2 | /r/TeslaModelY | 2023-06-07
  • DuckRails

    Development tool to mock API endpoints quickly and easily (docker image available)

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • simple_token_authentication

    Simple (and safe*) token authentication for Rails apps or API with Devise.

  • rspec_api_documentation

    Automatically generate API documentation from RSpec

  • grape-swagger

    Add OAPI/swagger v2.0 compliant documentation to your grape API

  • versionist

    A plugin for versioning Rails based RESTful APIs.

  • Spyke

    Interact with REST services in an ActiveRecord-like manner

  • reality

    Comprehensive data proxy to knowledge about real world (by molybdenum-99)

  • grape-entity

    An API focused facade that sits on top of an object model.

  • Version Cake

    :cake: Version Cake is an unobtrusive way to version APIs in your Rails or Rack apps

  • rack-app

    minimalist framework for building rack applications

  • api_on_rails

    Learn best practices to build an API using Ruby on Rails 5/6

    Project mention: Learning rails just to build API's? | /r/rails | 2023-05-24

    Check out Alexandre Rousseau's API On Rails. You can buy the PDF/EPUB on Leanpub, or, if you are not afraid to generate his book yourself for free, visit

  • api

    Minimal, lightweight, fastest Ruby framework for HTTP APIs. (by hanami)

    Project mention: Does Roda have legs? | /r/ruby | 2023-01-24
  • Flexirest

    Flexirest - The really flexible REST API client for Ruby

    Project mention: Best Ruby HTTP Clients in 2023 | /r/ruby | 2023-04-05

    Shame wasn’t included 😢

  • api_guard

    JWT authentication solution for Rails APIs

  • controller

    Complete, fast and testable actions for Rack and Hanami (by hanami)

  • jsonapi.rb

    Lightweight, simple and maintained JSON:API support for your next Ruby HTTP API.

  • api_struct

    API wrapper builder with response serialization

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-05.

Ruby API related posts


What are some of the best open-source API projects in Ruby? This list will help you:

Project Stars
1 Spree Commerce 12,473
2 Grape 9,793
3 Hanami 6,133
4 Devise Token Auth 3,485
5 flipper 3,445
6 tesla-api 1,938
7 DuckRails 1,722
8 simple_token_authentication 1,515
9 rspec_api_documentation 1,437
10 grape-swagger 1,073
11 versionist 968
12 Spyke 869
13 reality 810
14 grape-entity 716
15 Version Cake 653
16 rack-app 406
17 api_on_rails 358
18 api 342
19 Flexirest 297
20 api_guard 273
21 controller 245
22 jsonapi.rb 241
23 api_struct 239
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives