Elestia Open Source Ratings
7.1

Polar SDK

A strong pick. 4th of 10 payment SDKs.

@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.

WebsiteGitHubnpm

Scores

Overall7.1

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.5, likely 5.5 to 7.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, likely 6.5 to 8.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 many4.6

How many developers need a tool for this job?

Claude Opus 5.5: 4.5, likely 3.5 to 5.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, likely 3.5 to 5.8

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 lot7.2

How well does it do the job for those who need it?

Claude Opus 5.5: 6.5, likely 5.5 to 7.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, likely 6.8 to 8.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 time7.2

Will it still be a good choice in two years?

Claude Opus 5.5: 7.0, likely 6.0 to 8.5

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.

  • github commitsLastYear / releasesLastYear: 7,957 commits and 60 releases in the last year
  • github closedIssues / openIssues: 2,380 closed issues against 67 open
  • github.com/polarsource/polar-js: Old SDK repo archived on Sep 17, 2026; SDK moved into the monorepo
  • Polar seed funding: Polar raised venture funding in 2025

GPT-6.2 Sol: 7.4, likely 6.1 to 8.6

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 widely4.9

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.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.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 1,637,230 vs 226,455, a ratio of 7.2
  • medianDownloadsRatio: Median 4.1, so Polar is gaining share
  • peers Stripe SDK downloadsLast4Weeks: Stripe has 135M, about 80x more
  • dependents: 1 repo, likely undercounted

GPT-6.2 Sol: 4.8, likely 3.4 to 6.2

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.

  • npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: 1,637,230 installs versus 226,455 a year earlier.
  • medianDownloadsRatio: Catalog-wide year-over-year baseline is 4.1×.
  • peers: Square has 1.88 million installs. Stripe grew 7.8× and Paddle 11.8×.
  • dependents: The crawler found one repository and zero npm packages.
  • github stars and bluesky posts: 10,503 stars and nine Bluesky posts refer to the full platform repository.
  • raw.githubusercontent.com/polarsource/polar/95a6a23/.github/workflows/sdk-release.yml: Publishing workflow updates SDK dependencies across Polar’s adapters and CLI.
Vouched for5.7

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

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, likely 5.2 to 7.6

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.

Safe7.9

How safe is it to depend on?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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.

  • npm dependencies: 0 runtime dependencies
  • advisories total: 0 advisories
  • scorecard: No Scorecard data
  • npm license: MIT

GPT-6.2 Sol: 8.2, likely 7.0 to 9.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

npm downloads, 4 weeks
1.6M ×7.2 in a year
GitHub stars
11k
Commits, 12 months
8k
npm version
1.3.2 Nov 2026
Versions, 12 months
31
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
Apache-2.0

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.

Read on 21 November 2026 from GitHub (polarsource/polar), npm (@polar-sh/sdk), OSV and the OpenSSF Scorecard.

Payment SDKs

  1. 9.1Stripe SDK
  2. 7.4Paddle SDK
  3. 7.1Adyen API library
  4. 7.1Polar SDK
  5. 6.7Square SDK
  6. 6.6Razorpay SDK
  7. 6.1PayPal Server SDK
  8. 5.7Braintree SDK
  9. 3.4Mollie API client
  10. 0.6Lemon Squeezy SDK
Compare all 10 on six scores