> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tic.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Boverket energy declarations for a property

> Returns the energy declarations (energideklarationer) Boverket holds for the property identified by its Lantmäteriet `fastighet` UUID. The kommun and fastighetsbeteckning are resolved from the cadastral record and sent to Boverket's public API. Results are cached locally for 30 days; pass `refresh=true` to force a live re-fetch.

<Badge color="green" size="sm">Pro+ tier</Badge>


## OpenAPI

````yaml get /properties/se/{externalId}/energy-declarations
openapi: 3.1.1
info:
  title: TIC Lens API
  description: "The TIC Lens API provides programmatic access to company, person, property, vehicle, and order data.\r\n\r\n## Authentication\r\n\r\nAll requests require an API key passed via the `x-api-key` header:\r\n\r\n```bash\r\ncurl -H \"x-api-key: YOUR_API_KEY\" https://lens-api.tic.io/companies/123\r\n```\r\n\r\nAPI keys are managed through the TIC Lens web application under **Settings → API Keys**.\r\n\r\n## Base URL\r\n\r\n| Environment | URL |\r\n|-------------|-----|\r\n| Production  | `https://lens-api.tic.io` |\r\n\r\n## Feature Access\r\n\r\nEndpoints are gated by your subscription plan. If your plan does not include a feature, the endpoint will return `403 Forbidden`.\r\n\r\n## Rate Limits\r\n\r\nRate limits are applied per API key. If you exceed the limit, requests will return `429 Too Many Requests`.\r\n\r\n## Response Format\r\n\r\nAll responses are JSON. Null values are omitted from responses.\r\n"
  version: v1
servers:
  - url: https://lens-api.tic.io
security:
  - ApiKey: []
tags:
  - name: Addresses
  - name: Bolagsverket
  - name: Brf
  - name: Companies
  - name: Documents
  - name: FlightImages
  - name: Free
  - name: Orders
  - name: OrdersExports
  - name: PaymentControl
  - name: PaymentControlImport
  - name: Persons
  - name: Properties
  - name: PublicSearch
  - name: SearchAutocomplete
  - name: Sentinel
  - name: ServingPermits
  - name: Team
  - name: Teams
  - name: Transportstyrelsen
  - name: Vehicles
  - name: WatchList
paths:
  /properties/se/{externalId}/energy-declarations:
    get:
      tags:
        - Properties
      summary: Get Boverket energy declarations for a property
      description: >-
        Returns the energy declarations (energideklarationer) Boverket holds for
        the property identified by its Lantmäteriet `fastighet` UUID. The kommun
        and fastighetsbeteckning are resolved from the cadastral record and sent
        to Boverket's public API. Results are cached locally for 30 days; pass
        `refresh=true` to force a live re-fetch.
      operationId: GetPropertyEnergyDeclarations
      parameters:
        - name: externalId
          in: path
          description: Lantmäteriet fastighet UUID
          required: true
          schema:
            type: string
            format: uuid
        - name: refresh
          in: query
          description: Bypass the local cache and re-fetch from Boverket
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: >-
            Energy declarations for the property (empty list if Boverket holds
            none)
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Ormeo_Web_Lens_Models_Properties_PropertyEnergyDeclarations_Dto
        '404':
          description: Property not found in the cadastral register
        '429':
          description: Boverket rate limit reached (10/2s, 1500/day)
        '502':
          description: Boverket could not be reached
components:
  schemas:
    Ormeo_Web_Lens_Models_Properties_PropertyEnergyDeclarations_Dto:
      type: object
      properties:
        propertyExternalUUID:
          type: string
          format: uuid
        kommun:
          type:
            - 'null'
            - string
        fastighetsbeteckning:
          type:
            - 'null'
            - string
        fromCache:
          type: boolean
        fetchedAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        declarations:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Boverket_Energideklarationer_Schema_Boverket_Energideklaration_Dto
      additionalProperties: false
    Ormeo_Library_Boverket_Energideklarationer_Schema_Boverket_Energideklaration_Dto:
      type: object
      properties:
        id:
          type:
            - 'null'
            - integer
          format: int64
        energiklass:
          type:
            - 'null'
            - string
        primarenergital:
          type:
            - 'null'
            - string
        energiprestanda:
          type:
            - 'null'
            - string
        radonmatning:
          type:
            - 'null'
            - string
        ventilationskontroll:
          type:
            - 'null'
            - string
        byggnadsar:
          type:
            - 'null'
            - integer
          format: int32
        utford:
          type:
            - 'null'
            - string
        giltighet:
          type:
            - 'null'
            - string
        fastigheter:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Boverket_Energideklarationer_Schema_Boverket_Fastighet_Dto
        additionalData:
          type:
            - 'null'
            - object
          additionalProperties:
            $ref: '#/components/schemas/System_Text_Json_JsonElement'
      additionalProperties: false
    Ormeo_Library_Boverket_Energideklarationer_Schema_Boverket_Fastighet_Dto:
      type: object
      properties:
        kommun:
          type:
            - 'null'
            - string
        fastighetsbeteckning:
          type:
            - 'null'
            - string
        adresser:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Boverket_Energideklarationer_Schema_Boverket_Adress_Dto
        additionalData:
          type:
            - 'null'
            - object
          additionalProperties:
            $ref: '#/components/schemas/System_Text_Json_JsonElement'
      additionalProperties: false
    System_Text_Json_JsonElement:
      type: object
      properties:
        valueKind:
          $ref: '#/components/schemas/System_Text_Json_JsonValueKind'
      additionalProperties: false
    Ormeo_Library_Boverket_Energideklarationer_Schema_Boverket_Adress_Dto:
      type: object
      properties:
        adress:
          type:
            - 'null'
            - string
        postnummer:
          type:
            - 'null'
            - string
        postort:
          type:
            - 'null'
            - string
        additionalData:
          type:
            - 'null'
            - object
          additionalProperties:
            $ref: '#/components/schemas/System_Text_Json_JsonElement'
      additionalProperties: false
    System_Text_Json_JsonValueKind:
      enum:
        - undefined
        - object
        - array
        - string
        - number
        - 'true'
        - 'false'
        - 'null'
      type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````