---
title: "Actual year with NSRDB satellite solar (Americas)"
method: POST
path: "/api/generate/psm3"
tags: ["Generate weather files"]
---

# Actual year with NSRDB satellite solar (Americas)

`POST /api/generate/psm3`

## Request

- Base URL: `https://epw.tools`
- URL: `https://epw.tools/api/generate/psm3`
- Auth: API key in header `X-API-Key`

Actual year using NREL NSRDB satellite solar (Americas only). 1 credit.

Starts a background job and returns `{"job_id": ...}` immediately. Credits are charged on submission and refunded if the job fails; the balance after the call is in the `X-Credits-Remaining` response header. Then poll `GET /api/jobs/{job_id}`, stream `/api/jobs/{job_id}/stream`, or register a webhook.

## Headers

- `X-NREL-Key` string, nullable
- `X-API-Key` string, nullable

## Request body

- PSM3Request
  - `lat` number, required
  - `lon` number, required
  - `location_name` string, required
  - `year` integer, required
  - `psm3_api_key` string, required
  - `dc_edition` string

## Response `200`

Successful Response

- unknown

## Other responses

- `402`: Insufficient credits for this operation.
- `422`: Validation Error
- `429`: Rate limit exceeded — retry after a short delay.

---

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