API REFERENCE
Get Catalog Measurements
On this page
/api/catalogs/{catalogId}/measurementsGet the latest play counts and a derived valuation band for a catalog. Measurements are captured by Create measurement job runs; the band is computed at read time from the latest capture per song.
Authentication
x-api-key in header
bearerAuth bearer
Request
curl --request GET \
--url 'https://api.recoupable.dev/api/catalogs/YOUR_CATALOG_ID/measurements' \
--header 'x-api-key: YOUR_API_KEY'Replace the YOUR_ placeholders with your values. Required query parameters are included; optional parameters are listed below.
Parameters
Path parameters
catalogIdstringrequiredThe unique identifier of the catalog to read measurements for. The catalog must belong to the authenticated account. Malformed (non-uuid) values are rejected with 400.
Query parameters
account_idstringAct on behalf of this account (UUID). Only applicable when the authenticated account has access to the target account, for example an organization key acting for a member account. The catalog ownership check then runs against this account instead of the caller. Omitted: the caller's own account.
artist_account_idstringOptional artist account to scope the read to. When present, measurements and the valuation band cover only the catalog's songs linked to this artist account (via song_artists); when absent, the whole catalog. A song linked to multiple artists counts for each of them. An artist with no linked measured songs in the catalog yields measured_song_count 0 and an empty measurements array. Malformed (non-uuid) values are rejected with 400.
pageintegerPage number of the measurements array (default 1). Pagination only windows the measurements rows - the aggregates always cover the entire scope. Invalid values are rejected with 400.
Default: 1
limitintegerNumber of measurement rows per page (default 50, max 100). Invalid values are rejected with 400.
Default: 50
Responses
200Latest per-song measurements and the derived valuation band+
application/json
statusstring · enumStatus of the request
Values: "success", "error"
measurementsarray<CatalogTrackMeasurement>One page of latest-per-ISRC measurements (the requested page/limit window), sorted by play count descending. One entry per measured song: the newest capture per ISRC; songs never measured are omitted. Use measured_song_count / pagination for the size of the full set - the aggregates are NOT limited to this page.
Item properties for measurements
isrcstringISRC of the song
titlestringnullableSong title, when known
playcountintegerLatest Spotify platform-displayed play count
measured_atstringISO timestamp of when the play count was captured
format: date-time
paginationobjectPagination metadata for the measurements array - the same envelope as catalog songs
Properties for pagination
total_countintegerTotal number of measured songs in scope (equals measured_song_count)
pageintegerCurrent page number
limitintegerNumber of measurement rows per page
total_pagesintegerTotal number of pages available
measured_song_countintegerTotal number of measured songs in scope (the whole catalog, or the artist subset when filtered), computed over the entire scope regardless of pagination - no row cap
valuationobjectEstimated catalog value in USD, derived at read time from the latest measurements - the same model as the recoupable.dev valuation card. Annual run-rate = lifetime streams / catalog age (lifetime-average proxy), converted to net label share (all-DSP gross-up 1.25/1.4/1.6, 15% distribution fee, 25% royalty share, $0.0035 per Spotify stream) and multiplied by a 10x/13x/16x master-catalog market multiple.
Properties for valuation
lownumberLow estimate in USD (1.25x gross-up, 10x multiple)
midnumberCentral estimate in USD (1.4x gross-up, 13x multiple)
highnumberHigh estimate in USD (1.6x gross-up, 16x multiple)
total_streamsintegerSum of the latest play counts across ALL measured songs in scope, computed in a single SQL aggregate regardless of pagination - no row cap
artist_account_idstringnullableEchoes the applied artist_account_id filter: the uuid when the response was scoped to that artist, null when the response covers the whole catalog. Clients that request an artist scope should verify this echo before treating the numbers as artist-scoped.
format: uuid
catalog_age_yearsintegerCatalog age in years used for the annual run-rate: from the earliest Spotify release date of the source run's albums, minimum 1; defaults to 5 when no release date is resolvable.
errorstringError message (only present if status is 'error')
400Bad request - malformed catalogId or artist_account_id, or invalid page/limit+
application/json
statusstring · enumStatus of the request
Values: "error"
errorstringError message describing what went wrong
401Unauthorized - missing or invalid credentials+
application/json
statusstring · enumStatus of the request
Values: "error"
errorstringError message describing what went wrong
404Not found - the catalog does not exist or belongs to a different account+
application/json
statusstring · enumStatus of the request
Values: "error"
errorstringError message describing what went wrong
Full specification
Download the OpenAPI file for complete schemas, constraints, and examples.
Download releases.jsonView operation source
{
"description": "Get the latest play counts and a derived valuation band for a catalog. Measurements are captured by [Create measurement job](/api-reference/research/measurement-jobs) runs; the band is computed at read time from the latest capture per song.",
"security": [
{
"apiKeyAuth": []
},
{
"bearerAuth": []
}
],
"parameters": [
{
"name": "catalogId",
"in": "path",
"description": "The unique identifier of the catalog to read measurements for. The catalog must belong to the authenticated account. Malformed (non-uuid) values are rejected with 400.",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "account_id",
"in": "query",
"description": "Act on behalf of this account (UUID). Only applicable when the authenticated account has access to the target account, for example an organization key acting for a member account. The catalog ownership check then runs against this account instead of the caller. Omitted: the caller's own account.",
"required": false,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "artist_account_id",
"in": "query",
"description": "Optional artist account to scope the read to. When present, measurements and the valuation band cover only the catalog's songs linked to this artist account (via song_artists); when absent, the whole catalog. A song linked to multiple artists counts for each of them. An artist with no linked measured songs in the catalog yields measured_song_count 0 and an empty measurements array. Malformed (non-uuid) values are rejected with 400.",
"required": false,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "page",
"in": "query",
"description": "Page number of the measurements array (default 1). Pagination only windows the measurements rows - the aggregates always cover the entire scope. Invalid values are rejected with 400.",
"required": false,
"schema": {
"type": "integer",
"minimum": 1,
"default": 1
}
},
{
"name": "limit",
"in": "query",
"description": "Number of measurement rows per page (default 50, max 100). Invalid values are rejected with 400.",
"required": false,
"schema": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
}
}
],
"responses": {
"200": {
"description": "Latest per-song measurements and the derived valuation band",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CatalogMeasurementsResponse"
}
}
}
},
"400": {
"description": "Bad request - malformed catalogId or artist_account_id, or invalid page/limit",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CatalogSongsErrorResponse"
}
}
}
},
"401": {
"description": "Unauthorized - missing or invalid credentials",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CatalogSongsErrorResponse"
}
}
}
},
"404": {
"description": "Not found - the catalog does not exist or belongs to a different account",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CatalogSongsErrorResponse"
}
}
}
}
}
}