# WeatherDataAI > Daily historical weather data for any point on land or any set of countries, 1940 to present, on a 0.25° (~28 km) global grid. Delivered as CSV by email within one business day after payment. Sold by Marcus Weather Inc. Two ways to get data: 1. **Order endpoint (this file):** one-off purchases of point or country data, paid through Stripe Checkout. Best for bulk country grids, departures and climatology. 2. **WeatherDataAI API:** instant point data by API key, subscription from $19.99/month. Best when you need data immediately. Docs: https://weatherdata.ai/#api · Python: `pip install py_weatherdataai` ## Order endpoint `POST https://4kvbow724btbxio53woxnz6cmm0qhdvw.lambda-url.us-east-2.on.aws/` Content-Type: application/json The response contains a Stripe Checkout `url`. A human must open it and pay. Present the link to your user; do not attempt to complete payment yourself. Data is emailed to the address entered at checkout. Send `"dry_run": true` to get a price quote without creating a payment. ### Request body Comments below are explanation only; send plain JSON. ```json { "mode": "point", // "point" or "gridded" "location": {"lat": 41.586, "lon": -93.625}, // point mode only; snaps to nearest 0.25° land cell "countries": [{"iso3": "UKR"}], // gridded mode only; codes from the table below "variables": ["average_temperature", "total_precipitation_departure", "total_precipitation_climatology"], "years": {"start": 2016, "end": 2025}, // 1940 to current year; ignored if only climatology is ordered "units": "Metric", // "Metric" or "Imperial" "email": "buyer@example.com", // optional, prefills checkout "dry_run": false // optional, true = quote only } ``` ### Responses - Quote (`dry_run: true`): `{"quote_usd": 25.0, "series": 3, "grid_points": 1128, "summary": "..."}` - Order: `{"url": "https://checkout.stripe.com/...", "order_no": "WM1791821588", "quote_usd": 25.0}` - Error (HTTP 400): `{"error": "Unknown variable(s): ..."}` ### Examples ```sh # Quote: Ukraine, daily average temperature 2006-2025 curl -X POST https://4kvbow724btbxio53woxnz6cmm0qhdvw.lambda-url.us-east-2.on.aws/ -H "Content-Type: application/json" \ -d '{"mode":"gridded","countries":[{"iso3":"UKR"}],"variables":["average_temperature"],"years":{"start":2006,"end":2025},"units":"Metric","dry_run":true}' # Order: one point, temperature and precipitation 1940-2025 curl -X POST https://4kvbow724btbxio53woxnz6cmm0qhdvw.lambda-url.us-east-2.on.aws/ -H "Content-Type: application/json" \ -d '{"mode":"point","location":{"lat":41.586,"lon":-93.625},"variables":["average_temperature","total_precipitation"],"years":{"start":1940,"end":2025},"units":"Imperial"}' ``` ## Pricing (USD) A **series** is one variable as daily values (``), daily departure from normal (`_departure`) or 30-year daily climatology (`_climatology`). - **Point:** $5 per series, any date range. Minimum $10. - **Gridded:** $0.50 per 1,000 grid points, per series, per year. A climatology counts as one year. Minimum $25. Grid points per country are listed below. - Orders over $25,000: email support@weatherdata.ai for an invoice. Formula (gridded): `max(25, 0.5 × total_grid_points / 1000 × (daily_and_departure_series × years + climatology_series))` ## Data details - Grid: 0.25° (~28 km), land only. Daily values. - Period: 1 Jan 1940 to the order date minus 7 days. - Departures: each day's difference from the long-run normal at that grid point. - Climatology: 30-year daily normal, one 365-day series per variable. - Point orders: one CSV. Gridded orders: one CSV per series per year, one row per grid point (Point_ID, Country, Continent, Region, latitude, longitude, then one column per date). ## Variables `_departure` and `_climatology` are available only where marked. | id | name | metric | imperial | departure & climatology | |---|---|---|---|---| | average_temperature | Average temperature | °C | °F | yes | | maximum_temperature | Maximum temperature | °C | °F | yes | | minimum_temperature | Minimum temperature | °C | °F | yes | | dew_point | Dew point | °C | °F | no | | surface_soil_temperature | Surface soil temperature | °C | °F | yes | | total_precipitation | Total precipitation | mm | in | yes | | total_precipitation_rate | Precipitation rate | mm/h | in/h | no | | snow_fall | Snowfall | cm | in | no | | snow_depth | Snow depth | cm | in | yes | | relative_humidity | Relative humidity | % | % | no | | surface_soil_water_volume | Surface soil water volume | % | % | yes | | evaporation | Evaporation | mm | in | yes | | wind_speed | Wind speed | m/s | mph | yes | | maximum_gust_speed | Maximum gust speed | m/s | mph | yes | | surface_pressure | Surface pressure | mb | inHg | yes | | mean_sea_level_pressure | Mean sea level pressure | mb | inHg | no | | cloud_cover | Cloud cover | % | % | yes | | surface_solar_radiation | Surface solar radiation | W/m² | BTU/ft² | yes | | growing_degree_days | Growing degree days | 10°C base, 30°C cap | 50°F base, 86°F cap | yes | | heating_degree_days | Heating degree days | 18.4°C base | 65°F base | yes | | cooling_degree_days | Cooling degree days | 18.4°C base | 65°F base | yes | ## Countries | iso3 | name | continent | grid points (0.25°) | |---|---|---|---| | AFG | Afghanistan | Asia | 1005 | | ALB | Albania | Europe | 49 | | DZA | Algeria | Africa | 3414 | | ASM | American Samoa | Oceania | 1 | | AND | Andorra | Europe | 1 | | AGO | Angola | Africa | 1671 | | AIA | Anguilla | North America | 1 | | ATA | Antarctica | Antarctica | 96819 | | ATG | Antigua and Barb. | North America | 1 | | ARG | Argentina | South America | 4474 | | ARM | Armenia | Asia | 52 | | ABW | Aruba | North America | 1 | | ATC | Ashmore and Cartier Is. | Oceania | 1 | | AUS | Australia | Oceania | 11119 | | AUT | Austria | Europe | 157 | | AZE | Azerbaijan | Asia | 144 | | BHS | Bahamas | North America | 21 | | BHR | Bahrain | Asia | 1 | | BGD | Bangladesh | Asia | 195 | | BRB | Barbados | North America | 1 | | BLR | Belarus | Europe | 457 | | BEL | Belgium | Europe | 63 | | BLZ | Belize | North America | 34 | | BEN | Benin | Africa | 161 | | BMU | Bermuda | North America | 1 | | BTN | Bhutan | Asia | 59 | | BOL | Bolivia | South America | 1474 | | BIH | Bosnia and Herz. | Europe | 92 | | BWA | Botswana | Africa | 808 | | BRA | Brazil | South America | 11303 | | VGB | British Virgin Is. | North America | 1 | | BRN | Brunei | Asia | 8 | | BGR | Bulgaria | Europe | 196 | | BFA | Burkina Faso | Africa | 364 | | BDI | Burundi | Africa | 34 | | CPV | Cabo Verde | Africa | 6 | | KHM | Cambodia | Asia | 238 | | CMR | Cameroon | Africa | 601 | | CAN | Canada | North America | 26960 | | CYM | Cayman Is. | North America | 1 | | CAF | Central African Rep. | Africa | 807 | | TCD | Chad | Africa | 1721 | | CHL | Chile | South America | 1227 | | CHN | China | Asia | 15215 | | COL | Colombia | South America | 1482 | | COM | Comoros | Africa | 1 | | COG | Congo | Africa | 452 | | COK | Cook Is. | Oceania | 1 | | CRI | Costa Rica | North America | 66 | | HRV | Croatia | Europe | 104 | | CUB | Cuba | North America | 152 | | CUW | Curaçao | North America | 1 | | CYP | Cyprus | Asia | 8 | | CZE | Czechia | Europe | 156 | | CIV | Côte d'Ivoire | Africa | 421 | | COD | Dem. Rep. Congo | Africa | 3032 | | DNK | Denmark | Europe | 97 | | DJI | Djibouti | Africa | 29 | | DMA | Dominica | North America | 1 | | DOM | Dominican Rep. | North America | 66 | | ECU | Ecuador | South America | 327 | | EGY | Egypt | Africa | 1447 | | SLV | El Salvador | North America | 28 | | GNQ | Eq. Guinea | Africa | 34 | | ERI | Eritrea | Africa | 165 | | EST | Estonia | Europe | 114 | | ETH | Ethiopia | Africa | 1476 | | FRO | Faeroe Is. | Europe | 2 | | FLK | Falkland Is. | South America | 24 | | FJI | Fiji | Oceania | 22 | | FIN | Finland | Europe | 990 | | PYF | Fr. Polynesia | Oceania | 5 | | FRA | France | Europe | 1149 | | GAB | Gabon | Africa | 341 | | GMB | Gambia | Africa | 13 | | GEO | Georgia | Asia | 123 | | DEU | Germany | Europe | 740 | | GHA | Ghana | Africa | 312 | | GRC | Greece | Europe | 212 | | GRL | Greenland | North America | 10625 | | GRD | Grenada | North America | 1 | | GUM | Guam | Oceania | 1 | | GTM | Guatemala | North America | 142 | | GGY | Guernsey | Europe | 1 | | GIN | Guinea | Africa | 326 | | GNB | Guinea-Bissau | Africa | 43 | | GUY | Guyana | South America | 274 | | HTI | Haiti | North America | 38 | | HND | Honduras | North America | 150 | | HKG | Hong Kong | Asia | 1 | | HUN | Hungary | Europe | 174 | | ISL | Iceland | Europe | 312 | | IND | India | Asia | 4460 | | IOA | Indian Ocean Ter. | Asia | 1 | | IDN | Indonesia | Asia | 2438 | | IRN | Iran | Asia | 2501 | | IRQ | Iraq | Asia | 678 | | IRL | Ireland | Europe | 144 | | IMN | Isle of Man | Europe | 2 | | ISR | Israel | Asia | 33 | | ITA | Italy | Europe | 529 | | JAM | Jamaica | North America | 15 | | JPN | Japan | Asia | 605 | | JEY | Jersey | Europe | 1 | | JOR | Jordan | Asia | 131 | | KAZ | Kazakhstan | Asia | 5278 | | KEN | Kenya | Africa | 767 | | KIR | Kiribati | Oceania | 4 | | KOS | Kosovo | Europe | 19 | | KWT | Kuwait | Asia | 28 | | KGZ | Kyrgyzstan | Asia | 346 | | LAO | Laos | Asia | 312 | | LVA | Latvia | Europe | 151 | | LBN | Lebanon | Asia | 16 | | LSO | Lesotho | Africa | 44 | | LBR | Liberia | Africa | 125 | | LBY | Libya | Africa | 2367 | | LIE | Liechtenstein | Europe | 1 | | LTU | Lithuania | Europe | 141 | | LUX | Luxembourg | Europe | 5 | | MAC | Macao | Asia | 1 | | MDG | Madagascar | Africa | 814 | | MWI | Malawi | Africa | 159 | | MYS | Malaysia | Asia | 426 | | MLI | Mali | Africa | 1711 | | MLT | Malta | Europe | 1 | | MHL | Marshall Is. | Oceania | 1 | | MRT | Mauritania | Africa | 1426 | | MEX | Mexico | North America | 2783 | | FSM | Micronesia | Oceania | 1 | | MDA | Moldova | Europe | 68 | | MCO | Monaco | Europe | 1 | | MNG | Mongolia | Asia | 2956 | | MNE | Montenegro | Europe | 23 | | MSR | Montserrat | North America | 1 | | MAR | Morocco | Africa | 869 | | MOZ | Mozambique | Africa | 1075 | | MMR | Myanmar | Asia | 921 | | CYN | N. Cyprus | Asia | 4 | | MNP | N. Mariana Is. | Oceania | 1 | | NAM | Namibia | Africa | 1148 | | NRU | Nauru | Oceania | 1 | | NPL | Nepal | Asia | 213 | | NLD | Netherlands | Europe | 78 | | NCL | New Caledonia | Oceania | 23 | | NZL | New Zealand | Oceania | 464 | | NIC | Nicaragua | North America | 172 | | NER | Niger | Africa | 1613 | | NGA | Nigeria | Africa | 1185 | | NIU | Niue | Oceania | 1 | | NFK | Norfolk Island | Oceania | 1 | | PRK | North Korea | Asia | 212 | | MKD | North Macedonia | Europe | 42 | | NOR | Norway | Europe | 1379 | | OMN | Oman | Asia | 432 | | PAK | Pakistan | Asia | 1307 | | PLW | Palau | Oceania | 1 | | PSE | Palestine | Asia | 9 | | PAN | Panama | North America | 100 | | PNG | Papua New Guinea | Oceania | 607 | | PRY | Paraguay | South America | 558 | | PER | Peru | South America | 1702 | | PHL | Philippines | Asia | 377 | | PCN | Pitcairn Is. | Oceania | 1 | | POL | Poland | Europe | 657 | | PRT | Portugal | Europe | 147 | | PRI | Puerto Rico | North America | 13 | | QAT | Qatar | Asia | 15 | | ROU | Romania | Europe | 438 | | RUS | Russia | Europe | 46838 | | RWA | Rwanda | Africa | 31 | | SSD | S. Sudan | Africa | 818 | | LCA | Saint Lucia | North America | 1 | | WSM | Samoa | Oceania | 4 | | SMR | San Marino | Europe | 1 | | SAU | Saudi Arabia | Asia | 2740 | | SEN | Senegal | Africa | 256 | | SRB | Serbia | Europe | 145 | | KAS | Siachen Glacier | Asia | 2 | | SLE | Sierra Leone | Africa | 96 | | SGP | Singapore | Asia | 1 | | SXM | Sint Maarten | North America | 1 | | SVK | Slovakia | Europe | 98 | | SVN | Slovenia | Europe | 39 | | SLB | Solomon Is. | Oceania | 31 | | SOM | Somalia | Africa | 615 | | SOL | Somaliland | Africa | 226 | | ZAF | South Africa | Africa | 1816 | | KOR | South Korea | Asia | 154 | | ESP | Spain | Europe | 863 | | LKA | Sri Lanka | Asia | 86 | | BLM | St-Barthélemy | North America | 1 | | MAF | St-Martin | North America | 1 | | KNA | St. Kitts and Nevis | North America | 1 | | SPM | St. Pierre and Miquelon | North America | 1 | | VCT | St. Vin. and Gren. | North America | 1 | | SDN | Sudan | Africa | 2514 | | SUR | Suriname | South America | 190 | | SWE | Sweden | Europe | 1252 | | CHE | Switzerland | Europe | 75 | | SYR | Syria | Asia | 294 | | STP | São Tomé and Principe | Africa | 3 | | TWN | Taiwan | Asia | 50 | | TJK | Tajikistan | Asia | 232 | | TZA | Tanzania | Africa | 1231 | | THA | Thailand | Asia | 692 | | TLS | Timor-Leste | Asia | 20 | | TGO | Togo | Africa | 70 | | TON | Tonga | Oceania | 1 | | TTO | Trinidad and Tobago | North America | 7 | | TUN | Tunisia | Africa | 250 | | TUR | Turkey | Asia | 1303 | | TKM | Turkmenistan | Asia | 781 | | TCA | Turks and Caicos Is. | North America | 1 | | TUV | Tuvalu | Oceania | 1 | | VIR | U.S. Virgin Is. | North America | 1 | | UGA | Uganda | Africa | 316 | | UKR | Ukraine | Europe | 1128 | | ARE | United Arab Emirates | Asia | 97 | | GBR | United Kingdom | Europe | 531 | | USA | United States of America | North America | 17851 | | URY | Uruguay | South America | 277 | | UZB | Uzbekistan | Asia | 777 | | VUT | Vanuatu | Oceania | 13 | | VAT | Vatican | Europe | 1 | | VEN | Venezuela | South America | 1189 | | VNM | Vietnam | Asia | 449 | | ESH | W. Sahara | Africa | 134 | | WLF | Wallis and Futuna Is. | Oceania | 1 | | YEM | Yemen | Asia | 614 | | ZMB | Zambia | Africa | 1002 | | ZWE | Zimbabwe | Africa | 533 | | SWZ | eSwatini | Africa | 24 | | ALA | Åland | Europe | 2 | ## Contact support@weatherdata.ai