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.

Weather
2 credits/call

Pricing

2 credits/call
ConditionCharge
Each call2 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
tzstringNoTimezone in the ±XX:XX format. If the service detected timezone for your location incorrectly you can specify correct timezone manually.—
latnumberYesLatitude, decimal (-90; 90)—
lonnumberYesLongitude, decimal (-180; 180)—
datestringYesDate 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.—
langstringNoYou can use the lang parameter to get the output in your language.—
unitsenum (standard | metric | imperial)NoUnits 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-Key
Request 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
JSONPartial content
{
  "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