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

# /eprel/products/label

> Resolve the EU energy label artwork for one registered model and return a direct, publicly fetchable link to it, together with the media type and byte size the registry served. Available as vector SVG, print-ready PDF, PNG and a small PNG preview. Both the registry-generated label and the artwork the supplier uploaded can be requested.

**Price:** 20 credits

**⚠️ Common errors:** 412: The model is not registered under that product group, or it has no label in the requested format — commonly a model whose supplier uploaded its own artwork.



## OpenAPI

````yaml /openapi/gov-public-sector.json post /api/eprel/products/label
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/eprel/products/label:
    post:
      tags:
        - /eprel
      summary: /eprel/products/label
      description: >-
        Resolve the EU energy label artwork for one registered model and return
        a direct, publicly fetchable link to it, together with the media type
        and byte size the registry served. Available as vector SVG, print-ready
        PDF, PNG and a small PNG preview. Both the registry-generated label and
        the artwork the supplier uploaded can be requested.


        **Price:** 20 credits


        **⚠️ Common errors:** 412: The model is not registered under that
        product group, or it has no label in the requested format — commonly a
        model whose supplier uploaded its own artwork.
      operationId: __api_eprel_products_label_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EprelProductsLabelPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EprelDocument'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EprelProductsLabelPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        product_group:
          $ref: '#/components/schemas/EprelProductGroup'
        registration_number:
          type: string
          minLength: 1
        artwork_format:
          $ref: '#/components/schemas/EprelLabelFormat'
          default: PDF
        supplier_label:
          type: boolean
          default: false
      type: object
      required:
        - product_group
        - registration_number
    EprelDocument:
      properties:
        '@type':
          type: string
          default: EprelDocument
        id:
          type: string
        url:
          type: string
        product_id:
          type: string
        product_group:
          type: string
        document_type:
          type: string
        artwork_format:
          anyOf:
            - type: string
            - type: 'null'
        language:
          anyOf:
            - type: string
            - type: 'null'
        content_type:
          anyOf:
            - type: string
            - type: 'null'
        size_bytes:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
        - url
        - product_id
        - product_group
        - document_type
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    EprelProductGroup:
      type: string
      enum:
        - airconditioners
        - dishwashers
        - dishwashers2019
        - electronicdisplays
        - hotwaterstoragetanks
        - lamps
        - lightsources
        - localspaceheaters
        - ovens
        - professionalrefrigeratedstoragecabinets
        - rangehoods
        - refrigeratingappliances
        - refrigeratingappliances2019
        - refrigeratingappliancesdirectsalesfunction
        - residentialventilationunits
        - smartphonestablets20231669
        - solidfuelboilerpackages
        - solidfuelboilers
        - spaceheaterpackages
        - spaceheaters
        - spaceheatersolardevice
        - spaceheatertemperaturecontrol
        - televisions
        - tumbledriers
        - tumbledryers20232534
        - tyres
        - washerdriers
        - washerdriers2019
        - washingmachines
        - washingmachines2019
        - waterheaterpackages
        - waterheaters
        - waterheatersolardevices
    EprelLabelFormat:
      type: string
      enum:
        - SVG
        - PDF
        - PNG
        - THUMB_PNG
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````