Skip to main content
GET
/
metrics
/
mrr
MRR over time
curl --request GET \
  --url https://api.recurr.dev/v1/metrics/mrr \
  --header 'Authorization: Bearer <token>'
{
  "metric": "mrr",
  "window": "last_30d",
  "points": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "value": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Your Recurr secret API key as a Bearer token: Authorization: Bearer rk_live_….

Keys are environment-scoped — rk_live_ operates on live data, rk_test_ on isolated test data (see Test mode). Create, scope, and rotate keys in your dashboard (Settings → API keys, developer role). Secret keys are server-side only — never ship them in an app binary or client JavaScript.

Query Parameters

window
enum<string>
default:last_30d
Available options:
last_7d,
last_30d,
last_90d,
last_12mo,
all_time
granularity
enum<string>
default:day
Available options:
day,
week,
month

Response

200 - application/json

MRR series

metric
string
required
Example:

"mrr"

window
string
required
Example:

"last_30d"

granularity
enum<string>
required
Available options:
day,
week,
month
points
object[]
required