```json
{
"service_type": "rest_api",
"base_url": "https://api.weatherapi.com/v1",
"auth_method": "query_param",
"auth_config": {
"header": null,
"prefix": null
},
"endpoints": [
{
"path": "/current.json",
"method": "GET",
"purpose": "Returns real-time weather for a given location.",
"params": {
"key": {
"type": "string",
"required": true
},
"q": {
"type": "string",
"required": true
},
"aqi": {
"type": "string",
"required": false
},
"pollen": {
"type": "string",
"required": false
}
},
"response_format": "json",
"is_primary": true
},
{
"path": "/forecast.json",
"method": "GET",
"purpose": "Returns weather forecast for up to 14 days.",
"params": {
"key": {
"type": "string",
"required": true
},
"q": {
"type": "string",
"required": true
},
"days": {
"type": "integer",
"required": true
},
"alerts": {
"type": "string",
"required": false
},
"aqi": {
"type": "string",
"required": false
}
},
"response_format": "json",
"is_primary": false
},
{
"path": "/history.json",
"method": "GET",
"purpose": "Returns historical weather data for a given date.",
"params": {
"key": {
"type": "string",
"required": true
},
"q": {
"type": "string",
"required": true
},
"dt": {
"type": "string",
"required": true
}
},
"response_format": "json",
"is_primary": false
},
{
"path": "/future.json",
"method": "GET",
"purpose": "Returns future weather up to 300 days ahead.",
"params": {
"key": {
"type": "string",
"required": true
},
"q": {
"type": "string",
"required": true
},
"dt": {
"type": "string",
"required": true
}
},
"response_format": "json",
"is_primary": false
}
],
"pricing_model": {
"type": "tiered",
"details": {},
"free_tier": {
"requests": 100000,
"period": "month"
},
"paid_tiers": [
{
"name": "Starter",
"price": "7",
"currency": "USD",
"requests": 3000000,
"forecast": "7 days",
"history": "7 days"
},
{
"name": "Pro+",
"price": "25",
"currency": "USD",
"requests": 5000000,
"forecast": "300 days",
"history": "365 days"
},
{
"name": "Business",
"price": "65",
"currency": "USD",
"requests": 10000000
},
{
"name": "Enterprise",
"price": "custom",
"currency": "USD"
}
]
},
"rate_limits": {
"rpm": null,
"tpm": null,
"daily": null,
"concurrent": null
},
"capabilities": [
"real-time weather",
"forecast weather",
"historical weather",
"marine weather",
"future weather",
"sports events",
"weather alerts",
"IP lookup",
"astronomy",
"timezone"
],
"agent_readiness": {
"supports_x402": false,
"supports_streaming": false,
"has_sandbox": false,
"sdks": [],
"agent_auth_methods": ["api_key"]
}
}
```