Multiples
Private v1ApiPrivateV1TransactionsAggregate

Per-bucket median multiples for one cohort

POST
/api/private/v1/transactions/aggregate

Returns {bucket, n, median, q1, q3} arrays for the chosen metric, sliced by time_bucket, across the cohort defined by filters. Methodology constants (small-N suppression, outlier rule, default date range) are discoverable via /lookup/transactions.

Authorization

bearerAuth
AuthorizationBearer <token>

Send your API key as a bearer token in the Authorization header: Authorization: Bearer mpl_live_.... A single key grants access to all endpoints in this API. Contact your account manager to obtain or rotate a key.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/private/v1/transactions/aggregate" \  -H "Content-Type: application/json" \  -d '{    "metric": "ev_revenue",    "time_bucket": "year",    "filters": {      "deal_type": [        "Growth",        "Venture"      ],      "target_region": [        "Western Europe",        "Northern Europe"      ],      "date_from": "2020-01-01",      "date_to": "2024-12-31"    }  }'
{  "data": [    {      "bucket": "2020",      "n": 48,      "median": 11.602893161618,      "q1": 5.67973372781065,      "q3": 18.4669811320755,      "warning": null    },    {      "bucket": "2021",      "n": 97,      "median": 9.9009900990099,      "q1": 4.5531197301855,      "q3": 20,      "warning": null    },    {      "bucket": "2022",      "n": 80,      "median": 11.5836514043863,      "q1": 5.71664914560954,      "q3": 25.1330025113464,      "warning": null    },    {      "bucket": "2023",      "n": 29,      "median": 6.125,      "q1": 3.57971014492754,      "q3": 10.8527131782946,      "warning": null    },    {      "bucket": "2024",      "n": 44,      "median": 8.14518859518859,      "q1": 3.33333333333333,      "q3": 14.4642857142857,      "warning": null    }  ],  "meta": {    "metric": "ev_revenue",    "time_bucket": "year",    "total_deals": 318,    "outliers_trimmed": 20,    "methodology": {      "small_n_threshold": 5,      "outlier_rule": "iqr_1.5",      "default_date_range_years": 5,      "empty_buckets_returned": true,      "date_range": {        "from": "2020-01-01",        "to": "2024-12-31"      }    },    "usage": {      "records_billable": 0,      "records_charged": 0    }  }}
{  "error": {    "code": "BAD_REQUEST",    "message": "Invalid request",    "details": {      "errors": [        "unknown target_verticals value \"Pharmaceuticals\"; did you mean \"Biopharmaceuticals\"?"      ]    }  }}
{  "error": {    "code": "INVALID_TOKEN",    "message": "Invalid or non-existent API token"  }}
{  "error": {    "code": "PRIVATE_API_NOT_ENABLED",    "message": "This API token does not have Private Data API access enabled. Contact multiples.vc to enable it."  }}
{  "error": {    "code": "DATA_ACCESS_PAUSED",    "message": "Your account is paused because of unusual data use. Contact hi@multiples.vc."  }}
{  "error": {    "code": "RATE_LIMITED",    "message": "Rate limit of 200 requests/minute exceeded. Retry in 12s."  }}
{  "error": {    "code": "INTERNAL_ERROR",    "message": "An internal error occurred"  }}