Global weather data API — current conditions, 5-day forecasts, historical data, and weather alerts. Free tier: 60 calls/min. REST API with JSON responses, API key auth.
Full LLM thinking from the 4-phase benchmark pipeline.
```json
{
"service_type": "rest_api",
"base_url": "https://api.openweathermap.org",
"auth_method": "query_param",
"auth_config": {
"header": null,
"prefix": null
},
"endpoints": [
{
"path": "/weather",
"method": "GET",
"purpose": "Get current weather data",
"params": {
"q": {
"type": "string",
"required": true
},
"appid": {
"type": "string",
"required": true
}
},
"response_format": "json",
"is_primary": true
}
],
"pricing_model": {
"type": "free_tier",
"details": {},
"free_tier": {
"requests": 60,
"period": "minute"
},
"paid_tiers": []
},
"rate_limits": {
"rpm": 60,
"tpm": null,
"daily": null,
"concurrent": null
},
"capabilities": [
"current_weather",
"5-day_forecast",
"historical_data",
"weather_alerts"
],
"agent_readiness": {
"supports_x402": false,
"supports_streaming": false,
"has_sandbox": false,
"sdks": [],
"agent_auth_methods": ["api_key"]
}
}
``````json
{
"tests": [
{
"name": "basic_connectivity_and_auth",
"endpoint": "/weather",
"method": "GET",
"headers": {},
"payload": {},
"params": {
"q": "London",
"appid": "your_api_key"
},
"expected_status": 200,
"expected_behavior": "Returns current weather data for London",
"metrics": ["latency", "status_code"],
"validation": {"field": "weather", "type": "array", "min_length": 1}
},
{
"name": "current_weather_existing_city",
"endpoint": "/weather",
"method": "GET",
"headers": {},
"payload": {},
"params": {
"q": "New York",
"appid": "your_api_key"
},
"expected_status": 200,
"expected_behavior": "Returns current weather data for New York",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "weather", "type": "array", "min_length": 1}
},
{
"name": "error_handling_missing_param",
"endpoint": "/weather",
"method": "GET",
"headers": {},
"payload": {},
"params": {
"appid": "your_api_key"
},
"expected_status": 400,
"expected_behavior": "Returns error for missing location parameter",
"metrics": ["latency", "status_code"],
"validation": {"field": "message", "type": "string"}
},
{
"name": "error_handling_invalid_api_key",
"endpoint": "/weather",
"method": "GET",
"headers": {},
"payload": {},
"params": {
"q": "Berlin",
"appid": "invalid_api_key"
},
"expected_status": 401,
"expected_behavior": "Returns error for invalid API key",
"metrics": ["latency", "status_code"],
"validation": {"field": "message", "type": "string"}
},
{
"name": "rate_limit_check",
"endpoint": "/weather",
"method": "GET",
"headers": {},
"payload": {},
"params": {
"q": "Tokyo",
"appid": "your_api_key"
},
"expected_status": 200,
"expected_behavior": "Handles the maximum rate limit correctly",
"metrics": ["latency", "status_code"]
}
],
"pricing_probes": [],
"stress_profile": {
"concurrent_requests": 5,
"duration_seconds": 10,
"ramp_up": true
}
}
```0/5 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| basic_connectivity_and_auth | GET /weather | 404 | 130ms |
| current_weather_existing_city | GET /weather | 404 | 41ms |
| error_handling_missing_param | GET /weather | 404 | 41ms |
| error_handling_invalid_api_key | GET /weather | 404 | 41ms |
| rate_limit_check | GET /weather | 404 | 40ms |
{"multi_model": true, "models_used": ["openai", "claude_cli"], "model_scores": {"GPT-4o": {"overall": 0, "dimensions": {"token_efficiency": 2.0, "first_try_success": 2.0, "response_parseability": 2.0, "error_clarity": 2.0, "doc_quality": 5.0, "auth_simplicity": 8.0, "latency": 7.0, "consistency": 2.0}}, "Claude CLI": {"overall": 0, "dimensions": {"token_efficiency": 0.0, "first_try_success": 0.0, "response_parseability": 0.0, "error_clarity": 0.0, "doc_quality": 0.0, "auth_simplicity": 0.0, "latency": 0.0, "consistency": 0.0}}}, "averaged": true}Show your live agent-readiness score on your own site. Free, no auth — it updates as your score changes.
<a href="https://prowl.world/service/openweathermap">
<img src="https://prowl.world/badge/openweathermap.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard