Generate weather files

Forecast file (next 1-15 days)

Forecast weather file for the coming days. 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.

post/api/generate/forecast

Request

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

Headers

X-API-Keystring nullable

Request body

latnumber required
lonnumber required
location_namestring required
forecast_daysinteger
dc_editionstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.