Production Units

/production-units/nearby

Search production units near a location.

Returns P-enheder within the specified radius, sorted by distance. This is useful for finding all business locations (stores, offices, etc.) near a geographic point.

Example: Find all stores within 5km of Copenhagen: /v1/production-units/nearby?lat=55.6761&lng=12.5683&radius=5000

get/v1/production-units/nearby

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/production-units/nearby
  • Auth: HTTP bearer

Query parameters

latnumber required

Latitude of center point

lngnumber required

Longitude of center point

radiusinteger

Search radius in meters (min 50m, max 50km)

statusstring nullable

Filter by status (active, dissolved)

include_dissolvedboolean

Include dissolved P-enheder

industrystring nullable

Filter by industry code

pageinteger

Page number

limitinteger

Results per page

Response

Successful Response

metaobject

Response metadata

paginationobject

Pagination info: page, limit, total, pages

Example response

{
  "data": [
    {
      "p_number": "1234567890",
      "cvr": "12345678",
      "status": "active",
      "address": {
        "postal_code": "1000",
        "postal_district": "København K",
        "municipality_code": "101",
        "municipality_name": "København",
        "street": "Rådhuspladsen 1"
      },
      "industry": {
        "primary_code": "620100",
        "primary_text": "Computerprogrammering",
        "secondary": [
          {
            "code": "620100"
          }
        ]
      },
      "employees": {
        "count": 25,
        "interval": "10-19",
        "year": 2024,
        "month": 7
      },
      "location": {
        "coordinates": [
          12.5683,
          55.6761
        ]
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.