---
title: "GET Solar Farm by ID"
method: GET
path: "/solar_farms/{solar_farm_id}"
tags: ["Solar Farms"]
---

# GET Solar Farm by ID

`GET /solar_farms/{solar_farm_id}`

## Request

- Base URL: `https://api.raptormaps.com/v2`
- URL: `https://api.raptormaps.com/v2/solar_farms/{solar_farm_id}`
- Auth: HTTP bearer

Retrieve a solar farm by its ID

## Path parameters

- `solar_farm_id` integer, required

## 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.dev/raptormaps/apis/next-gen-apis.md) - [All operations](https://skmtc.dev/raptormaps/apis/next-gen-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/raptormaps/apis/next-gen-apis/revisions/bc138d1c5182?raw)
