Ruby API Builder

Open-source Ruby projects categorized as API Builder

Top 23 Ruby API Builder Projects

  • GitHub repo Grape

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

    Project mention: 26 most popular Ruby/Rails repositories on GitHub in July-August 2020 | | 2020-09-05

    Grape is a REST-like API framework for Ruby. It’s designed to run on Rack or complement existing web application frameworks such as Rails and Sinatra by providing a simple DSL to easily develop RESTful APIs. 9,200 stars by now

  • GitHub repo Rails::API

    Rails for API only applications

    Project mention: Using Rails as an API Only | | 2021-02-27

    You can use these flags to customize your rails app to you liking and needs for your particular app. Checkout these resources for more info: Rail new help output Rails-api Guides

  • GitHub repo Fast JSON API

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

    Project mention: REST API - Modern Rails JSON Serializers - Which Ones To Use? | | 2021-02-28

    After googling and reading some articles, I found that there are a lot of blogs related to Fast JSON API which is now deprecated and kind of replaced by JSON:API Serializer. These gems are following JSON:API specification and force our API response to meet this specification standard.

  • GitHub repo ActiveModel::Serializers

    ActiveModel::Serializer implementation and Rails hooks

    Project mention: REST API - Modern Rails JSON Serializers - Which Ones To Use? | | 2021-02-28

    On the other hand, we have Active Model Serializers. This gem is also deprecated but has another stable version 0.10. I also found Blueprinter gem. I've never used it before and don't know its limitations.

  • GitHub repo graphql

    Ruby implementation of GraphQL

    Project mention: How to properly update model using graphql-ruby? | | 2021-03-31

    I'm working on a side project to learn implementation of GraphQL into a Rails 6 app. To do this, I'm using the graphql-ruby gem.

  • GitHub repo jbuilder

    Jbuilder: generate JSON objects with a Builder-style DSL

  • GitHub repo rabl

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

  • GitHub repo JSONAPI::Resources

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

    Project mention: GraphQL or REST? | | 2021-04-12

    REST with &

  • GitHub repo 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.

  • GitHub repo Roar

    Parse and render REST API documents using representers.

  • GitHub repo Jb

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

    Project mention: Choosing a Rails JSON serializer for your API in 2021 | | 2021-02-05
  • GitHub repo versionist

    A plugin for versioning Rails based RESTful APIs.

  • GitHub repo Pliny

    An opinionated toolkit for writing excellent APIs in Ruby.

  • GitHub repo Blueprinter

    Simple, Fast, and Declarative Serialization Library for Ruby

    Project mention: What are your thoughts on the jsonapi-resources gem? | | 2021-03-11

    I’m find the json-api standard to be too “full” personally and even when I’m implementing a consumer I’ve never used most of the “features” of it on the app side. For serializing I personally enjoy Blueprinter ( which lets you define your own api schema very easily and quickly without getting bogged down.

  • GitHub repo Version Cake

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

  • GitHub repo Blanket

    A dead simple API wrapper (by inf0rmer)

  • GitHub repo Praxis

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

  • GitHub repo api_struct

    API wrapper builder with response serialization

  • GitHub repo jsonapi-rb

    Efficiently produce and consume JSON API documents.

  • GitHub repo Crêpe

    The thin API stack.

  • GitHub repo Pragma

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

  • GitHub repo Jsonite

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

  • GitHub repo json-serializer

    Customize JSON ouput through serializer objects

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 2021-04-12.


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

Project Stars
1 Grape 9,293
2 Rails::API 5,201
3 Fast JSON API 5,155
4 ActiveModel::Serializers 5,083
5 graphql 4,666
6 jbuilder 3,896
7 rabl 3,611
8 JSONAPI::Resources 2,201
9 Her 1,940
10 Roar 1,808
11 Jb 1,078
12 versionist 953
13 Pliny 751
14 Blueprinter 633
15 Version Cake 625
16 Blanket 463
17 Praxis 298
18 api_struct 225
19 jsonapi-rb 220
20 Crêpe 120
21 Pragma 94
22 Jsonite 28
23 json-serializer 13