---
title: "/companies/{cvr}/livestock"
method: GET
path: "/v1/companies/{cvr}/livestock"
tags: ["Companies"]
---

# /companies/{cvr}/livestock

`GET /v1/companies/{cvr}/livestock`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/companies/{cvr}/livestock`
- Auth: HTTP bearer

Livestock herds (husdyrbesætninger) registered to the company in CHR,
Det Centrale Husdyrbrugsregister (Fødevarestyrelsen). Per herd: CHR
number, species, usage, per-category herd sizes and organic status,
plus the location of the CHR-nummer (address and, where the stald
coordinate resolves to a property in the matrikel register, its BFE
number). Populated for active companies with an agriculture/fishery
industry code; refreshed continuously.

## Path parameters

- `cvr` string, required

## Response `200`

Successful Response

- CompanyLivestockResponse
  - `total` integer, required
  - `total_animals` integer, nullable
  - `species` string[]
  - `assessed_at` string, date-time, nullable
  - `herds` LivestockHerd[]
    - `chr_number` integer, nullable
    - `herd_number` integer, nullable
    - `species` string, nullable
    - `usage` string, nullable
    - `business_type` string, nullable
    - `sizes` LivestockHerdSize[]
      - `label` string, nullable
      - `count` integer, nullable
    - `total_animals` integer, nullable
    - `organic` boolean
    - `sizes_updated_at` string, date-time, nullable
    - `created_date` string, date-time, nullable
    - `updated_date` string, date-time, nullable
    - `property` LivestockHerdProperty
      - `bfe_number` integer, nullable: BFE number of the property the herd stands on, resolved from the CHR stald coordinate via the matrikel register
      - `address` string, nullable: Location address of the CHR-nummer (the herd's physical site)
      - `has_page` boolean: Whether property data exists for the BFE (i.e. a property page can be linked)

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
