Skip to content

Getting production unit information

This endpoint returns data from CVR about a specific production unit (P-enhed). As with companies and people, most fields include a complete history of values, and you can retrieve either the current values or the entire history.

Endpoints

The endpoint is api.lassox.com/{lassoid}, where {lassoid} is a Lasso Id for a CVR production unit. To retrieve the history, append /history, which will include all data wrapped in an object containing to and from values.

The following is an example of how to get data from CVR about a specific production unit. Don't forget to add your API key.

GET api.lassox.com/CVR-2-1011011010
{
    "lassoId": "CVR-2-1011011010",
    "pNumber": 1011011010,
    "unitNumber": 4003598326,
    "name": "HOVEDKVARTERET",
    "cvr": 23452345,
    "status": "Aktiv",
    "lifeTime": {
        "from": "2012-05-14T00:00:00",
        "to": null
    },
    "phone": "71717171",
    "email": "def@firmaet.dk",
    "fax": null,
    "website": null,
    "commerciallyProtected": true,
    "creationDate": "2012-05-14T00:00:00",
    "address": {
        "address1": "Tietgensplads 37",
        "address2": "1550 København V",
        "streetName": "Tietgensplads",
        "streetCode": 6152,
        "houseNumberFrom": 37,
        "houseNumberTo": null,
        "houseLetterFrom": null,
        "houseLetterTo": null,
        "floor": null,
        "sideDoor": null,
        "postalCode": 1550,
        "postalDistrict": "København V",
        "cityName": null,
        "municipality": {
            "name": "KØBENHAVN",
            "code": 101
        },
        "coName": null,
        "postalBox": null,
        "freeText": null,
        "countryCode": "DK"
    },
    "industry": {
        "text": "Databehandling, webhosting og lignende serviceydelser",
        "code": "631100"
    },
    "altIndustry1": {
        "text": "Konsulentbistand vedrørende informationsteknologi",
        "code": "620200"
    },
    "altIndustry2": {
        "text": "Anden udgivervirksomhed",
        "code": "581900"
    },
    "altIndustry3": null,
    "employees": {
        "interval": "ANTAL_20_49",
        "type": "Quarterly",
        "month": 1,
        "year": 2019,
        "quarter": 1
    },
    "lastUpdated": "2018-08-10T13:47:01"
}

