# Kalshi Settlement Data - The Weather Company Daily Values (`neverempty/kalshi-settlement-data`) Actor

The daily high, low, precipitation and snowfall The Weather Company publishes for Kalshi settlement, one row per station and day, with official, preliminary, revised or pending status, the climate code and the Kalshi series, event and settled result next to it. US and international.

- **URL**: https://apify.com/neverempty/kalshi-settlement-data.md
- **Developed by:** [NeverEmpty](https://apify.com/neverempty) (community)
- **Categories:** Developer tools, Agents, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.19 / 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

## Kalshi Settlement Data - The Weather Company Daily Values

**Kalshi settlement data for every daily weather market that settles on The Weather Company: the high, low, precipitation and snowfall TWC publishes for Kalshi, one row per station and day, with its status (official, preliminary, revised, pending or no report).** Each row also carries the Kalshi series, event, settled value and the markets that resolved Yes, so you can see in one place what TWC reported and how Kalshi settled it.

It covers the 48 US climate stations (NYC, MDW, LAX, AUS, MIA...) and the 21 international stations (London EGLL, Tokyo RJTT, Paris LFPG, Seoul RKSI...). No login, no API key. You pay only for station-day rows that have a value.

### What you get

- **The settlement source itself.** Values come from The Weather Company's Kalshi page (weather.com/kalshi), the source named in the rules of 94 Kalshi daily series: 45 high, 46 low and 3 rain series.
- **The status of each value.** `official`, `preliminary` and `revised` for US stations; `official` and `pending` (values of the day in progress) for international stations. A station-day with no report yet comes back as a free row, so you can tell "not published yet" from "zero".
- **The Kalshi market next to it.** For each station and day: the high, low and rain series that settle on that station, the event ticker, its status, Kalshi's settled value, the markets that resolved Yes, the markets the TWC value falls in, and whether the two agree.
- **Trace handled for you.** A reported trace ("T") is returned as `0` with `precipitationTrace: true`, the way Kalshi's rain rules read it.
- **Units as published.** US: degrees Fahrenheit and inches. International: degrees Celsius and millimeters. The unit is on every row.
- **Monitoring mode.** Run it on a schedule and get only the station-days that were published, finalized or revised since the last run.

### Who uses it

- Kalshi weather traders who want the settled value of each station without opening a page per city.
- Backtests and models that need the exact settlement value, not a value from another weather data source.
- Bots that watch for a value to move from preliminary to official, or for a revision.

### Inputs

| Field | Type | What it does |
|---|---|---|
| `lastDays` | integer | How many days to read, counted back from yesterday (UTC), or back from `endDate`. Default and prefill: 3. Up to 366. |
| `startDate` | string | First day, `YYYY-MM-DD`. With `startDate` alone the run reads up to yesterday. Values start on 2026-06-01. |
| `endDate` | string | Last day, `YYYY-MM-DD`. Today (UTC) at the latest. Empty = yesterday. |
| `regions` | array | `us`, `international`, or both (empty = both). |
| `stations` | array | Only these stations: the climate code Kalshi's rules use (`NYC`, `MDW`, `CLINYC` also works) or the ICAO code (`KNYC`, `EGLL`, `RJTT`). Empty = every station. |
| `includeKalshi` | boolean | Add the Kalshi high, low and rain market of each station and day. Default on, no extra charge. |
| `maxResults` | integer | Stop after this many station-day rows (free rows do not count). Default 1,000. |
| `monitoringMode` | boolean | Return only station-days that changed since the last run. Default off. |
| `resetMonitoringState` | boolean | Forget what monitoring remembered and start over. Turn it off again after one run. |

Example: the last 3 days for New York and London.

```json
{ "lastDays": 3, "stations": ["NYC", "EGLL"] }
```

### Output

One row per station and day. Example (New York City, 2026-10-20, shortened):

```json
{
  "status": "ok",
  "rowId": "2026-10-20:KNYC",
  "date": "2026-10-20",
  "region": "us",
  "stationIcao": "KNYC",
  "stationCliId": "NYC",
  "city": "New York City",
  "reportStatus": "official",
  "isFinal": true,
  "temperatureUnit": "F",
  "precipitationUnit": "in",
  "maxTemp": 67,
  "minTemp": 50,
  "precipitation": 0,
  "precipitationTrace": false,
  "snowfall": 0,
  "avgTemp": 58.6,
  "dailyMean": 59,
  "hdd": 6,
  "kalshiHighSeries": "KXHIGHNY",
  "kalshiHighEvent": "KXHIGHNY-26OCT20",
  "kalshiHighStatus": "finalized",
  "kalshiHighSettlementValue": 67,
  "kalshiHighYesMarkets": ["KXHIGHNY-26OCT20-B67.5"],
  "kalshiHighYesLabels": ["67° to 68°"],
  "kalshiHighTwcYesMarkets": ["KXHIGHNY-26OCT20-B67.5"],
  "kalshiHighMatchesTwc": true,
  "kalshiLowSeries": "KXLOWTNYC",
  "kalshiLowSettlementValue": 50,
  "kalshiLowMatchesTwc": true,
  "kalshiRainSeries": "KXRAIN",
  "kalshiRainSettlementValue": 0,
  "kalshiRainMatchesTwc": true,
  "requestUrl": "https://weather.com/kalshi/api/climate/primary?date=2026-10-20"
}
```

Main columns:

| Column | Meaning |
|---|---|
| `reportStatus` | The Weather Company's status: `official`, `preliminary`, `revised` (US) or `official`, `pending` (international). |
| `isFinal` | `true` when the status is official or revised. |
| `maxTemp`, `minTemp` | Daily high and low in `temperatureUnit`. `null` when not reported (never filled with 0). |
| `precipitation`, `snowfall` | In `precipitationUnit`. A trace is `0` with `precipitationTrace` / `snowfallTrace` set to `true`. |
| `stationCliId`, `stationIcao` | The climate code used in Kalshi's rules (NYC) and the ICAO code (KNYC). International stations have only the ICAO code. |
| `kalshiHighSeries`, `kalshiLowSeries`, `kalshiRainSeries` | The Kalshi daily series that settle on this station, when there is one. |
| `kalshi...SettlementValue` | The value Kalshi settled the event on (`null` while the event is open). |
| `kalshi...YesMarkets`, `kalshi...YesLabels` | The markets that resolved Yes and their titles. |
| `kalshi...TwcYesMarkets` | The markets whose range contains the TWC value, using Kalshi's own edge rules. |
| `kalshi...MatchesTwc` | `true` when Kalshi's settled value equals the TWC value. |
| `monitorStatus`, `changedFields` | In monitoring mode: `new` or `changed`, and which values changed. |

Edge rules used for `TwcYesMarkets`, read from Kalshi's market titles: in US markets "greater" leaves out the floor (floor 72 = "73° or above"); in international markets it includes it (floor 26 = "26°C or above"); "between" includes both ends; rain is "strictly greater than 0".

#### Free rows

Anything that is not a station-day with a value comes back as a free row with a `status` and a `note` that ends with "This row is not charged.": `no-report`, `unknown-station`, `invalid-input`, `before-history`, `robots-disallowed`, `blocked`, `unreadable`, `kalshi-unavailable`, `no-change-since-last-run`, `not-checked` and `budget-reached`.

### Pricing

Pay per result: **$3.00 per 1,000 station-day rows** with a value. Free rows are not charged. The Kalshi columns cost nothing extra.

A run stops before it goes over your spending limit and says so in a free `budget-reached` row.

### Monitoring mode

Turn on `monitoringMode` and run the Actor on a schedule. The first run returns every station-day once as a baseline. Later runs return only station-days where the report status, high, low, precipitation, snowfall or Kalshi settlement changed (for example preliminary to official, or a revised high).

Each station-day with a value that is checked costs **$0.30 per 1,000 station-day checks**, changed or not, plus the row price for the rows returned. Example: the last 3 days of the US every hour is about 104,000 checks a month, about $31, plus the rows that changed.

Do not put the same dates in two schedules that can run at the same time.

### Notes and limits

- The Weather Company's Kalshi values start on 2026-06-01, and some stations were added later. Earlier dates are not requested.
- The Actor follows weather.com's robots.txt, including its 10-second crawl delay, so each date and region takes about 10 seconds. The last 3 days for both regions takes about one minute; a full year takes about two hours, which the default run timeout allows for.
- Today's values are usually empty (US) or still in progress (international).
- The Kalshi columns are filled only for stations that have a Kalshi daily market settled on The Weather Company on that day.
- This Actor reads public pages. It is not affiliated with Kalshi or The Weather Company.

### Thanks for using this Actor

We build these tools for people who run them every day, and we improve them from what users tell us.

- **Missing a field, or need another filter?** Tell us in the **Issues** tab. If the data is there, we add it.
- **Found a bug or a wrong value?** Post the run ID in the **Issues** tab. Wrong data is the thing we fix first.

If this Actor saved you time, a short review helps other people find it.

# Actor input Schema

## `lastDays` (type: `integer`):

How many days to read, counted back from yesterday (UTC), or back from endDate when you set one. 3 = the last three days, the usual window in which US values move from preliminary to official. Ignored when both startDate and endDate are set. Up to 366.

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

First day to read, written as YYYY-MM-DD, for example 2026-07-01. With startDate alone the run reads from that day to yesterday. The Weather Company's Kalshi values start on 2026-06-01; earlier dates are not requested and a free row says so. Leave empty to use lastDays.

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

Last day to read, written as YYYY-MM-DD. Today (UTC) is the latest allowed day; values of today are usually still empty or preliminary. Leave empty for yesterday. The range can be up to 366 days.

## `regions` (type: `array`):

us = the 48 US climate stations of Kalshi's US markets (degrees Fahrenheit, inches). international = the 21 stations outside the US such as London EGLL, Tokyo RJTT or Paris LFPG (degrees Celsius, millimeters). Empty = both. Each region is one weather.com request per day.

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

Only these stations, one per line. US stations by the three-letter climate code Kalshi's rules use (NYC, MDW, LAX, AUS; CLINYC also works) or the ICAO code (KNYC); international stations by ICAO code (EGLL, RJTT). Lowercase is accepted. Empty = every station of the chosen regions. A code that matches no station comes back in one free 'unknown-station' row that lists the codes seen.

## `includeKalshi` (type: `boolean`):

On = every row also gets the Kalshi daily high, low and rain market settled on The Weather Company for that station and day: series, event, status, settled value, the markets that resolved Yes, the markets the TWC value falls in, and whether Kalshi's settled value equals the TWC value. Free of extra charge. Off = only The Weather Company values.

## `maxResults` (type: `integer`):

With monitoring off, the run stops once this many station-day rows have been returned, and a free row says what was not returned. Free rows do not count. In monitoring mode it does not limit the changed rows returned.

## `monitoringMode` (type: `boolean`):

Off = every station-day with a value comes back, charged per row. On = the Actor remembers each station-day's report status, high, low, precipitation, snowfall and Kalshi settlement, and later runs return only station-days where one of these changed (for example preliminary to official, or a revised value). The first run returns every station-day once as a baseline. In monitoring mode every station-day with a value costs $0.30 per 1,000 checks, changed or not, plus the row price for the rows returned. Example: the last 3 days of the US every hour = about 104,000 checks a month = $31, plus the rows that changed. Do not put the same dates in two schedules that can run at the same time.

## `resetMonitoringState` (type: `boolean`):

Clears every remembered station-day for this Actor, so the next monitoring run returns every station-day again as a first check. This affects all your monitoring runs. Turn it off again after one run: left on in a schedule, every run returns every row again and charges for it.

## Actor input object example

```json
{
  "lastDays": 3,
  "includeKalshi": true,
  "maxResults": 1000,
  "monitoringMode": false,
  "resetMonitoringState": false
}
```

# Actor output Schema

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

One row per station and day: The Weather Company's daily high, low, precipitation and snowfall used to settle Kalshi markets, the report status (official, preliminary, revised, pending), the station's ICAO and climate code, and the Kalshi daily high, low and rain market of that station and day with its settled value and Yes markets; in monitoring mode only station-days that changed. Stations without a value yet, unknown station codes, refusals and limits come back as free rows that say why.

# 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 = {
    "lastDays": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("neverempty/kalshi-settlement-data").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 = { "lastDays": 3 }

# Run the Actor and wait for it to finish
run = client.actor("neverempty/kalshi-settlement-data").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 '{
  "lastDays": 3
}' |
apify call neverempty/kalshi-settlement-data --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neverempty/kalshi-settlement-data"
        }
    }
}
```

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/UVGa5FasQD7ZaWUqn/builds/ftL3VjwctuCgHRzle/openapi.json
