Ruby API

Open-source Ruby projects categorized as API

Top 23 Ruby API Projects

  1. Spree Commerce

    A headless open source e-commerce platform for global brands

    Project mention: Spree: Open-source eCommerce platform Built using Ruby on Rails | news.ycombinator.com | 2026-01-27
  2. SaaSHub

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

    SaaSHub logo
  3. Grape

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

  4. Hanami

    A flexible framework for maintainable Ruby apps

    Project mention: Mruby: Ruby for Embedded Systems | news.ycombinator.com | 2025-12-21

    Hanami remains a bright spark as an alternative growing Ruby app framework to Rails. The project is under active development, I’ve met the core dev and they are lovely and much more humble than DHH and the project aims to stick much closer to the Ruby ways of doing things as opposed to the rails way.

    Sure the project just can’t be as mature as Rails but it deserves a look and we need to get behind projects like this if we do indeed want to see Rails alternatives flourish and grow.

    https://hanamirb.org/

  5. flipper

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

    Project mention: Cloudflare Flagship | news.ycombinator.com | 2026-05-26
  6. Devise Token Auth

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

  7. tesla-api

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

  8. authentication-zero

    An authentication system generator for Rails applications.

  9. simple_token_authentication

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

  10. rspec_api_documentation

    Automatically generate API documentation from RSpec

  11. grape-swagger

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

  12. Spyke

    Interact with REST services in an ActiveRecord-like manner

  13. reality

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

  14. grape-entity

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

  15. Version Cake

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

  16. rack-app

    minimalist framework for building rack applications

  17. api_on_rails

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

  18. diplomat

    A HTTP Ruby API for Consul (by WeAreFarmGeek)

  19. hanami-api

    Minimal, lightweight, fastest Ruby framework for HTTP APIs.

  20. Flexirest

    Flexirest - The really flexible REST API client for Ruby

  21. api_guard

    JWT authentication solution for Rails APIs

  22. jsonapi.rb

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

  23. hanami-action

    Complete, fast and testable actions for Rack and Hanami

  24. api_struct

    API wrapper builder with response serialization

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).

Ruby API discussion

Log in or Post with

Ruby API related posts

  • Show HN: I made a Uniswap v3 Hedge Rebalancer that manages shorts on Hyperliquid

    2 projects | news.ycombinator.com | 24 Feb 2026
  • Show HN: Lanet: A tiny tool for secure and easy P2P communication on LANs

    1 project | news.ycombinator.com | 19 Oct 2025
  • Documenting Your Rails API Shouldn’t Be Painful (Rails + OasRails)

    1 project | dev.to | 3 Sep 2025
  • A Deep Dive into OpenAPI

    3 projects | news.ycombinator.com | 19 Jun 2025
  • Show HN: OasRails – AutoGenerate Interactive API Docs in Rails with Yard and OAS

    1 project | news.ycombinator.com | 29 Apr 2025
  • Building a Ruby Gem with CLI and Networking Capabilities: The Lanet Story

    1 project | dev.to | 7 Mar 2025
  • Job Adventures - PDF generation | Jun 2024

    3 projects | dev.to | 23 Jun 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 8 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 Spree Commerce 15,459
2 Grape 9,985
3 Hanami 6,371
4 flipper 3,950
5 Devise Token Auth 3,568
6 tesla-api 2,057
7 authentication-zero 1,872
8 simple_token_authentication 1,503
9 rspec_api_documentation 1,452
10 grape-swagger 1,099
11 Spyke 904
12 reality 818
13 grape-entity 731
14 Version Cake 652
15 rack-app 410
16 api_on_rails 384
17 diplomat 372
18 hanami-api 365
19 Flexirest 336
20 api_guard 279
21 jsonapi.rb 275
22 hanami-action 243
23 api_struct 235

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com