Documentation Blog Free tools [email protected]Log in

Weather API

A weather API without a key at any layer: pass a city name — geocoding is handled — or exact coordinates, and each day returns as a row with min and max temperature, precipitation sum and probability, peak wind speed and a readable conditions label beside the WMO code. Forecasts reach 16 days ahead, and past_days prepends up to 92 days of recent history in the same call.

$0.0002 per delivered day · $2 free every month · Failed runs never billed

POST /v1/scraper/collectors/weather_forecast/run
$ curl $QD/weather_forecast/run \
    -H "Authorization: Bearer $QD_API_KEY" \
    -d '{}'
{ "status": "done", "count": 10,
  "results": [
    {
      "date": "…",
      "weather": "…",
      "weather_code": …,
      "temp_max_c": … } ],
  "cost": 0.002 }
# 10 days × $0.0002 · nothing delivered, nothing charged
$0.0002 / day10,000 days on the free $2 every month
Semantic inputlocation, latitude, longitude — no URL lists
Up to 30days per run, pagination handled for you
No browserread over HTTP/TLS — cheaper and faster than rendering

What a weather API does

The source is Open-Meteo, the free weather API that made paid keys feel optional — and the origin genuinely costs nothing. What the collector adds is the geocoding step, the flat daily rows and the shared row format, so weather lands in the same pipeline, under the same single key, as every other dataset you pull here.

Historical weather is the underrated half: past_days reaches back up to 92 days in the same row shape as the forecast, producing one continuous daily series. That is the join that explains a metric — a sales dip, a traffic spike, delivery delays — against what the sky was doing, keyed on nothing more exotic than a date column.

What one day looks like

Every delivered day carries these fields. Nullable means the source did not publish it — the field stays empty instead of being guessed.

FieldTypeWhat it holds
rankinteger1-based position.
datestringDay (YYYY-MM-DD, local time).
weatherstring · nullableConditions label.
weather_codeinteger · nullableWMO code.
temp_max_cnumber · nullableMax temperature °C.
temp_min_cnumber · nullableMin temperature °C.
precipitation_mmnumber · nullablePrecipitation sum, mm.
precipitation_probabilitynumber · nullableMax precipitation probability %.
wind_max_kmhnumber · nullableMax wind speed km/h.
locationstring · nullableResolved place name.
countrystring · nullableCountry.
latitudenumberLatitude used.
longitudenumberLongitude used.

Inputs

The whole request. Anything you leave out falls back to the default shown in the catalog.

InputTypeRequiredWhat it does
locationstringnoCity or place name (geocoded).
latitudenumbernoExact latitude (skips geocoding).
longitudenumbernoExact longitude.
daysintegernoDays ahead (1-16).
past_daysintegernoRecent history to prepend (0-92).
max_resultsintegernoHow many days to deliver at most (1–30). You pay only for delivered days.

Pricing

Weather API pricing

$0.0002 per delivered day. A run that delivers nothing costs nothing: blocked pages, challenges and retries are on us, and the $2 monthly allowance covers about 10,000 days before you spend anything.

$0.0002per delivered day$0.2 per 1,000 delivered days
10,000 dayson the free allowance$2 every month, no card
Zero rowszero chargeblocks, captchas and retries are on us
−30%on volume tiersthe catalog returns your key's price

Pay as you go

$0/mo
  • $2 free credit / month
  • 60 requests / min
  • List unit prices

Starter

$19/mo
  • $15 free credit / month
  • 300 requests / min
  • 10% off unit prices

Scale

$299/mo
  • $250 free credit / month
  • 1,200 requests / min
  • 30% off unit prices

Same wallet, same key and same $2 monthly allowance as every other Data API. Prices are launch pricing read live from the billing config — GET /v1/scraper/collectors returns the price your key actually pays.

Integration

One POST, typed rows

Base URL https://api.quanticdata.io/v1, Bearer auth, the same key as every other Data API. Endpoint: POST /v1/scraper/collectors/weather_forecast/run.

curl -X POST https://api.quanticdata.io/v1/scraper/collectors/weather_forecast/run \
  -H "Authorization: Bearer $QD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

What people build with the weather API

Three shapes of work this endpoint was designed around.

Demand modelling features

Join daily temperature and precipitation onto sales or footfall by date, and the weather becomes a feature column instead of an anecdote.

Operational planning rows

A 16-day outlook for a site — wind, rain probability, temperature bands — lands as a table a scheduler or a dashboard reads directly.

Recent-weather backfill

Rebuild the last weeks of daily conditions with past_days to test whether an anomaly in your numbers tracks an anomaly in the weather.

Weather API versus rolling your own

The differences that actually cost time when you build this in-house.

DIY scraperThis collector
Key managementA weather account and token to babysitNone at the source; your one key covers it
Place inputLook up coordinates before you can askA place name is geocoded for you
HistoryA separate archive product and formatpast_days prepends history as identical rows

FAQ

Questions we get about the weather API.

Something else? Ask us →

Is this weather API really free of a weather-specific key?

Yes — Open-Meteo is keyless at origin and the collector keeps it that way. The only credential involved is your QuanticData key, the same one that meters every other collector, so there is no second account to hold.

Can I get historical weather as well as the forecast?

Recent history, yes: set past_days up to 92 and those days are prepended to the forecast in the same daily shape — enough to join weather onto a quarter's worth of business metrics. Deeper archives are out of scope for this collector.

Is the data hourly or daily?

Daily — one row per day with temperature extremes, precipitation, wind and the WMO condition code, for up to 16 forecast days. There is no hourly breakdown, which keeps a multi-week series compact enough to join anywhere.

Is there a free weather API?

Every account gets $2 of credit every month with no card, which is about 10,000 delivered days on this endpoint at $0.0002 each. It renews monthly, and a run that delivers nothing is never billed — so a failed or blocked attempt does not eat the allowance.

How much does one run cost?

Multiply the rows you actually receive by $0.0002. A run capped at 30 days — the maximum for this collector — costs $0.006 if every row comes back, and less when the source has fewer. Volume tiers take up to 30% off, and GET /v1/scraper/collectors returns the price your key actually pays.

Run the weather API now

$2 of free credit every month, no card. Your key returns its own prices from GET /v1/scraper/collectors.

Get my free API key
Get my free API key