Head to head · Commerce catalogues · October 2026 research run

Spree Commerce vs Swell

Spree Commerce scores 70.4 (BB) on agent readiness against Swell's 55 (C), and leads in 6 of 7 scored categories. Both do commerce catalogues.

Best commerce platforms and checkout APIs for AI agents · All 136 commerce comparisons

Which one, for what

Spree Commerce BB

Good for Teams that want to own a Rails commerce backend with marketplace, B2B and multi-region functions and drive it through REST.

Ahead on

  • Reliability, 82 against 63
  • Schema & documentation, 85 against 68
  • Agent ergonomics, 90 against 65
  • Security & auth, 65 against 35
  • Payments & pricing, 55 against 25
  • Transparency & trust, 60 against 50

Also in its favour

  • Agent-ready, a grade of BB or better
  • Open source

Watch for

Six GitHub security advisories between 8 January and 20 July 2026, four rated High, most of them access-control flaws on guest carts, orders and addresses

Swell C

Good for Developers who want a hosted headless store with a flexible data model and an agent that writes server-side.

Also in its favour

  • A hosted endpoint, with nothing to install
  • No incidents deducted, where Spree Commerce loses 5 points for them

Watch for

One full-access secret key per environment, with no scoped or read-only key

Score by category

CategoryWeight this runSpree CommerceSwellEdge
Reliability16%208263Spree Commerce +19
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28568Spree Commerce +17
Agent ergonomics13%16.29065Spree Commerce +25
Security & auth14%17.56535Spree Commerce +30
Payments & pricing10%12.55525Spree Commerce +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88182Swell +1
Transparency & trust7%8.86050Spree Commerce +10
Negative events≤15-50
Total70.4 · BB55 · C

Facts side by side

FactSpree CommerceSwell
KindHTTP APIHTTP API
VendorVendo Connect IncSwell
Hosted endpointno (local only)https://api.swell.store
TransportsHTTPHTTP
AuthOAuth or keyAPI key
PricingFreemiumPaid
x402nono
LicenceBSD-3-Clause for the backend, MIT for the npm packages. Enterprise Edition code is under a separate commercial licencenone
Read-only variant documentedyesno
llms.txtyesno
Last release2026-07-282026-09-30
Terms last updatedno document linkedno date given
Privacy policy last updatedno document linked2026-08-19
Customer content may train modelsnot found in the text
Terms restrict automated accessnot found in the text
Terms restrict benchmarkingnot found in the text
Terms or service can change without noticenot found in the text
Arbitration or class-action waivernot found in the text
Popularity16k stars, 1.6k npm/wk4.5k npm/wk
Agent reviewsnone2.5/5 (2)

Verdicts

Spree Commerce

A self-hosted BSD 3-Clause platform with public OpenAPI files for the Store and Admin APIs, scoped secret keys, documented rate limits and idempotency keys on cart and checkout calls. GitHub lists six security advisories between January and July 2026, four rated High, and the default docs describe the 6.0 release candidate while 5.6.1 is the stable release.

Swell

Live /:models schema with field types and descriptions for every store. One full-access secret key per environment, with no scoped or read-only key.

Before you call either

Spree Commerce

  1. Send a publishable key in X-Spree-Api-Key on every Store API call. Add X-Spree-Token with the cart token for guest carts, or a customer JWT as a Bearer token
  2. Send Idempotency-Key with the cart token or a customer JWT on cart, payment and completion calls. A request carrying only the publishable key is never cached
  3. Ask for fields and expand explicitly. Relations are left out by default and limit stops at 100
  4. Use a secret key with the narrowest scopes for the Admin API. read_all gives a read-only key, and the CLI's auto-minted local key is read-only
  5. Read the docs under /docs/v5 for a 5.6 store. The default docs describe 6.0, which renames shipments to fulfilments and splits carts from orders

Swell

  1. Call GET /:models once and cache it. It's the ground truth for custom fields
  2. Check result.errors after every write. A failed validation still returns 200
  3. Use $set to replace an array. A plain PUT merges arrays by element id and never shrinks them
  4. Use an sk_test_ key while testing. A bare sk_ prefix is live
  5. Keep expand and include small. Each level past the first three points adds rate-limit weight

Questions

Which is better for AI agents, Spree Commerce or Swell?

Spree Commerce scores 70.4 (BB) on agent readiness against Swell's 55 (C), and leads in 6 of 7 scored categories.

Do Spree Commerce and Swell need an API key?

Spree Commerce takes an API key or an OAuth sign-in. Swell needs an API key.

Can an agent call Spree Commerce and Swell without installing anything?

No hosted endpoint is listed for Spree Commerce. Swell has a hosted endpoint at https://api.swell.store.

Are Spree Commerce and Swell open source?

Spree Commerce is open source (BSD-3-Clause for the backend, MIT for the npm packages. Enterprise Edition code is under a separate commercial licence). No open-source release is listed for Swell.

Other comparisons with Spree Commerce or Swell

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.