# Weather Underground Forecast API

> Retrieve 7-day daily and 2-day hourly weather forecasts for a latitude/longitude. Daily forecast includes temperature ranges, precipitation, moon/sun times, and narrative summaries with daypart breakdowns.

Source: https://www.sandbase.ai/model/weather-underground/forecast
API reference: https://www.sandbase.ai/model/weather-underground/forecast/docs

## Facts

- Provider: Weather Underground
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/weather-underground/forecast`
- Price: $0.03 per call
- Capabilities: api, weather underground, web scraping
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/weather-underground/forecast` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `lat` | number | yes |  |
| `lon` | number | yes |  |
| `units` | string | no |  |

## FAQ

### How do I use the Weather Underground Forecast API?

Send a POST request to https://api.sandbase.ai/v1/api/weather-underground/forecast with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Weather Underground Forecast API cost?

$0.03 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Weather Underground Forecast API accept?

Required: lat (number) and lon (number). Optional: units (string). The Parameters table and the Playground on this page list every field.

### What does the Weather Underground Forecast API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a Weather Underground developer account or API key?

No. Weather Underground Forecast runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Weather Underground API access separately.

## README

### Weather Underground Forecast

Retrieve 7-day daily and 2-day hourly weather forecasts for a latitude/longitude. Daily forecast includes temperature ranges, precipitation, moon/sun times, and narrative summaries with daypart breakdowns.
