Better Auth

Better Auth is a framework-agnostic authentication and authorization library for TypeScript. Unlike hosted identity providers, Better Auth runs inside the developer's own application against their own database (Postgres, MySQL, SQLite, MongoDB via adapters). The core library supports credential, social, magic-link, OTP, passkey, and SSO sign-in, with plugins for organizations / teams / RBAC, API keys, two-factor authentication, JWT, generic OAuth, SAML / SSO, and SCIM. It integrates with Next.js, Nuxt, SvelteKit, Astro, Hono, and 20+ other frameworks. An optional managed dashboard with audit logs, breached-password detection, bot-protection, and self-service enterprise SSO is available at dash.better-auth.com.

Better Auth publishes 4 APIs on the APIs.io network. Tagged areas include Authentication, Authorization, TypeScript, Library, and Open-Source.

Better Auth’s developer surface includes documentation, GitHub presence, engineering blog, and 12 more developer resources.

28.6/100 thin ▬ flat Agent 3/100 human only self hosted · MIT Full breakdown ↓
scored 2026-09-08 · rubric v0.20.0
AccessFree
4 APIs
AuthenticationAuthorizationTypeScriptLibraryOpen-SourceSSOPasskeys

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-08 · rubric v0.20.0
Regulatory Posture applies to this provider. Its tags matched the Education & Research regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Open Source Surface applies to this provider. This product is open source and we read its repository directly, so Open Source Surface carries 10 points of the composite. It is scored from what the repository actually publishes — a security policy, a contribution guide, a release history, a code of conduct — read live from the provider rather than inferred from our own catalog pointers. This facet adds; nothing was taken away to make room for it. An open-source project is not excused from the commercial facets, because exemption would strip it of the points it does earn. If we have the wrong repository, or this product is not open source, say so on your provider repo and we will drop the facet rather than have you publish against it.
Create-or-Update Ergonomics could not be measured. We hold no machine-readable contract for this provider to read, so there is nothing to measure a write surface against. Excluded rather than scored zero: never-measured and measured-empty are different facts. Publishing an OpenAPI is what makes this facet — and several others — scorable at all.
The six quality facets above are damped to 75 points between them, because both conditional facets apply and carry 25 points together. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 75% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from github.com/api-evangelist/better-auth: open an issue to ask a question, or submit a pull request to add artifacts. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 4

Individual APIs this provider publishes, each with its own machine-readable definition.

Better Auth Library

Core TypeScript library distributed as the `better-auth` npm package. Configured in the application backend to expose sign-in / sign-up / session endpoints that the developer mo...

Better Auth CLI

Project initialization and schema-migration CLI invoked with `npx @better-auth/cli` (or `npx auth init`). Generates database schema, configures the auth route handler, and scaff...

Better Auth Plugins

First-party plugin ecosystem covering two-factor authentication, passkeys, magic link, organizations and teams, API keys, generic OAuth, JWT, OpenAPI, admin, and SSO (SAML / OID...

Better Auth Dashboard (Managed)

Optional managed dashboard at dash.better-auth.com. Adds user management UI, audit logs, security signals (breached-password lookups, bot protection, brute-force detection), and...

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Better Auth Rate Limits

2 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Better Auth Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Resources

Documentation 2

Reference material describing how the API behaves

Build 4

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 3

Status, limits, changes, and where to get help

Commercial 1

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: better-auth
url: https://raw.githubusercontent.com/api-evangelist/better-auth/refs/heads/main/apis.yml
name: Better Auth
kind: company
description: Better Auth is a framework-agnostic authentication and authorization library for TypeScript. Unlike hosted identity
  providers, Better Auth runs inside the developer's own application against their own database (Postgres, MySQL, SQLite,
  MongoDB via adapters). The core library supports credential, social, magic-link, OTP, passkey, and SSO sign-in, with plugins
  for organizations / teams / RBAC, API keys, two-factor authentication, JWT, generic OAuth, SAML / SSO, and SCIM. It integrates
  with Next.js, Nuxt, SvelteKit, Astro, Hono, and 20+ other frameworks. An optional managed dashboard with audit logs, breached-password
  detection, bot-protection, and self-service enterprise SSO is available at dash.better-auth.com.
