Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
---
description: "Spree open-source comes with a fully-featured Ecommerce API for headless eCommerce apps."
title: "Ecommerce API"
---
Spree Commerce open-source comes with a fully-featured Ecommerce API enabling a fully headless mode. This means that you can use Spree as a backend to build your custom [Next.js storefront](https://spreecommerce.org/category/next-js-ecommerce/), eCommerce mobile app functionality, or any other customer-facing application that needs to interact with an e-commerce platform.
## API v2
Currently Spree includes 2 modern REST APIs:
<CardGroup cols={2}>
<Card title="Storefront API" href="/api-reference/storefront/authentication">
Designed to allow customers to interact with the store via external applications (e.g. Next.js storefront or a dedicated mobile app)
</Card>
<Card title="Platform API" href="/api-reference/platform/authentication">
Provides management capabilities, allowing third party apps to perform actions otherwise available via the admin panel.
</Card>
</CardGroup>
## Thank you!
Give Spree a [GitHub Star](https://github.com/spree/spree)<Icon icon="star" iconType="solid" color="#FFD43B" />, why don't ya? Thank you for supporting Spree open-source! <Icon icon="heart" iconType="solid" color="#FF0000" />
Need support or want to give some feedback? Join our [Discord](https://discord.spreecommerce.org/)