Skip to main content

Authentication

Obtain your API Key: If you don't already have one, contact api-queries@metservice.com to get an apikey for MetService's public API Platform. This key will work across all of MetService's APIs that you've requested and been given access to.

You must include your API key in the apikey header for every request to the Nowcast API, as well as other APIs on the platform.

Header Name: apikey
Value: Your unique API Key (e.g., YOUR_API_KEY)

Example: cURL with API Key
curl -H "apikey: YOUR_API_KEY" "[https://api.metservice.com/forecast/v1/nowcast/point/SiiNNNNNN](https://api.metservice.com/forecast/v1/nowcast/point/SiiNNNNNN)"

MetService can provide API trials for a limited time period depending on needs to enable evaluation or testing. When the trial period has expired the api key provided will stop providing access and a 401 Unauthorised error will result. *See Error Handling for more information.