# 7-day weather forecast for Houston, TX

**Use case:** 

The official National Weather Service forecast for Houston, TX (29.7604, -95.3698): each period with its name, temperature, wind, precipitation chance and the forecaster's own wording, from the HGX office that covers this point. The point falls in HGX grid cell 63,95, forecast zone TXZ213. No model of our own sits in between - the rows are what api.weather.gov publishes.

## Input

```json
{
  "locations": [
    {
      "label": "Houston, TX",
      "latitude": 29.7604,
      "longitude": -95.3698
    }
  ],
  "hourly": false,
  "maxRetries": 3
}
```

## Output

```json
{
  "label": {
    "label": "Location",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "periodName": {
    "label": "Period",
    "format": "string"
  },
  "startTime": {
    "label": "Starts",
    "format": "string"
  },
  "temperatureF": {
    "label": "°F",
    "format": "integer"
  },
  "temperatureC": {
    "label": "°C",
    "format": "number"
  },
  "precipitationProbabilityPercent": {
    "label": "Rain %",
    "format": "integer"
  },
  "windSpeed": {
    "label": "Wind",
    "format": "string"
  },
  "windDirection": {
    "label": "Dir",
    "format": "string"
  },
  "shortForecast": {
    "label": "Forecast",
    "format": "string"
  },
  "detailedForecast": {
    "label": "Details",
    "format": "string"
  },
  "source": {
    "label": "Source",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Weather Forecast Scraper - NWS Weather Forecast API, Hourly](https://apify.com/neverempty/us-weather-forecast-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/neverempty/us-weather-forecast-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/neverempty/us-weather-forecast-api.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
