Weatherstack Integration¶
Official Weatherstack API Documentation ยท Weatherstack pricing
Use KeyPool to request current weather for one explicitly supplied location with your team token and a stable base URL. This integration is limited to Weatherstack Free plan credentials.
Endpoint¶
{YOUR_KEYPOOL_BASE_URL}/v1/weatherstack
Authentication¶
Send your KeyPool team token as a bearer token. Do not pass an upstream access_key query parameter.
Authorization: Bearer {KEYPOOL_TOKEN}
Current weather¶
curl -G "${KEYPOOL_BASE_URL}/v1/weatherstack/current" \
-H "Authorization: Bearer ${KEYPOOL_TOKEN}" \
--data-urlencode "query=San Francisco"
Supply one place name, latitude/longitude pair, or explicit IP address in
query. This request uses the provider default metric units. Preserve the
measurement units and observation time when displaying the response.
Provider plans and limits¶
Weatherstack's published Free plan includes current weather over HTTPS, 100 calls per month per upstream account, and non-commercial use. The allowance is a provider plan figure, not a promised total for a KeyPool connection. Check the provider account for actual remaining allowance and billing terms.
Other Weatherstack API features require higher plans and are outside this Free plan integration. See Weatherstack pricing for current plan entitlements.
Interactive API Reference¶
For in-browser testing, see API Reference -> Weatherstack.