OpenIAP
The standardized protocol for implementing in-app purchases across all platforms
OpenIAP is two protocols for in-app purchases across platforms, frameworks, and emerging technologies: the Client Protocol for what an app calls, and the Commerce Protocol for what servers exchange.
Overview
The two protocols standardize IAP implementations to reduce fragmentation and enable consistent behavior across every platform. The Client Protocol gives an app one purchase API whatever the store; the Commerce Protocol gives backends one contract for verification, entitlements, and subscription lifecycle events. This is especially critical in the AI coding era where standardized APIs enable better code generation.
Protocols
The contracts every package and library implements live under specs/. They are publishable, implementation-independent, and never deployed as services:
Packages
This monorepo contains all OpenIAP packages:
- google - Android library

- apple - iOS/macOS library

- docs - Documentation site at openiap.dev
- cli -
@hyodotdev/openiap prints an AI implementation brief and runs local configuration checks. 
- mcp-server - IAPKit MCP server, hosted at kit.openiap.dev/mcp for AI coding agents
- kit - Open-source purchase validation and entitlement infrastructure for the OpenIAP ecosystem, with a hosted service and dashboard at kit.openiap.dev. Free for every developer under hosted fair-use safeguards.

Libraries
Framework SDK implementations built on top of OpenIAP. These libraries are managed in this monorepo — see discussion #86 for the rationale and migration context.