Open Source Headless eCommerce Platform

Open Source Headless eCommerce Platform

Connect any frontend to a complete REST API. Build storefronts, B2B portals, marketplaces, and mobile apps on one commerce backend. No GraphQL lock-in. No platform fees.

Problem statement

Finding a headless ecommerce platform with everything built in isn’t easy

Feature gaps

Most headless ecommerce platforms ship a checkout and stop. You still need to build B2B pricing, marketplace payouts, and multi-store from scratch.

Poor API documentation

Endpoints without OpenAPI specs, no SDK, no code samples. Developers waste weeks reverse-engineering the API before writing a single line of storefront code.

No developer tooling

No CLI to scaffold projects, no starter kits, no AI coding assistance. Getting started means stitching together boilerplate from scratch.

Spree has been built API-first and comes with full service support

Open Source eCommerce API

Two production-grade REST APIs: Store API for storefronts and mobile apps, Admin API for back-office integrations and ERP connections. Full OpenAPI 3.0 specs you can import into Postman in seconds. Flat JSON responses, no GraphQL required. Unified Payment Sessions API for Stripe, Adyen, and any PSP.

eCommerce SDK and Developer Tooling

Official TypeScript SDK and CLI to scaffold new projects in one command. Production-grade Next.js starter with React 19 and Tailwind CSS 4. Spree ships AGENTS.md and a dedicated MCP server for documentation, so AI coding assistants like Claude and Cursor build on actual architecture, not hallucinated endpoints.

Agentic Commerce Ready

Spree’s REST APIs are natively compatible with emerging agentic commerce protocols: OpenAI ACP, Google UCP, Anthropic MCP, and Visa TAP. All operate over HTTP/REST, so AI purchasing agents can discover products, manage carts, and complete checkout programmatically. Build AI-powered storefronts or automated procurement on one open-source headless ecommerce platform.

What you get

What you can build with a headless ecommerce platform

Storefronts, B2B portals, marketplaces, mobile apps, and multi-tenant platforms from one commerce backend

Any storefront

Connect Next.js, React, Vue, or any frontend. The Store API handles cart, checkout, and product discovery. The Admin API handles everything else.

B2B and marketplace

Wholesale portals with customer-specific pricing, buyer organizations, and approval workflows. Multi-vendor marketplaces with Stripe Connect payouts. All on the same platform.

Open source, self-hosted

BSD 3-Clause license. Deploy on any cloud or on-premises. Audit every line of code. Zero platform fees, zero vendor lock-in.

Used by over 5K businesses worldwide

Let's use Spree to build exactly what your business needs

facebook