Authentication

All resource requests must be authenticated with an API key.

API keys are uniquely assigned to Weather Source API subscribers and must be included with any resource URI. An API request will look like: https://api.weathersource.com/v1/{api_key}/resource.

It is essential to maintain exclusive control of your API key. If you lose control of your key, your account may be compromised. For this reason, your key should only be published in secure contexts.

Requests for rate-limited resources are authenticated against the corresponding subscription plan’s maximum request thresholds. Every request is counted – including (but not limited to) requests denied for insufficient privileges and requests for non-rate-limited resources. However, when requesting non-rate-limited resources, the full response will be returned even if the account’s total requests exceed the subscription plan’s maximum request thresholds.

Requests are authenticated against the corresponding subscription plan’s resource permissions. When selecting a subscription plan, choose a plan that has permission to access all resources you require.

Leave a Comment

Please contribute generally valuable information. Bug reports and support questions should be sent to support@weathersource.com.