Back to home
Open API

Afrimo Index — the price reference, open by API

A public, anonymised construction price API. Query the market median and its range for a line item (CCTB code + unit), by region. Open, documented, and privacy-preserving by design.

Request

GET https://www.afrimo.be/api/v1/public/index?code=<CCTB>&unite=<M2|M3|…>&region=<BE|FR|LU|NL|CH|ALL>

Parameters

code
CCTB code of the line item (required)
unite
normalised unit: M, M2, M3, KG, PCE… (required)
region
BE (default), FR, LU, NL, CH, or ALL (euro zone)

Response (example)

{
  "success": true,
  "data": {
    "reference": "afrimo-index",
    "version": 1,
    "code": "21.31.1a",
    "unite": "M3",
    "region": "BE",
    "devise": "EUR",
    "seuilK": 5,
    "fenetreMois": 24,
    "suffisant": true,
    "orgs": 7,
    "n": 63,
    "mediane": 125.50,
    "p25": 112.00,
    "p75": 141.00,
    "ageMedianMois": 5.8
  }
}

Privacy by design

k-anonymity (k ≥ 5)

No statistic is returned below 5 distinct organisations. Never an individual price, never an organisation name.

Median per organisation

We aggregate the median per organisation then the percentiles: each org counts as one, none dominates by volume.

Market only

The public view exposes the market price (median + p25/p75). The winning price (accepted quotes) stays in the app.

Contribute, compare, stay in control.