Documentation Python quickstart Blog Free tools Enterprise solutions hello@quanticdata.ioLog in
All collectors

Weather API

Research & science · v1.2.0 · weather_forecast

$0.0002 / day

$0.20 / 1K · pay per delivered day

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

What it does

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.

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.

Outputs — 28 fields, one row per day

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.
feels_like_max_cnumber · nullableMaximum apparent temperature, °C.
feels_like_min_cnumber · nullableMinimum apparent temperature, °C.
rain_mmnumber · nullableRain, mm.
snowfall_cmnumber · nullableSnowfall, cm.
precipitation_hoursnumber · nullableHours with precipitation.
wind_gusts_kmhnumber · nullableMaximum wind gusts, km/h.
wind_direction_degnumber · nullableDominant wind direction, degrees.
uv_index_maxnumber · nullableMaximum UV index.
sunshine_hoursnumber · nullableHours of sunshine.
sunrisestring · nullableSunrise, local time of the place.
sunsetstring · nullableSunset, local time of the place.
regionstring · nullableFirst-level administrative region of the geocoded place.
country_codestring · nullableISO country code of the geocoded place.
elevation_mnumber · nullableElevation of the forecast grid cell, metres.
timezonestring · nullableIANA timezone of the place.

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 '{}'

Example response

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

Try it

Weather (Open-Meteo), running now

Change the input and run it against the live collector — nothing to install, no sign-up.

Run it from your own code, on your own inputs

Same collector, same rows — $2 of free API credit every month, no card.

Get my free API key
Weather API: from location, latitude and longitude, QuanticData reads the weather forecast and returns one row per day with date, weather and temp_max_c, at $0.0002 per delivered day.
You send location and latitude; the run reads the source and comes back as days with rank, date and weather — 28 fields on every row — and you are billed $0.0002 for each day actually delivered, nothing for a run that delivers none.
$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

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

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.

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

What people search for

Live autocomplete demand around Weather (Open-Meteo), pulled with our own Keyword ideas collector.

Weather API: the POST to the weather_forecast collector, 30 days delivered and the bill, 30 × $0.0002 = $0.006 in usage.cost_usd; zero days would cost $0.
The same call you would paste into a terminal: a Bearer key, location, latitude and longitude in the body, and back the envelope every QuanticData endpoint returns — type, message, payload — where count is how many days arrived and usage.cost_usd is $0.006, which is 30 × $0.0002. A run that delivers nothing costs nothing. The key is good for 60 req/min on the free tier.

Sources and standards

The platform documentation and standards this collector is built against — check any claim on this page against the primary source:

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.

Run in dashboard
Illustration: three coloured zones of the page that is read (Weather forecast) turn into clean JSON with the fields date, weather and temp_max_c; 28 fields on every row.