API Key
WeatherXu uses API keys for request authentication. You can view and manage your API key in the dashboard.
Keep your API key secure and confidential. All requests using your API key count towards your plan's usage limits.
Authentication is required for all API requests. You can include your API key using either a query parameter or request headers:
Query Parameter:
https://api.weatherxu.com/v1/weather?api_key=API_KEY
Request Headers:
curl https://api.weatherxu.com/v1/weather \
-H 'X-API-KEY: YOUR_API_KEY' \
-H 'Content-Type: application/json'