GET api.lassox.com/CVR-2-1011011010/history
{
    "lassoId": "CVR-2-1011011010",
    "pNumber": 1011011010,
    "unitNumber": 4003598326,
    "name": [{
            "value": "ANPARTSSELSKABET APS",
            "from": "2012-05-14T00:00:00",
            "to": "2014-05-30T00:00:00",
            "current": false
        }, {
            "value": "ANPARTSSELSKAB APS",
            "from": "2014-05-31T00:00:00",
            "to": "2015-06-14T00:00:00",
            "current": false
        }, {
            "value": "AKTIESELSKABET ApS",
            "from": "2015-06-15T00:00:00",
            "to": "2018-04-24T00:00:00",
            "current": false
        }, {
            "value": "AKTIESELSKABET A/S",
            "from": "2018-04-25T00:00:00",
            "to": "2018-08-09T00:00:00",
            "current": false
        }, {
            "value": "HOVEDKVARTERET",
            "from": "2018-08-10T00:00:00",
            "to": null,
            "current": true
        }
    ],
    "cvr": [{
            "value": 23452345,
            "from": "2012-05-14T00:00:00",
            "to": null,
            "current": true
        }
    ],
    "status": "Aktiv",
    "lifeTime": [{
            "value": {
                "from": "2012-05-14T00:00:00",
                "to": null
            },
            "from": "2012-05-14T00:00:00",
            "to": null,
            "current": true
        }
    ],
    "phone": [{
            "value": "12341234",
            "from": "2012-07-02T00:00:00",
            "to": "2013-07-31T00:00:00",
            "current": false
        }, {
            "value": "60606060",
            "from": "2014-06-01T00:00:00",
            "to": "2018-08-09T00:00:00",
            "current": false
        }, {
            "value": "71717171",
            "from": "2018-08-10T00:00:00",
            "to": null,
            "current": true
        }
    ],
    "email": [{
            "value": "abc@firmaet.dk",
            "from": "2012-07-02T00:00:00",
            "to": "2014-05-31T00:00:00",
            "current": false
        }, {
            "value": "def@firmaet.dk",
            "from": "2014-06-01T00:00:00",
            "to": null,
            "current": true
        }
    ],
    "fax": [],
    "website": [],
    "commerciallyProtected": true,
    "creationDate": "2012-05-14T00:00:00",
    "address": [{
            "value": {
                "address1": "Palægæde 39",
                "address2": "1058 København K",
                "streetName": "Palægæde",
                "streetCode": 2700,
                "houseNumberFrom": 39,
                "houseNumberTo": null,
                "houseLetterFrom": null,
                "houseLetterTo": null,
                "floor": null,
                "sideDoor": null,
                "postalCode": 1058,
                "postalDistrict": "København K",
                "cityName": null,
                "municipality": {
                    "name": "KØBENHAVN",
                    "code": 101
                },
                "coName": null,
                "postalBox": null,
                "freeText": null,
                "countryCode": "DK"
            },
            "from": "2012-05-14T00:00:00",
            "to": "2013-08-15T00:00:00",
            "current": false
        }, {
            "value": {
                "address1": "Sønderbrogade 36 1.",
                "address2": "2200 København N",
                "streetName": "Sønderbrogade",
                "streetCode": 5192,
                "houseNumberFrom": 36,
                "houseNumberTo": null,
                "houseLetterFrom": null,
                "houseLetterTo": null,
                "floor": "1",
                "sideDoor": null,
                "postalCode": 2200,
                "postalDistrict": "København N",
                "cityName": null,
                "municipality": {
                    "name": "KØBENHAVN",
                    "code": 101
                },
                "coName": null,
                "postalBox": null,
                "freeText": null,
                "countryCode": "DK"
            },
            "from": "2013-08-16T00:00:00",
            "to": "2013-08-28T00:00:00",
            "current": false
        }, {
            "value": {
                "address1": "Sønderbrogade 36A 1.",
                "address2": "2200 København N",
                "streetName": "Sønderbrogade",
                "streetCode": 5192,
                "houseNumberFrom": 36,
                "houseNumberTo": null,
                "houseLetterFrom": "A",
                "houseLetterTo": null,
                "floor": "1",
                "sideDoor": null,
                "postalCode": 2200,
                "postalDistrict": "København N",
                "cityName": null,
                "municipality": {
                    "name": "KØBENHAVN",
                    "code": 101
                },
                "coName": null,
                "postalBox": null,
                "freeText": null,
                "countryCode": "DK"
            },
            "from": "2013-08-29T00:00:00",
            "to": "2018-08-09T00:00:00",
            "current": false
        }, {
            "value": {
                "address1": "Tietgensplads 37",
                "address2": "1550 København V",
                "streetName": "Tietgensplads",
                "streetCode": 6152,
                "houseNumberFrom": 37,
                "houseNumberTo": null,
                "houseLetterFrom": null,
                "houseLetterTo": null,
                "floor": null,
                "sideDoor": null,
                "postalCode": 1550,
                "postalDistrict": "København V",
                "cityName": null,
                "municipality": {
                    "name": "KØBENHAVN",
                    "code": 101
                },
                "coName": null,
                "postalBox": null,
                "freeText": null,
                "countryCode": "DK"
            },
            "from": "2018-08-10T00:00:00",
            "to": null,
            "current": true
        }
    ],
    "industry": [{
            "value": {
                "text": "Uoplyst",
                "code": "999999"
            },
            "from": "2012-05-14T00:00:00",
            "to": "2012-05-14T00:00:00",
            "current": false
        }, {
            "value": {
                "text": "Computerprogrammering",
                "code": "620100"
            },
            "from": "2012-05-15T00:00:00",
            "to": "2014-06-02T00:00:00",
            "current": false
        }, {
            "value": {
                "text": "Databehandling, webhosting og lignende serviceydelser",
                "code": "631100"
            },
            "from": "2014-06-03T00:00:00",
            "to": null,
            "current": true
        }
    ],
    "altIndustry1": [{
            "value": {
                "text": "Konsulentbistand vedrørende informationsteknologi",
                "code": "620200"
            },
            "from": "2012-05-15T00:00:00",
            "to": null,
            "current": true
        }
    ],
    "altIndustry2": [{
            "value": {
                "text": "Anden udgivervirksomhed",
                "code": "581900"
            },
            "from": "2017-01-19T00:00:00",
            "to": null,
            "current": true
        }
    ],
    "altIndustry3": [],
    "employees": [ {
            "value": {
                "interval": "ANTAL_20_49",
                "type": "Yearly",
                "month": 1,
                "year": 2018
            },
            "from": "2018-01-01T00:00:00",
            "to": "2018-12-31T00:00:00",
            "current": false
        },
        {
            "value": {
                "interval": "ANTAL_20_49",
                "type": "Quarterly",
                "month": 7,
                "year": 2019,
                "quarter": 3
            },
            "from": "2019-07-01T00:00:00",
            "to": "2019-09-30T00:00:00",
            "current": false
        },
        {
            "value": {
                "count": 15,
                "fullTimeEquivalentCount": 13.0,
                "interval": "ANTAL_10_19",
                "type": "Monthly",
                "month": 9,
                "year": 2020
            },
            "from": "2020-09-01T00:00:00",
            "to": "2020-09-30T00:00:00",
            "current": false
        }, {
            "value": {
                "count": 14,
                "fullTimeEquivalentCount": 12.0,
                "interval": "ANTAL_10_19",
                "type": "Monthly",
                "month": 10,
                "year": 2020
            },
            "from": "2020-10-01T00:00:00",
            "to": "2020-10-31T00:00:00",
            "current": false
        }
    ],
    "lastUpdated": "2018-08-10T13:47:01"
}