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

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": 42,      "median": 10.7718120805369,      "q1": 5.55991124260355,      "q3": 17.9166666666667,      "warning": null    },    {      "bucket": "2021",      "n": 90,      "median": 9.88470557582074,      "q1": 5,      "q3": 18.7724830128347,      "warning": null    },    {      "bucket": "2022",      "n": 68,      "median": 12.5009557522124,      "q1": 6.70950704225352,      "q3": 22.0485210171251,      "warning": null    },    {      "bucket": "2023",      "n": 24,      "median": 6.76799805385352,      "q1": 4.93762963252847,      "q3": 11.3538205980066,      "warning": null    },    {      "bucket": "2024",      "n": 37,      "median": 9.5,      "q1": 4.46632478632479,      "q3": 17,      "warning": null    }  ],  "meta": {    "metric": "ev_revenue",    "time_bucket": "year",    "total_deals": 284,    "outliers_trimmed": 23,    "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"      }    }  }}