---
title: "GET Solar Farms"
method: GET
path: "/solar_farms"
tags: ["Solar Farms"]
---

# GET Solar Farms

`GET /solar_farms`

Get all solar farms in an organization. Farms can be sorted by name, size, country, state, or asset_id. Farms can be filtered by asset_id, country, name, or state. Endpoint is paginated and has a maximum page size of 100.

## Query parameters

- `org_id` integer, required
- `limit` integer
- `offset` integer
- `name` string, nullable
- `asset_id` string, nullable
- `country` string, nullable
- `state` string, nullable
- `user_id` integer, nullable
- `dir` 'asc' | 'desc', nullable
- `sort_by` 'name' | 'size' | 'asset_id' | 'country' | 'state'

## Response `200`

Successful Response

- Farm[]
  - `id` integer, required
  - `uuid` string, uuid, required
  - `name` string, nullable
  - `geom` string, nullable
  - `org_id` integer, nullable
  - `created_tsecs` integer, nullable
  - `updated_tsecs` integer, nullable
  - `solar_module_id` integer, nullable
  - `address` string, nullable
  - `module_layout` string, nullable
  - `module_mount` string, nullable
  - `commissioning_tsecs` integer, nullable
  - `size` number, nullable
  - `access_code` string, nullable
  - `ppa_rate` number, nullable
  - `peak_sunlight_hours_annual` integer, nullable
  - `country` string, nullable
  - `state` string, nullable
  - `asset_id` string, nullable
  - `latitude` number, nullable
  - `longitude` number, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/raptormaps/apis/raptor-maps-authentication.md) · [All operations](https://skmtc.net/raptormaps/apis/raptor-maps-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/raptormaps/raptor-maps-authentication/revisions/4887159079a9/schema)
