Ruby API Builder

Open-source Ruby projects categorized as API Builder

Top 23 Ruby API Builder Projects

  • 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 (

  • graphql

    Ruby implementation of GraphQL

    Project mention: Rails 7.1 Released | | 2023-10-05

    My memory is fuzzy, but...

    1. all data flow through the rails app (no pre-signed s3 upload or download links for direct uploading).

    2. no support for CDNs (I think newer rails versions added support)

    3. blobs and attachments were unnecessary abstractions.

    3a. Querying was annoying and easy to add n+1 queries.

    3b. Images are moderated and it was unclear where to put the moderation metadata (on blobs? attachments? create a new table? why so many tables?). Accessing the data was annoying (you need extra joins).

    4. GraphQL gem didn't support it:

  • PopRuby

    PopRuby: Clothing and Accessories for Ruby Developers. Fashion meets Ruby! Shop our fun Ruby-inspired apparel and accessories designed to celebrate the joy and diversity of the Ruby community.

  • ActiveModel::Serializers

    ActiveModel::Serializer implementation and Rails hooks

    Project mention: Recommended Controllers Serializer Gem? | /r/rubyonrails | 2023-06-18

    Hey folks, I've been using FastJsonapi::ObjectSerializer in past projects, but it is now deprecated and it's successor is "in maintenance mode! ". The og serializer had no release since 2015.

  • Rails::API

    Rails for API only applications

  • Fast JSON API

    No Longer Maintained - A lightning fast JSON:API serializer for Ruby Objects.

    Project mention: What professions use Ruby? | /r/ruby | 2023-04-16

    NASA uses Ruby on Rails ... Netflix originally had one of the best JSON API serializers (before changing maintainers).

  • jbuilder

    Jbuilder: generate JSON objects with a Builder-style DSL

    Project mention: Could not detect rake tasks | /r/rails | 2023-05-03

    # Use the Puma web server [] gem "puma", "~> 5.0" # Build JSON APIs with ease [] # gem "jbuilder" gem 'rack-cors' gem "devise" gem "jsonapi-serializer" gem 'devise-jwt' gem 'active_model_serializers' gem 'followability' gem 'dotenv-rails', groups: [:development, :test, :production] gem 'sprockets' # Use Redis adapter to run Action Cable in production # gem "redis", "~> 4.0" # Use Kredis to get higher-level data types in Redis [] # gem "kredis" # Use Active Model has_secure_password [] # gem "bcrypt", "~> 3.1.7" # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ] # Reduces boot times through caching; required in config/boot.rb gem "bootsnap", require: false # Use Active Storage variants [] # gem "image_processing", "~> 1.2" # Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible # gem "rack-cors" group :development, :test do # See gem "debug", platforms: %i[ mri mingw x64_mingw ] end group :development do gem "sqlite3", "~> 1.4" # Speed up commands on slow machines / big apps [] # gem "spring" end group :production do gem 'pg' end

  • rabl

    General ruby templating with json, bson, xml, plist and msgpack support

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • JSONAPI::Resources

    A resource-focused Rails library for developing JSON:API compliant servers.

  • Her

    Her is an ORM (Object Relational Mapper) that maps REST resources to Ruby objects. It is designed to build applications that are powered by a RESTful API instead of a database.

  • Roar

    Parse and render REST API documents using representers.

  • jsonapi-serializer

    A fast JSON:API serializer for Ruby (fork of Netflix/fast_jsonapi)

    Project mention: What JSON Serializers are you using with rails ? | /r/rails | 2023-11-29

    Hi guys, I know that Hotwire is the sh*t in rails nowadays, but if you were to build an API with rails, which serializer would you use ? I have my eyes on jsonapi-serializer with oj , but I am not sure if that is the best option nowadays. The jsonapi-serializer repo is a bit confusing, regarding which version should I use, same for ActiveModelSerializer to be honest.

  • Jb

    A simple and fast JSON API template engine for Ruby on Rails

  • Blueprinter

    Simple, Fast, and Declarative Serialization Library for Ruby

    Project mention: Recommended Controllers Serializer Gem? | /r/rubyonrails | 2023-06-18

    Blueprinter is something we use on a project, it's also having difficulty staying alive, but right now there is active development here, a fork from the original blueprinted gem.

  • versionist

    A plugin for versioning Rails based RESTful APIs.

  • Pliny

    An opinionated toolkit for writing excellent APIs in Ruby.

  • Version Cake

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

  • Blanket

    A dead simple API wrapper (by inf0rmer)

  • Praxis

    Praxis is a framework that focuses on both the design and implementation aspects of creating APIs.

  • api_struct

    API wrapper builder with response serialization

  • jsonapi-rb

    Efficiently produce and consume JSON API documents.

  • Crêpe

    🥞 The thin API stack. (by crepe)

  • Pragma

    An expressive, opinionated ecosystem for building beautiful RESTful APIs with Ruby. (by pragmarb)

  • Jsonite

    A tiny, HAL-compliant JSON presenter for your Ruby APIs.

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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-11-29.

Ruby API Builder related posts


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

Project Stars
1 Grape 9,816
2 graphql 5,318
3 ActiveModel::Serializers 5,306
4 Rails::API 5,176
5 Fast JSON API 5,079
6 jbuilder 4,286
7 rabl 3,660
8 JSONAPI::Resources 2,310
9 Her 2,040
10 Roar 1,845
11 jsonapi-serializer 1,354
12 Jb 1,257
13 Blueprinter 1,041
14 versionist 970
15 Pliny 795
16 Version Cake 653
17 Blanket 463
18 Praxis 300
19 api_struct 236
20 jsonapi-rb 234
21 Crêpe 127
22 Pragma 92
23 Jsonite 28
Learn 300+ open source libraries for free using AI.
LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!