Legacy Data API
API by Legacy · rest
The Legacy Data API gives partners programmatic access to the same data that powers the Legacy portal: asset register, energy performance certificates, energy consumption, physical-climate risk assessments, valuation, and reference data. Endpoints are organised by data domain. Most data endpoints accept a list of BFE numbers (the Danish property identifier) and return the corresponding rows from a single underlying table. Reference endpoints return the full reference dataset. Authentication uses OAuth 2.0 Client Credentials with Private Key JWT (RFC 7523). Tokens are issued by /oauth/token and validated against the JWKS endpoint at /.well-known/jwks.json. All successful responses include X-RateLimit-Remaining and X-RateLimit-Reset headers indicating remaining quota and the reset time (epoch seconds) for the current rate-limit window. Throttled requests return HTTP 429 with a Retry-After header.
Endpoint: https://api.legacyco2.com/
Verification: observed. Source: crawl.
Capabilities (38)
- JWKS for verifying issued access tokens
- Grant asset access for the given BFE numbers
- List asset-access grants for this organisation
- Revoke asset access for the given BFE numbers
- Get this organisation's service-account state
- Provision a GCP service account for this organisation
- Download a key file for this organisation's service account
- Rotate this organisation's service-account key
- Fetch address-component records by BFE number
- Fetch Desktop EPC building-part breakdowns by BFE number
- Fetch Desktop EPC building predictions by BFE number
- Fetch Desktop EPC fuel-savings rows by BFE number
- Fetch Desktop EPC improvement proposals by BFE number
- Fetch fuel-savings rows from official EPCs by BFE number
- Fetch EPC improvement proposals by BFE number
- Fetch official EPC summaries by BFE number
- Fetch meter-coverage diagnostics by BFE number
- Fetch ESG-ready yearly intensity by BFE number
- Fetch unified yearly energy intensity by BFE number
- Fetch yearly intensity from Eloverblik by BFE number
- Fetch yearly intensity from HOFOR by BFE number
- Fetch meter inventory by BFE number
- Fetch owner records by BFE number
- Fetch unified physical-risk assessments by BFE number
- Fetch damage-by-return-period rows by BFE number