# Polar SDK: 7.1 out of 10

A strong pick. 4th of 10 in [Payment SDKs](https://elestia.ai/opensource/payments/index.md).

@polar-sh/sdk is the official TypeScript client for Polar, an open-source merchant-of-record billing platform that handles sales tax for you. It is a good, fast-growing choice for indie developers and small SaaS teams that sell digital products and want tax handled for them. For complex B2B billing it is more limited than Stripe.

**Best for:** Indie developers and small SaaS teams selling digital products or subscriptions worldwide who want a merchant of record with a clean TypeScript API.

## Scores

- **Overall: 7.1** (likely 6.0 to 8.1)
  - Claude Opus 5.5 (6.5): Polar is the most active and fastest-growing merchant-of-record SDK in the category. It is a better pick than Lemon Squeezy, which has had no commits in the last year. For indie SaaS that wants tax handled, it is a strong option. Stripe remains the default for most projects, and Polar's narrower billing model, past SDK churn and young track record keep it below 7.
  - GPT-6.2 Sol (7.6): Polar is a strong pick for a new software product that wants hosted checkout, subscriptions, and usage billing with sales tax handled by a merchant of record. Stripe is the stronger default across payment models, and Paddle is a close merchant-of-record peer with stronger payment recovery and cancellation tooling. Frequent releases and a small dependency footprint help, while the recent SDK rewrite and limited independent evidence on 1.x keep the range wide.
- **Needed by many: 4.6** (likely 3.5 to 5.7)
  - Claude Opus 5.5 (4.5): Taking payments is common in web apps, but this SDK serves only Polar customers. Polar targets first-party sales of software, SaaS and digital products, not marketplaces or physical goods. That makes it a clear but sizeable niche within the category.
  - GPT-6.2 Sol (4.6): Taking payments is common in commercial web apps, and Polar supports software subscriptions and one-time digital sales. Its hosted service excludes physical goods, human services, and marketplaces, and the current Node.js requirement further narrows the audience. Developer surveys establish the size of the JavaScript audience, but give little evidence about how many projects fit Polar’s model.
- **Helps a lot: 7.2** (likely 6.2 to 8.2)
  - Claude Opus 5.5 (6.5): The SDK is a typed client generated by Speakeasy, with zero dependencies, sandbox support, webhook validation and metering helpers. Users say it works well. The limits come from the platform: no programmatic cancel or plan switching, no entitlements, one product per subscription. Users also report gaps in the docs. Stripe does complex billing clearly better, but Polar is among the best merchant-of-record SDKs.
  - GPT-6.2 Sol (7.9): Version 1.3.2 combines typed, versioned clients with sandbox support, signed webhooks, and usage batching with delivery errors. MakerKit’s experience shipping both integrations favors Polar for straightforward digital sales and Stripe for more complex billing. Older examples can lead coding agents to use obsolete imports, and independent performance evidence for 1.3.2 is thin.
- **Holds up over time: 7.2** (likely 6.1 to 8.6)
  - Claude Opus 5.5 (7.0): The platform is very active: 7,957 commits, 60 releases, 136 contributors and quick issue turnover. A venture-funded company runs it. The SDK has now reached 1.x inside the monorepo, but the polar-js repo was archived and moved in September 2026, so upgrades have broken code before. The company is young, and the SDK's future depends on Polar's business doing well.
  - GPT-6.2 Sol (7.4): Polar raised a $10 million seed round and published 31 npm versions over the past year, with SDK releases now coming from the main repository. Versioned imports help stabilize API contracts, but the 1.0 rewrite broke older imports and the declared Node.js minimum rose from 22 to 24 within 1.x. The monorepo totals leave SDK-specific issue response times and maintainer coverage uncertain.
- **Used widely: 4.9** (likely 3.7 to 6.1)
  - Claude Opus 5.5 (5.0): Downloads are 1.64M per 4 weeks, up 7.2x on a year ago, well above the 4.1 median. Polar is gaining ground fast and now has more downloads than Lemon Squeezy, Mollie and PayPal, though it is still tiny next to Stripe. The 10.5k stars count the whole platform, and the dependents count of 1 looks like a gap in ecosyste.ms data rather than real use.
  - GPT-6.2 Sol (4.8): Four-week installs rose 7.2× to 1.64 million, above the 4.1× catalog baseline. Polar is close to Square in install volume, while Stripe has far more installs and both Stripe and Paddle grew faster. Repeat installs, adapter dependencies, and platform-wide stars blur direct adoption, and the crawler found just one dependent repository.
- **Vouched for: 5.7** (likely 4.6 to 7.1)
  - Claude Opus 5.5 (5.0): Independent comparisons (MakerKit, TurboStarter, DEV posts) cover it and recommend it for indie and single-product SaaS. Starter kits and Better Auth build integrations on it. There are no survey data, the Hacker News and Bluesky signal is thin, and many reviews come from vendors that compete with Polar.
  - GPT-6.2 Sol (6.4): MakerKit reports running both Polar and Stripe adapters in customer projects, and Convex publishes a billing component that uses the SDK. Better Auth documents a Polar-maintained plugin, and DevTUI’s author reports using the platform for payments and licensing. These examples establish real use, while evidence on production adoption and satisfaction with the 1.x TypeScript rewrite is still limited.
- **Safe: 7.9** (likely 6.8 to 8.9)
  - Claude Opus 5.5 (7.5): The package has zero runtime dependencies and no known advisories, and it uses the MIT licence (the platform is Apache-2.0). There is no OpenSSF Scorecard, so release-process checks cannot be confirmed. The code is generated and released often, which adds some churn but little attack surface.
  - GPT-6.2 Sol (8.2): The SDK uses the permissive MIT license, has zero required runtime dependencies, and has no recorded OSV advisories. Its GitHub Actions workflow uses npm trusted publishing, and Polar accepts private vulnerability reports. The missing OpenSSF Scorecard and unverified publisher roster limit confidence, and the hosted service has experienced an outage that affected checkout.

## Good

- Merchant-of-record model: Polar takes on VAT and sales-tax compliance, dunning and the customer portal.
- Zero runtime dependencies, bundled types, tree-shakable core imports and webhook validation helpers.
- Very active platform: about 8,000 commits and 60 releases in the last year, with an Apache-2.0 open-source backend.
- Ready-made integrations such as the Better Auth plugin and SaaS starter kits make setup quick.

## Bad

- Narrower billing model than Stripe: one product per subscription, no entitlements, and plan changes go through the hosted portal instead of the API.
- Works only with the Polar platform, and tax records stay with Polar, so moving away is costly.
- The SDK has churned: 0.x breaking changes, then a move from the archived polar-js repo into the monorepo with versioned API import paths.
- Card-focused payments, and some users report slow support and fees above the headline rate.

## The numbers

- Downloads, 4 weeks: 1.6M
- In a year: ×7.2
- GitHub stars: 11k
- Commits, 12 months: 8k
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: Apache-2.0
- GitHub: https://github.com/polarsource/polar
- npm: https://www.npmjs.com/package/@polar-sh/sdk

Polar itself is open source. The SDK’s own repository, polar-js, is archived, so the numbers are of polarsource/polar, which holds all of Polar.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
