OpenWeatherMap Get Historical Air Pollution

1 credits/call
ae_openweathermap_get_historical_air_pollution

View OpenWeather historical air pollution data for a location and UTC time range.

Weather
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
endintegerYesEnd date (unix time, UTC).—
latnumberYesLatitude of the location.—
lonnumberYesLongitude of the location.—
startintegerYesStart date (unix time, UTC).—

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_historical_air_pollution' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "end": 1,
    "lat": 1,
    "lon": 1,
    "start": 1
  }
}'
Response exampleresponse.json
JSON
{
  "coord": {
    "lat": 1,
    "lon": 1
  },
  "list": []
}