Baremetrics
Subscription analytics: MRR, churn, customers and plans
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
- EnvironmentOptionalIdentifier2 choices
Where to find them
- Sign in to Baremetrics as an administrator and open “Settings” → “API” (app.baremetrics.com/settings/api).
- Copy the API key for the environment you will use.
- Data belongs to a “source” (source_id): look it up with GET /sources.
Tools (1)
Baremetrics API request
BAREMETRICS_SEND_REQUESTAuthenticated call to the Baremetrics API (https://{server}/v1). Any endpoint of the API is allowed. Almost everything belongs to a source (source_id, from GET /sources). Examples: GET /account, GET /sources, GET /{source_id}/customers?per_page=50, GET /{source_id}/subscriptions, GET /{source_id}/plans, GET /{source_id}/charges?start=2026-10-01&end=2026-10-15, GET /{source_id}/events, GET /users. The metrics (MRR, churn…) are under /{source_id}/metrics: see the reference.
Required scopes
No scopes required
Input
Baremetrics API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

