OpenWeatherMap Get Day Summary
2 credits/call
ae_openweathermap_get_day_summary
Retrieve aggregated OpenWeatherMap weather data for a specific date and location, covering dates from January 2, 1979 through approximately 1.5 years ahead.
2 credits/call
Pricing
2 credits/call
| Condition | Charge |
|---|---|
| Each call | 2 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
tz | string | No | Timezone in the ±XX:XX format. If the service detected timezone for your location incorrectly you can specify correct timezone manually. | — |
lat | number | Yes | Latitude, decimal (-90; 90) | — |
lon | number | Yes | Longitude, decimal (-180; 180) | — |
date | string | Yes | Date in the YYYY-MM-DD format for which data is requested. Data is available from 1979-01-02 through approximately 1.5 years ahead of the current date. | — |
lang | string | No | You can use the lang parameter to get the output in your language. | — |
units | enum (standard | metric | imperial) | No | Units of measurement. standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default. | standard |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_openweathermap_get_day_summary' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"date": "2026-11-08",
"lang": "zh_cn",
"lat": 31.23,
"lon": 121.47,
"tz": "+08:00",
"units": "metric"
}
}'Response exampleresponse.json
{
"cloud_cover": {
"afternoon": 100.0
},
"date": "2026-11-08",
"humidity": {
"afternoon": 86.16
},
"lat": 31.23,
"lon": 121.47,
"precipitation": {
"total": 5.97
}
}This example shows part of the response. Copied content is valid JSON.
Guides using this tool
See how this tool fits into real workflows


