# NOAA Daily Weather Data API: High, Low, Rain by Station (`datacrate/us-station-daily-climate-feed`) Actor

Official NOAA NCEI daily highs, lows, precipitation, snow and wind for US weather stations (city presets or station ids). Delta mode for new or revised days. Free official API.

- **URL**: https://apify.com/datacrate/us-station-daily-climate-feed.md
- **Developed by:** [Data Crate](https://apify.com/datacrate) (community)
- **Categories:** Other, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 station day returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## NOAA Daily Weather Data API: High, Low, Rain by Station

**Get official NOAA daily weather observations (high, low, precipitation, snowfall, snow depth and average wind) for US weather stations as clean, flat rows.** Pick city presets (New York Central Park, Chicago Midway, Miami, Los Angeles, Denver and about 25 more) or any GHCN-Daily station id. Data comes from the free NOAA NCEI Data Service, the same official station records that weather-market contracts and climate reports are settled against. Delta mode returns only newly posted or revised days on a schedule, and every row carries NOAA attribution.

**First run cost:** the default run returns up to 15 station-days for about **$0.023** at **$0.0015 per result** (the first 5 seconds of compute are covered by Apify). 1,000 rows cost about **$1.50**, less on higher Apify plans.

### Who it is for

- **Prediction-market traders and bot builders** who need the official daily high, low and rainfall of a settlement station (for example NYC Central Park or Chicago Midway) as soon as NCEI posts it.
- **Analysts, energy and agriculture teams** who want daily weather history for a handful of stations in a table.
- **Developers and AI agents** that need one reliable call for "what was the high and rain at station X on day Y".
- **Journalists and researchers** comparing recent days with normal conditions.

### What you get per row

`stationId`, `stationName`, `date`, `tempMax`, `tempMin`, `precipitation`, `snowfall`, `snowDepth`, `windSpeedAvg`, `temperatureUnit`, `precipitationUnit`, `windSpeedUnit`, `qualityFlags`, `precipObservationTime`, `latitude`, `longitude`, `elevationM`, `changeType` (delta mode), `source`, `url`, `attribution`, `checkedAt`.

One row per station and day, newest days first. Days where the station reported none of the six measures are skipped and not billed.

### Input

| Field | Meaning |
|---|---|
| `stations` | city presets (`new-york`, `chicago`, `miami`, `los-angeles`, `denver`, `austin`, `houston`, `dallas`, `seattle`, `boston`, `atlanta`, `las-vegas`, `phoenix`, `san-francisco`, `washington`, `philadelphia`, `minneapolis`, `detroit`, `portland`, `salt-lake-city`, `honolulu`, `anchorage`, `new-orleans`, `oklahoma-city`, `san-antonio`, `tampa`, `charlotte`, `madison`, `chicago-ohare`, `houston-intercontinental`) or any 11-character GHCN-Daily id such as `USW00094728`. Empty = five default cities. |
| `daysBack` | window ending today (UTC), default 14. NCEI posts values a few days late, so the newest days can be empty. |
| `startDate`, `endDate` | optional `YYYY-MM-DD` window, overrides `daysBack` |
| `units` | `standard` (F, inches, mph, default) or `metric` (C, mm, m/s) |
| `maxItems` | cap on rows and cost (default 15) |
| `onlyNewSinceLastRun`, `stateKey` | delta mode, one watchlist per state name |

Default (prefill) input, which is also what an empty input runs:

```json
{ "stations": ["new-york", "chicago", "miami", "los-angeles", "denver"], "daysBack": 14, "maxItems": 15 }
```

Last 60 days of high, low and rain for Central Park in metric units:

```json
{ "stations": ["new-york"], "daysBack": 60, "units": "metric", "maxItems": 100 }
```

Daily schedule that only emits newly posted or corrected days:

```json
{ "stations": ["new-york", "chicago", "austin"], "daysBack": 10, "onlyNewSinceLastRun": true, "stateKey": "markets", "maxItems": 500 }
```

### Sample output (real run, 2026-11-23)

```json
{
  "stationId": "USW00094728",
  "stationName": "NY CITY CENTRAL PARK, NY US",
  "date": "2026-11-15",
  "tempMax": 49,
  "tempMin": 41,
  "precipitation": 0,
  "snowfall": 0,
  "snowDepth": 0,
  "windSpeedAvg": 6.93,
  "temperatureUnit": "F",
  "precipitationUnit": "in",
  "windSpeedUnit": "mph",
  "qualityFlags": null,
  "precipObservationTime": "24:00",
  "latitude": 40.77898,
  "longitude": -73.96925,
  "elevationM": 42.7,
  "source": "NOAA NCEI Global Historical Climatology Network - Daily (GHCN-Daily), daily-summaries",
  "url": "https://www.ncei.noaa.gov/access/search/data-search/daily-summaries?stations=USW00094728&startDate=2026-11-15&endDate=2026-11-15",
  "attribution": "Source: NOAA National Centers for Environmental Information (NCEI), GHCN-Daily (doi:10.7289/V5D21VHZ). Public domain (CC0 1.0). Not endorsed by or affiliated with NOAA."
}
```

### FAQ

**Which stations are supported?** Any station in GHCN-Daily (about 100,000 worldwide). The presets cover major US cities with the official airport or park station. Look up other station ids in the NCEI Climate Data Online station search.

**How fresh is the data?** NCEI posts daily summaries with a lag of a few days, and recent values are provisional. At the time of the sample above the newest posted day was 8 days old. Use delta mode to catch revisions: a day is returned again with `changeType: revised` if any value changes.

**What does `qualityFlags` mean?** NOAA runs automated quality checks. If a measure fails one, the NCEI quality flag is listed here (for example `TMAX:G`). It is empty for values that passed. Always check it before relying on a record.

**Why is a value null?** The station did not report that measure that day (many stations do not measure snow depth or wind). Null values are not zero.

**Does this match the NWS climate report (CLI) used by some markets?** NCEI daily summaries are the official archive and usually agree with the NWS daily climate report, but they are not the same document and can differ in timing and in provisional values. Check your contract's rules before settling anything on this data.

**Does it need an API key?** No. It uses the free NCEI Data Service with a descriptive User-Agent (`DataCrate-Apify/1.0`), paces requests and backs off on 429 or server errors.

**Delta mode?** With `onlyNewSinceLastRun` a station-day is returned only if it is new or any of its values changed since the last run with the same state name.

### Data source, license and robots evidence (checked 2026-11-23)

- Data comes from the NOAA NCEI Data Service API (`https://www.ncei.noaa.gov/access/services/data/v1`, dataset `daily-summaries`, which serves GHCN-Daily). No login or key.
- `https://www.ncei.noaa.gov/robots.txt` for `User-agent: *` disallows `/data*` and `/orders*` (plus some CRN paths); the API path `/access/services/...` is not covered by those rules. The actor makes only a few paced API calls per run.
- License: NOAA data disseminated under its Open Data Dissemination program is made available under the Creative Commons 1.0 Universal Public Domain Dedication (CC0 1.0), with "no restrictions on the use of the data" (NOAA Open Data Dissemination listing for GHCN-Daily on the Registry of Open Data on AWS, https://registry.opendata.aws/noaa-ghcn/). NOAA requests attribution for unaltered data and does not allow stating or implying endorsement. Every row carries the attribution.
- Cite as: Menne et al., Global Historical Climatology Network - Daily (GHCN-Daily), Version 3, NOAA NCEI, doi:10.7289/V5D21VHZ.
- Data carries NOAA's no-warranty and use-liability notices. This actor is not affiliated with, endorsed or sponsored by NOAA.

### Integrations

Schedule daily, send new or revised days to Slack, email, Google Sheets, a warehouse, or a trading bot through a webhook, or call it from an AI agent through the Apify MCP server. Export JSON, CSV or Excel.

### Pricing

Pay per result: **$0.0015 per station-day** (volume tiers on higher Apify plans), plus Apify's usual start event. Only rows returned are billed; `maxItems` caps the bill. Empty days and unchanged delta rows are not billed.

### Changelog

- 1.0: first release (30 city presets or any GHCN-Daily station id, standard or metric units, date window, quality flags, delta mode for new or revised days, NOAA attribution per row).

# Actor input Schema

## `stations` (type: `array`):

City presets (new-york, chicago, miami, los-angeles, denver, austin, houston, dallas, seattle, boston, atlanta, las-vegas, phoenix, san-francisco, washington, philadelphia, minneapolis, detroit, and more) or any 11-character GHCN-Daily station id such as USW00094728 (Central Park NYC). Empty = the five default cities.

## `daysBack` (type: `integer`):

Window ending today (UTC). NCEI posts values a few days late, so the newest days can be empty. Ignored when a start date is set.

## `startDate` (type: `string`):

Optional, YYYY-MM-DD. Overrides Days back.

## `endDate` (type: `string`):

Optional, YYYY-MM-DD. Defaults to today.

## `units` (type: `string`):

Standard = Fahrenheit, inches, mph. Metric = Celsius, millimetres, m/s.

## `maxItems` (type: `integer`):

Upper bound on station-day rows (and on cost). Newest days come first.

## `onlyNewSinceLastRun` (type: `boolean`):

Skip station-days already returned by an earlier run with the same state name and unchanged since. The first run returns everything and sets the baseline. Each row gets changeType new or revised. Ideal for a daily schedule that watches for newly posted or corrected values.

## `stateKey` (type: `string`):

Use different names to keep separate watchlists.

## Actor input object example

```json
{
  "stations": [
    "new-york",
    "chicago",
    "miami",
    "los-angeles",
    "denver"
  ],
  "daysBack": 14,
  "units": "standard",
  "maxItems": 15,
  "onlyNewSinceLastRun": false,
  "stateKey": "default"
}
```

# Actor output Schema

## `results` (type: `string`):

One row per station and day with high, low, precipitation, snowfall, snow depth, average wind, station location and attribution.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "stations": [
        "new-york",
        "chicago",
        "miami",
        "los-angeles",
        "denver"
    ],
    "daysBack": 14,
    "maxItems": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacrate/us-station-daily-climate-feed").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "stations": [
        "new-york",
        "chicago",
        "miami",
        "los-angeles",
        "denver",
    ],
    "daysBack": 14,
    "maxItems": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("datacrate/us-station-daily-climate-feed").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "stations": [
    "new-york",
    "chicago",
    "miami",
    "los-angeles",
    "denver"
  ],
  "daysBack": 14,
  "maxItems": 15
}' |
apify call datacrate/us-station-daily-climate-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datacrate/us-station-daily-climate-feed"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ebJAvuyCo33n1zIyb/builds/8EqIvPSebAJdNh3cV/openapi.json