deliveryModel:
  model: self-hosted
  license: MIT
  open_source: true
  commercial: false
  callable_host: false
  label: Self-hosted open source · you run it yourself
  confidence: high
  source:
  - license
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: free
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Free
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/better-auth.png
tags:
- Authentication
- Authorization
- TypeScript
- Library
- Open-Source
- SSO
- Passkeys
tags_raw:
- Authentication
- Authorization
- TypeScript
- Library
- Open Source
- SSO
- Passkeys
created: '2026-05-23'
modified: '2026-05-23'
specificationVersion: '0.23'
apis:
- aid: better-auth:library
  name: Better Auth Library
  description: Core TypeScript library distributed as the `better-auth` npm package. Configured in the application backend
    to expose sign-in / sign-up / session endpoints that the developer mounts under their own domain; there is no Better-Auth-hosted
    REST API for the core library. Includes a typed client (`better-auth/client`) for use from frontend code.
  humanURL: https://www.better-auth.com/docs
  baseURL: https://github.com/better-auth/better-auth
  tags:
  - Library
  - TypeScript
  - SDK
  - Self-Hosted
  properties:
  - type: Documentation
    url: https://www.better-auth.com/docs
  - type: Repository
    url: https://github.com/better-auth/better-auth
  - type: Package
    url: https://www.npmjs.com/package/better-auth
- aid: better-auth:cli
  name: Better Auth CLI
  description: Project initialization and schema-migration CLI invoked with `npx @better-auth/cli` (or `npx auth init`). Generates
    database schema, configures the auth route handler, and scaffolds plugin wiring.
  humanURL: https://www.better-auth.com/docs/cli
  baseURL: https://github.com/better-auth/better-auth
  tags:
  - CLI
  - Tooling
  properties:
  - type: Documentation
    url: https://www.better-auth.com/docs/cli
- aid: better-auth:plugins
  name: Better Auth Plugins
  description: First-party plugin ecosystem covering two-factor authentication, passkeys, magic link, organizations and teams,
    API keys, generic OAuth, JWT, OpenAPI, admin, and SSO (SAML / OIDC). Plugins extend both the server runtime and the typed
    client.
  humanURL: https://www.better-auth.com/docs/plugins
  baseURL: https://github.com/better-auth/better-auth
  tags:
  - Plugins
  - Extensions
  properties:
  - type: Documentation
    url: https://www.better-auth.com/docs/plugins
- aid: better-auth:dashboard
  name: Better Auth Dashboard (Managed)
  description: Optional managed dashboard at dash.better-auth.com. Adds user management UI, audit logs, security signals (breached-password
    lookups, bot protection, brute-force detection), and enterprise features such as self-service SSO and SCIM provisioning
    on top of self-hosted Better Auth deployments.
  humanURL: https://dash.better-auth.com
  baseURL: https://dash.better-auth.com
  tags:
  - Dashboard
  - Managed
  - Enterprise
  - Audit Logs
  properties:
  - type: Documentation
    url: https://www.better-auth.com/docs
common:
- type: IssueTracker
  url: https://github.com/better-auth/better-auth/issues
- type: Releases
  url: https://github.com/better-auth/better-auth/releases
- type: SecurityPolicy
  url: https://github.com/better-auth/better-auth/blob/main/SECURITY.md
- type: CodeOfConduct
  url: https://github.com/better-auth/better-auth/blob/main/CODE_OF_CONDUCT.md
- type: ContributionGuide
  url: https://github.com/better-auth/better-auth/blob/main/CONTRIBUTING.md
- type: License
  name: MIT
  url: https://github.com/better-auth/better-auth/blob/main/LICENSE
- type: DomainSecurity
  url: security/better-auth-domain-security.yml
- type: Website
  url: https://www.better-auth.com/
- type: Documentation
  url: https://www.better-auth.com/docs
- type: GitHub
  url: https://github.com/better-auth/better-auth
- type: GitHubOrg
  url: https://github.com/better-auth
- type: Package
  url: https://www.npmjs.com/package/better-auth
- type: Dashboard
  url: https://dash.better-auth.com
- type: Discord
  url: https://discord.gg/better-auth
- url: https://better-auth.com/blog/rss.xml
  type: Blog
integrations:
- name: Next.js
- name: Nuxt
- name: SvelteKit
- name: Astro
- name: Hono
- name: Remix
- name: Express
- name: Elysia
- name: PostgreSQL
- name: MySQL
- name: SQLite
- name: MongoDB
- name: Drizzle
- name: Prisma
- name: Kysely
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/better-auth"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/better-auth/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/better-auth/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.