Retrieve A Single Site

Request

GET https://backend.net0.com/v1/sites/{siteId}

This endpoint allows for the retrieval of a single site (physical location) available on your Net0 account.

curl --location --request GET 'https://backend.net0.com/v1/sites/ca324611-a5e1-4bc4-8c48-e9bf4b57e842' \
--header 'x-api-key: <API_KEY>'

Parameters

AttributeTypeDescriptionIn
siteIdStringThis is the id of the site to be fetched.path

Response

The response is the fetched site.

{
    "id": "ca324611-a5e1-4bc4-8c48-e9bf4b57e842",
    "name": "ABC",
    "address": {
        "coordinates": {
            "lat": 52.52000659999999,
            "lng": 13.404954
        },
        "address": "Berlin, Germany"
    },
    "area": 2151,
    "unit": "FT2",
    "avatarUrl": null,
    "totalEmission": 0,
    "possessionType": "Owned",
    "companyId": 2,
    "countryId": 81,
    "gridRegionId": null,
    "createdAt": "2021-11-23T14:17:12.968Z",
    "updatedAt": "2021-11-23T14:17:12.968Z"
}