# Energy regulator licences (ÚRSO)

> Holders of licences in network industries regulated by the Slovak Regulatory Office for Network Industries, including the segment and validity of the licence.

The Slovak Regulatory Office for Network Industries issues licences for business in electricity, gas, heat and water. Without a licence an entity may not operate in these sectors, so an entry is a condition of activity rather than an ornament.

## What the register contains
- Whether the entity holds a network industry licence
- The segment the licence covers
- Licence number and validity period

## Fields we return

| Field | Meaning |
| --- | --- |
| `has_licences` | Whether the entity holds at least one licence. |
| `segments` | Array of licences by segment. |
| `licence_number` | Licence number. |
| `segment` | Segment the licence covers. |
| `valid_from` | Date from which the licence is valid. |
| `valid_to` | Date until which the licence is valid, or null. |

## How to request the data

```http
GET /v1/company/ico/51636549?scope=utility_licence

{
  "utility_licence": {
    "has_licences": false,
    "segments": []
  }
}
```

## How often we update

Continuously, in hourly batches. We refresh the register in slices rather than one large monthly run so the source is never hit in a burst.

## What it is used for

When entering an energy supply agreement, a valid licence is the basic check. A supplier without one may not perform the contract, and the contract itself may be problematic.

The segments field is a list because one entity can hold licences in several segments at once – electricity supply and gas supply, for instance.

## Frequently asked questions

### Why refresh this register in slices?

Because pulling the whole register in one burst loads the source and has caused blocking in the past. Hourly batches achieve the same result without the risk.

### What does an empty segments array mean?

That the entity holds no licence in the latest known state of the register. If we fail to fetch the register we return an error, not an empty list.
