Retrieve Multiple Sites

Request

GET https://backend.net0.com/v1/sites

This endpoint allows for the retrieval of all sites (physical locations) available on your Net0 account.

curl --location --request GET 'https://backend.net0.com/v1/sites' \
--header 'x-api-key: <API_KEY>'

Response

The response is an array containing all the available sites on your Net0 account.

[
    {
        "id": "d7f67e75-ca96-4374-8702-fab50dd43b43",
        "name": "New Providence Site",
        "address": {
            "address": "New Providence Garden, Lekki, Lagos",
            "coordinates": {
                "lat": "6.457828405855804",
                "lng": "3.553892929988102"
            }
        },
        "area": 75,
        "unit": "M2",
        "avatarUrl": "https://picsum.photos/200/300",
        "totalEmission": 0,
        "possessionType": "Owned",
        "companyId": 2,
        "countryId": 39,
        "gridRegionId": 28,
        "createdAt": "2021-11-25T21:41:06.085Z",
        "updatedAt": "2021-11-25T21:41:06.085Z"
    },
    {
        "id": "da450a9f-299a-467f-bb38-846476e33dd6",
        "name": "New Providence Site",
        "address": {
            "address": "New Providence Garden, Lekki, Lagos",
            "coordinates": {
                "lat": "6.457828405855804",
                "lng": "3.553892929988102"
            }
        },
        "area": 75,
        "unit": "M2",
        "avatarUrl": "https://picsum.photos/200/300",
        "totalEmission": 0,
        "possessionType": "Owned",
        "companyId": 2,
        "countryId": 39,
        "gridRegionId": null,
        "createdAt": "2021-11-25T21:40:40.768Z",
        "updatedAt": "2021-11-25T21:40:40.768Z"
    },
    {
        "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"
    },
    {
        "id": "8fd23068-139b-44db-be74-1f8513715e9e",
        "name": "Net0 London",
        "address": {
            "coordinates": {
                "lat": 51.50362699999999,
                "lng": -0.015056
            },
            "address": "30 Churchill Pl, London E14 5EU, UK"
        },
        "area": 22,
        "unit": "M2",
        "avatarUrl": null,
        "totalEmission": 1193796.25,
        "possessionType": "Owned",
        "companyId": 2,
        "countryId": 229,
        "gridRegionId": null,
        "createdAt": "2021-11-22T14:44:11.085Z",
        "updatedAt": "2021-11-24T05:04:48.017Z"
    },
    {
        "id": "ba638375-afa1-43a3-bd56-9cf7e99a1dfa",
        "name": "Test Site",
        "address": {
            "coordinates": {
                "lat": 53.5510846,
                "lng": 9.9936819
            },
            "address": "Hamburg, Germany"
        },
        "area": 10000,
        "unit": "M2",
        "avatarUrl": null,
        "totalEmission": 0,
        "possessionType": "Owned",
        "companyId": 2,
        "countryId": 81,
        "gridRegionId": null,
        "createdAt": "2021-11-22T14:40:09.447Z",
        "updatedAt": "2021-11-22T14:40:09.447Z"
    }
]