Open-source Go projects categorized as API

Top 23 Go API Projects

  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: The best Go framework: no framework? (Three Dots Tech) | reddit.com/r/golang | 2022-11-29

    I am learning Go. I find confusing this discussion about web frameworks deviation from the standard library, however I've read about chi library as a good alternative, what do you think?

  • up

    Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS.

  • Zigi

    Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.

  • GoSwagger

    Swagger 2.0 implementation for go

    Project mention: OpenAPI Specification: The Complete Guide | dev.to | 2022-05-18

    go-swagger brings to the go community a complete suite of fully-featured, high-performance, API components to work with a Swagger API: - Github - Swagger 2.0 implementation for go

  • Gotify

    A simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui) (by gotify)

    Project mention: Email chest pain | reddit.com/r/linux | 2022-11-11
  • Tyk

    Tyk Open Source API Gateway written in Go, supporting REST, GraphQL, TCP and gRPC protocols

    Project mention: One-click trial on TYK API gateway with Tin | dev.to | 2021-12-20

    Traditional way to try an open-source project Tyk is an open source API gateway project. Organizations can control access to the gateway and protect the security of enterprises and organizations. To start with, I chose the traditional way, using docker-compose to install it, which requires the Git and Docker environment on the computer.

  • Ponzu

    Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.

  • qor

    QOR is a set of libraries written in Go that abstracts common features needed for business applications, CMSs, and E-commerce systems.

    Project mention: Django-like MVT framework for Golang? | reddit.com/r/golang | 2022-05-08
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • goa

    Design-based APIs and microservices in Go

    Project mention: Best framework for creating rest API app | reddit.com/r/golang | 2022-10-26

    Checkout GOA!

  • gotenberg

    A Docker-powered stateless API for PDF files.

    Project mention: How do "modules" dynamic loading is working in GO ? | reddit.com/r/golang | 2022-11-06

    You have edited your question since I posted my reply, so here is more. They have a custom implementation of being able to register a "Module" here: https://github.com/gotenberg/gotenberg/blob/main/pkg/gotenberg/modules.go#L93 And they import their standard modules just for the side effect of it calling their init() function which calls the module registration: https://github.com/gotenberg/gotenberg/blob/main/pkg/standard/imports.go And https://github.com/gotenberg/gotenberg/blob/main/pkg/modules/api/api.go#L25

  • encore

    Encore is the Backend Development Engine helping developers escape the maze of complexity.

    Project mention: Designing a config API for microservices applications built using Go | dev.to | 2022-11-10

    We launched the initial version of config a couple of weeks ago in version 1.9.0. However, this is only the start of our journey of improving the state of the configuration of backend developers. As discussed above one of the key features we want to add next is the ability to allow applications to have parts of their configuration updated in realtime on a time-limited basis for dealing with incidents. This means adding a new API to give you the ability to get a channel from each wrapper to watch for changes in the value, allowing your application to react to configuration changes, such as resetting rate limiters to the new rates.

  • vulcain

    Fast and idiomatic client-driven REST APIs.

    Project mention: Removing HTTP/2 Server Push from Chrome | news.ycombinator.com | 2022-08-19

    Funny thing is that I was just looking into how this software could work with APIs and now it seems like it's dead in the water if the support is removed from the browser. Sure, it's a progressive enhancement and you wouldn't break anything, but you lose all the benefit as far as I can tell and you _are_ adding an extra layer.


  • Mercure

    An open, easy, fast, reliable and battery-efficient solution for real-time communications

    Project mention: Golang updating the front-end with almost real-time events from the backend server | reddit.com/r/golang | 2022-08-11

    You can use Mercure https://mercure.rocks/ , Mercure uses http2.

  • goku_lite

    A Powerful HTTP API Gateway in pure golang!Goku API Gateway (中文名:悟空 API 网关)是一个基于 Golang开发的微服务网关,能够实现高性能 HTTP API 转发、服务编排、多租户管理、API 访问权限控制等目的,拥有强大的自定义插件系统可以自行扩展,并且提供友好的图形化配置界面,能够快速帮助企业进行 API 服务治理、提高 API 服务的稳定性和安全性。

  • janus

    An API Gateway written in Go (by motiv-labs)

    Project mention: Tools for automation and daily tasks | reddit.com/r/automation | 2022-10-31

    https://github.com/nginx-proxy/acme-companion https://github.com/nginx-proxy/docker-gen https://github.com/projectdiscovery/dnsx https://github.com/projectdiscovery/httpx https://github.com/projectdiscovery/mapcidr https://github.com/debauchee/barrier https://github.com/stedolan/jq https://github.com/ddosify/ddosify https://github.com/kubernetes-sigs/kind https://github.com/mailcow/mailcow-dockerized https://github.com/motiv-labs/janus

  • golang-gin-realworld-example-app

    Exemplary real world application built with Golang + Gin

  • gock

    HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

    Project mention: What features would you consider missing/nice to haves for backend web development in Rust? | reddit.com/r/rust | 2022-11-04
  • kin-openapi

    OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)

    Project mention: OpenAPI Generator allows generation of API client libraries from OpenAPI Specs | news.ycombinator.com | 2022-10-15

    What is your language?

    I've found kin-openapi to be good for Go:


  • go-base

    Go RESTful API Boilerplate with JWT Authentication backed by PostgreSQL

    Project mention: Go-RN StarterKit: Crafting the idea | dev.to | 2022-06-15

    Go RESTful API Boilerplate by dhax https://github.com/dhax/go-base

  • hprose

    Hprose is a cross-language RPC. This project is Hprose for Golang.

  • Goyave

    🍐 Elegant Golang REST API Framework (v5 WIP)

    Project mention: Go stack for REST APIs? | reddit.com/r/golang | 2022-11-20

    Take a look at Goyave.

  • REST Layer

    REST Layer, Go (golang) REST API framework

  • keploy

    Testing for Developers. Toolkit that creates test-cases and data mocks from API calls, DB queries, etc.

    Project mention: Closer look at Keploy | dev.to | 2022-10-24

    Keploy Github

  • go-binance

    A Go SDK for Binance API

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

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

Go API related posts


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

Project Stars
1 chi 12,654
2 up 8,653
3 GoSwagger 8,159
4 Gotify 8,128
5 Tyk 7,915
6 Ponzu 5,490
7 qor 5,076
8 goa 4,941
9 gotenberg 4,241
10 encore 3,388
11 vulcain 3,325
12 Mercure 3,167
13 goku_lite 2,934
14 janus 2,476
15 golang-gin-realworld-example-app 2,160
16 gock 1,746
17 kin-openapi 1,647
18 go-base 1,240
19 hprose 1,221
20 Goyave 1,203
21 REST Layer 1,171
22 keploy 1,154
23 go-binance 1,093
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.