Gå til hovedinnhold
This API is legacy. It stays available for existing integrations; new work uses the Placepoint API.
Note! This documentation is automatically generated. Information may be incomplete or contain errors, especially screenshots and code samples. We'd love your feedback: use the "Did you find what you were looking for?" widget below, the chat in the bottom right, or email support@placepoint.no - we'll get back to you as soon as we can.

Get current location of a company

GET 

/companies/:org_nr/current-location

Company Current Location Endpoint

Overview

Returns the company's currently-open occupancy interval — the address where the company's forretningsadresse is registered right now.

An open interval is one where valid_to is null. Returns 404 if the company is deregistered or has never been seen.

Data is sourced from the occupancy_intervals collection in the PropCloud Leads database, which is built from Enhetsregisteret address change events.

Example Request

curl -X 'GET' \
'https://apis.propcloud.no/api/public/companies/935112885/current-location' \
-H 'accept: application/json' \
-H 'api-key: YOUR_API_KEY'

Response Description

KeyDescriptionBeskrivelseSource
orgNrOrganization numberOrganisasjonsnummerEnhetsregisteret
orgNameName of the organizationNavn på organisasjonenEnhetsregisteret
orgFormOrganization form code (e.g. AS, ENK)Organisasjonsformkode (f.eks. AS, ENK)Enhetsregisteret
orgFormDescriptionHuman-readable description of the organization formLesbar beskrivelse av organisasjonsformenEnhetsregisteret
employeeCountNumber of registered employees at the start of the intervalAntall registrerte ansatte ved intervallets startEnhetsregisteret
propertyIdNmaPropCloud property identifier for the resolved locationPropCloud-eiendomsidentifikator for den løste lokasjonenPropCloud
businessAddressRaw business address string as registered in EnhetsregisteretRå forretningsadresse slik den er registrert i EnhetsregisteretEnhetsregisteret
validFromDate when the company moved to this address (YYYY-MM-DD)Dato da selskapet flyttet til denne adressen (YYYY-MM-DD)Enhetsregisteret
validFromIsLowerBoundtrue if validFrom is an estimated lower bound rather than the exact move-in datetrue hvis validFrom er et estimert nedre grense og ikke den eksakte innflyttingsdatoenPropCloud

Request

Responses

Successful Response

Note! This documentation is automatically generated. Information may be incomplete or contain errors, especially screenshots and code samples. We'd love your feedback: use the "Did you find what you were looking for?" widget below, the chat in the bottom right, or email support@placepoint.no - we'll get back to you as soon as we can.