Skip to content
Dave's Sweater

Free Data and API

Every forecast is a claim about tomorrow, and the data behind it is public. We find it, vet it, grade it, and hand it back free. Here is the whole tracker as a JSON API, a set of RSS feeds, and a forecast widget you can drop on your own site.

License and attribution

The data is licensed Creative Commons Attribution 4.0 (CC BY 4.0). Use it anywhere, including commercially. The one condition is credit. Attribute it like this:

Data by Dave's Sweater, CC BY 4.0

Every JSON response also carries license and attribution fields, and the widget credits us in its footer.

JSON API

Base URL https://davessweater.com/api/v1. CORS is open, responses are edge-cached to the daily data cadence, and unknown towns return a 404 that lists the valid slugs. A town appears only once it has crossed the same track-record gate the site uses, so a thin sample is never dressed up as a dataset.

GET/api/v1/forecast

The Dave's Sweater Index consensus forecast, N days out.

Params: town, days (1|3|5), detail (summary|full)

https://davessweater.com/api/v1/forecast?town=boone&days=3&detail=summary
GET/api/v1/today

Today's consensus forecast and sweater verdict.

Params: town, detail

https://davessweater.com/api/v1/today?town=boone
GET/api/v1/scores

The season scoreboard: per-source average score and Right-Meh-Wrong record.

Params: town

https://davessweater.com/api/v1/scores?town=boone
GET/api/v1/verdict

The daily Right/Wrong Ray result for a scored day (defaults to the latest).

Params: town, date (YYYY-MM-DD)

https://davessweater.com/api/v1/verdict?town=boone
GET/api/v1/towns

The town registry: slugs, names, coordinates, elevation, scored-day counts.

Params:

https://davessweater.com/api/v1/towns

RSS feeds

Prerendered feeds for readers that do not speak JSON. Each town past the gate gets 1, 3, and 5-day forecast feeds plus a daily Right/Wrong Ray verdict feed.

Embeddable widget

Drop today's consensus forecast on your own site. Paste this where you want it. Set data-town, data-days (1, 3, or 5), and data-detail (summary or full). It loads no trackers and sizes itself to fit.

<script src="https://davessweater.com/widget.js"
        data-town="boone"
        data-days="3"
        data-detail="summary" async></script>

Preview: the Boone 3-day card.

Questions, or a town you want tracked? Start here.