Open-source Go projects categorized as API | Edit details

Top 23 Go API Projects

  • GitHub repo micro

    Micro is a distributed cloud operating system (by micro)

    Project mention: Next.js 12 | news.ycombinator.com | 2021-10-26
  • GitHub repo chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: 4 Things to Consider When Choosing a Go API Framework | dev.to | 2021-11-16

    Eli Bendersky has an excellent series where they walk you through building a REST API in Go by first starting with the standard library and then introducing a router such as gorilla or chi and finally switching over to using a complete web framework. This series shows some of the downsides of sticking with the standard library entirely and how extra libraries such as the two router packages above can be extremely helpful.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo up

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

    Project mention: Ask HN: Does anyone else find the AWS Lambda developer experience poor? | news.ycombinator.com | 2021-04-18

    I can also recommend serverless.com framework for local development and running lambdas offline.

    AWS provides a docker image for emulating DynamoDB which works great for local dev and will commonly be paired with lambdas.

    Another option I have used recently for implementing node web services is https://github.com/apex/up which also has a nice local dev experience.

  • GitHub repo GoSwagger

    Swagger 2.0 implementation for go

    Project mention: Looking for help with Azure Autorest | reddit.com/r/golang | 2021-10-04

    You may have better luck with go-swagger or OpenAPI Generator to generate Go code.

  • GitHub repo Tyk

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

    Project mention: TykTechnologies/tyk: Open source Enterprise API Gateway, supporting REST, GraphQL, TCP and gRPC protocols | reddit.com/r/k8s | 2021-11-05
  • GitHub repo Gotify

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

    Project mention: Sending mobile push notifications to yourself | news.ycombinator.com | 2021-11-25
  • GitHub repo 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.

    Project mention: To Drupal or not to Drupal… Putting my foot down in the Webform module's issue queue | reddit.com/r/drupal | 2021-04-26
  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo qor

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

  • GitHub repo goa

    Design-based APIs and microservices in Go

    Project mention: Can you recommend a good design tool for golang? | reddit.com/r/golang | 2021-08-05

    I looked for some cloud uml tools, goa.design Not sure currently, I haven't tried them yet. Want some recommendation for our agile dev team.

  • GitHub repo gotenberg

    A Docker-powered stateless API for PDF files.

    Project mention: Laravel development & production ready Docker build - help needed | reddit.com/r/laravel | 2021-11-11

    If you need it for PDF conversions, I suggest you take a bit larger container, but one that everyone else uses. Gotenberg is a popular project that has it's own API wrapper to provide access to libreoffice among others.

  • GitHub repo goku_lite

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

    Project mention: API Gateway | dev.to | 2021-10-16


  • GitHub repo Mercure

    Server-sent live updates: protocol and reference implementation

    Project mention: TCP or websockets for chat server | reddit.com/r/golang | 2021-11-25

    https://github.com/dunglas/mercure being a good example

  • GitHub repo encore

    The Backend Development Engine built for Go

    Project mention: Jolie, the service-oriented programming language | news.ycombinator.com | 2021-05-17

    Super interesting! We're doing something similar with Encore [1], but instead of building a whole new language we let you program using Go. Looking forward to see where this goes :)

    [1] https://github.com/encoredev/encore

  • GitHub repo golang-gin-realworld-example-app

    Exemplary real world application built with Golang + Gin

    Project mention: Can someone recommend me a Golang complete repo | reddit.com/r/golang | 2021-06-14
  • GitHub repo gock

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

    Project mention: Testing methods with HTTP calls? | reddit.com/r/golang | 2021-11-19

    h2non/gock and

  • GitHub repo hprose

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

  • GitHub repo REST Layer

    REST Layer, Go (golang) REST API framework

    Project mention: Coming from PHP, looking for Go equivalent of PHPLeague's Fractal | reddit.com/r/golang | 2021-11-11

    Sounds like you might be looking for this thing I just found: https://github.com/rs/rest-layer

  • GitHub repo kin-openapi

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

    Project mention: What are your favorite packages to use? | reddit.com/r/golang | 2021-08-15

    oklog/ulid to generate IDs. coreos/go-oidc for validating JWTs I get from auth. google/go-cmp for comparing structs in tests (unless the project is already using Testify). spf13/pflag because life's too short for Go's flag handling. getkin/kin-openapi for validating reqests/responses against my OpenAPI spec (in tests).

  • GitHub repo Goyave

    🍐 Elegant Golang REST API Framework

    Project mention: Noob here. Need recommendation for best REST API framework. | reddit.com/r/golang | 2021-07-19

    Hello, I am working on an opinionated REST API framework called Goyave. Check it out and PM me if you have any question.

  • GitHub repo drago

    ☁️ Securely connect anything with WireGuard® and manage all your networks from a single place.

    Project mention: Looking for a good guide for deploying WireGuard with a GUI | reddit.com/r/selfhosted | 2021-10-13

    Great list, I'd add Drago as well, though it may be for more advanced use.

  • GitHub repo go-binance

    A Go SDK for Binance API

    Project mention: Binance Trading Robot | reddit.com/r/golang | 2021-10-04
  • GitHub repo PassWall

    Passwall Server is the core backend infrastructure for Passwall platform

  • GitHub repo Gearbox

    Gearbox :gear: is a web framework written in Go with a focus on high performance

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

Go API related posts


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

Project Stars
1 micro 10,710
2 chi 10,463
3 up 8,414
4 GoSwagger 7,007
5 Tyk 6,912
6 Gotify 6,799
7 Ponzu 5,357
8 qor 4,890
9 goa 4,444
10 gotenberg 3,095
11 goku_lite 2,746
12 Mercure 2,585
13 encore 2,395
14 golang-gin-realworld-example-app 1,753
15 gock 1,518
16 hprose 1,184
17 REST Layer 1,120
18 kin-openapi 1,115
19 Goyave 914
20 drago 798
21 go-binance 773
22 PassWall 598
23 Gearbox 577
Find remote API jobs at our new job board 99remotejobs.com. There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives