---
title: "List solar panel components"
method: GET
path: "/api/components/solar-panels"
tags: ["catalog"]
---

# List solar panel components

`GET /api/components/solar-panels`

## Request

- Base URL: `https://voltplan.app`
- URL: `https://voltplan.app/api/components/solar-panels`
- Auth: none declared

Components with `type = "power"` that are genuine solar panels, sorted by name. Power stations, generators and alternators share `type = "power"` and are excluded: a record is returned only when its name identifies a solar panel/module and it has a positive `watt` value. A PocketBase failure also answers 200 with `[]`.

## Response `200`

Matching components, sorted by name.

- CatalogSolarPanel[]
  - `id` string, required: Id of the `components` record.
  - `name` string, required: Product name.
  - `watt` number, required: Rated power in W; 0 when unset.
  - `voltage_in` number, required: Input voltage in V; 0 when unset.
  - `voltage_in_type` 'ac' | 'dc' | '', required: Input current type; '' when unset.
  - `voltage_out` number, required: Output voltage in V; 0 when unset.
  - `voltage_out_type` 'ac' | 'dc' | '', required: Output current type; '' when unset.
  - `icon` string, required: Icon file name in the PocketBase `components` collection; '' when none.
  - `type` 'power', required
  - `brand_name` string: Name of the expanded `brand` relation; omitted when the component has no brand.

---

[API](https://skmtc.dev/voltplan/apis/voltplan-api.md) · [All operations](https://skmtc.dev/voltplan/apis/voltplan-api/llms.txt) · [OpenAPI document](https://skmtc.dev/voltplan/apis/voltplan-api/revisions/575b86a7af92?raw)
