For a web framework for building APIs in Kotlin, the strongest matches are square/retrofit (Retrofit is a type-safe HTTP client library for consuming), kotlin/kotlinx.serialization (kotlinx) and mock-server/mockserver (Mockserver is a multi-protocol mock server and API testing/verification). hackernews/api and microsoft/typespec round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
High-performance libraries and frameworks for building scalable RESTful APIs and microservices using the Kotlin language.
Retrofit is a type-safe HTTP client that simplifies network communication by allowing developers to define API endpoints as interface methods. By using annotation-driven request mapping, it automatically translates these interface definitions into structured HTTP requests, ensuring consistent data structures and reducing manual configuration when interacting with remote web services. The project distinguishes itself through a highly modular architecture that separates network transport from data handling. It utilizes dynamic proxy generation to process method calls at runtime and offers a plu
Retrofit is a type-safe HTTP client library for consuming REST APIs, not a server-side web framework for building them—used on the client side, it defines API endpoints for making requests rather than serving them.
kotlinx.serialization is an official Kotlin library that provides a multiplatform serialization framework for converting Kotlin objects to and from multiple data formats. It uses a Kotlin compiler plugin to generate serializer and deserializer code at compile time, avoiding runtime reflection and preserving type safety through annotations like @Serializable. The library supports JVM, JS, and Native targets with platform-specific runtime libraries, enabling consistent serialization across all Kotlin environments. The library distinguishes itself through its multi-format encoder-decoder abstr
kotlinx.serialization is a Kotlin multiplatform serialization library, not a web framework — it handles data conversion (JSON, CBOR, Protobuf) but lacks the HTTP routing, request handling, and REST API features.
Mockserver is a multi-protocol mock server and API verification proxy used to simulate HTTP, gRPC, and WebSocket endpoints. It functions as a tool for testing client applications without relying on live backend services, providing a system to simulate chat completions and streaming responses for large language model integrations. The project automates behavior by generating request expectations and response behaviors from OpenAPI and Swagger specification files. It differentiates itself through a network traffic simulator that introduces latency, dropped connections, and failures to verify ho
Mockserver is a multi-protocol mock server and API testing/verification proxy, not a Kotlin web framework for building RESTful APIs — it helps you test APIs but does not itself provide the async routing, serialization, or type-safe endpoints you need to create them.
This project is a public community data API that provides a RESTful interface for accessing real-time discussions and metadata. It serves as a JSON data provider, offering structured community information for use in third-party client and server applications. The interface enables the retrieval of public items, stories, and comments, as well as public account information for specific users. It provides capabilities for fetching filtered lists of stories based on ranking or novelty and allows for the discovery of recent items to track new content updates. The system covers a broad range of da
This repository is a specific public RESTful API for Hacker News data, not a Kotlin web framework for building APIs, so it falls outside the intended category.
TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from a single source of truth. It functions as a protocol-agnostic API designer that models REST, gRPC, and other API protocols using a unified, extensible syntax, with a decorator-based metadata system for attaching metadata, validation rules, and lifecycle visibility to API models and operations. The compiler produces OpenAPI 3.0 specifications and other artifacts, and the tool supports declaring API versions and tracking changes to models, properties, and operations across releas
TypeSpec is a language and tool for defining API specifications and generating OpenAPI schemas, but it is not a Kotlin-based web framework for building RESTful APIs — it does not provide runtime request handling, coroutine support, or server-side API serving.