{"openapi":"3.1.2","info":{"title":"meteoblue Inventory API","summary":"The Inventory API endpoints provide access to the available map configuration for the meteoblue Maps Plugin.","description":"# Overview\n\nThe Inventory API provides information about the available map data and configuration options and is meant to be used in conjunction with the meteoblue Maps Plugin.\nIt allows users to discover supported domains, layers, parameters, and other configuration elements required to construct valid map or tile requests for the plugin.\nThe Inventory API enables users to query this information in advance, ensuring that subsequent requests use supported values and combinations.\n\nLearn more about the features and use cases of the [Maps API](https://business.meteoblue.com/products/weather-apis/weather-maps-api) on our website.\nConfigure and send API requests using the [Maps API Configurator](https://www.meteoblue.com/en/weather-api/maps-api/).\n\nFor a practical example of how these configurations are used, see the [meteoblue Maps Plugin](https://docs.meteoblue.com/en/weather-apis/maps-api/maps-plugin) documentation.\nThe API is designed to support applications that dynamically configure map visualisations, such as interactive interfaces, automated workflows, or systems that adapt to available data.\nBy retrieving inventory information, users can build flexible and robust integrations without relying on hardcoded values.\n","version":"1.0.0","x-logo":{"url":"https://static.meteoblue.com/assets/images/logo/meteoblue_logo_v2.0.png","backgroundColor":"hsl(210deg, 40%, 98%)","altText":"meteoblue","href":"https://docs.meteoblue.com/en/weather-apis/introduction/overview"}},"tags":[{"name":"Inventory API"}],"servers":[{"url":"https://maps-api.meteoblue.com"}],"paths":{"/v1/map/inventory/weather-maps":{"parameters":[{"name":"lang","in":"query","schema":{"type":"string","enum":["ar","bg","cs","de","da","el","en","es","fr","hu","it","ja","ka","ko","nl","pl","pt","ro","ru","sk","sl","sr","sv","tr","zh","th","uk","hr","ca","fi","id","no","vi"],"default":"en","x-enumDescriptions":{"ar":"Arabic","bg":"Bulgarian","cs":"Czech","de":"German","da":"Danish","el":"Greek","en":"English","es":"Spanish","fr":"French","hu":"Hungarian","it":"Italian","ja":"Japanese","ka":"Georgian","ko":"Korean","nl":"Dutch","pl":"Polish","pt":"Portuguese","ro":"Romanian","ru":"Russian","sk":"Slovak","sl":"Slovene","sr":"Serbian","sv":"Swedish","tr":"Turkish","zh":"Chinese (Simplified)","th":"Thai","uk":"Ukranian","hr":"Croatian","ca":"Catalan","fi":"Finnish","id":"Indonesian","no":"Norwegian","vi":"Vietnamese"}},"description":"Language to use for localisation purposes."},{"name":"temperatureUnit","in":"query","schema":{"type":"string","enum":["C","K","F"],"default":"C","examples":["C"]},"description":"The desired unit to return temperature values in."},{"name":"velocityUnit","in":"query","schema":{"type":"string","enum":["m/s","km/h","mph","kn","bft"],"default":"km/h"},"description":"The desired unit to return velocity values in."},{"name":"lengthUnit","in":"query","schema":{"type":"string","enum":["metric","imperial"],"default":"metric","examples":["metric"]},"description":"The desired unit to return length values in."},{"name":"energyUnit","in":"query","schema":{"type":"string","enum":["watts","joules"],"default":"watts","examples":["watts"]},"description":"The desired unit to return energy values in."}],"get":{"tags":["Inventory API"],"summary":"Weather Map Inventory","description":"This endpoint returns the available weather map configurations for the meteoblue Maps Plugin.\nThe response provides the inventory of weather map definitions that can be used with the Maps API and Tiles API,\nincluding the configuration metadata required to identify and work with supported map layers and products.\nIt is intended to support discovery of available weather map options for the meteoblue Maps Plugin before constructing map or tile requests.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","description":"Configuration JSON used by the meteoblue Maps Plugin.","minProperties":1}}}},"400":{"$ref":"#/components/responses/error-response","description":"Bad Request"},"403":{"$ref":"#/components/responses/error-response","description":"Forbidden"},"429":{"$ref":"#/components/responses/error-response","description":"Too Many Requests"}},"x-codeSamples":[{"lang":"JavaScript","source":"// Initialize the Mapbox GL JS map inside the mapContainer element.\n// More configuration options for Mapbox GL JS can be found at https://docs.mapbox.com/mapbox-gl-js/api/map/#map-parameters\n// Do not set the style parameter. It will be overwritten by the meteoblue Maps Plugin.\nmapboxMap = new mapboxgl.Map({\n    container: 'mapContainer',\n    center: [7, 47],\n    zoom: 5,\n    hash: 'coords',\n    attributionControl: false,\n    keyboard: false\n});\n\nconst lang = \"en\";\nconst apiKey = \"<YOUR_APIKEY>\";\n\n// The URL to the Inventory JSON. In this case the meteoblue API will generate one with some specified maps.\nconst inventoryUrl = `https://maps-api.meteoblue.com/v1/map/inventory/weather-maps?lang=${lang}&apikey=${apiKey}`;\n\n// Initialize the meteoblue Maps Plugin. It will generate a user interface on top of the Mapbox GL JS map according to the inventory JSON.\nnew meteoblueMapsPlugin({\n    mapboxMap: mapboxMap,\n    inventory: inventoryUrl,\n    apiKey: apiKey,\n});"}]}},"/v1/map/inventory/history":{"parameters":[{"name":"lang","in":"query","schema":{"type":"string","enum":["ar","bg","cs","de","da","el","en","es","fr","hu","it","ja","ka","ko","nl","pl","pt","ro","ru","sk","sl","sr","sv","tr","zh","th","uk","hr","ca","fi","id","no","vi"],"default":"en","x-enumDescriptions":{"ar":"Arabic","bg":"Bulgarian","cs":"Czech","de":"German","da":"Danish","el":"Greek","en":"English","es":"Spanish","fr":"French","hu":"Hungarian","it":"Italian","ja":"Japanese","ka":"Georgian","ko":"Korean","nl":"Dutch","pl":"Polish","pt":"Portuguese","ro":"Romanian","ru":"Russian","sk":"Slovak","sl":"Slovene","sr":"Serbian","sv":"Swedish","tr":"Turkish","zh":"Chinese (Simplified)","th":"Thai","uk":"Ukranian","hr":"Croatian","ca":"Catalan","fi":"Finnish","id":"Indonesian","no":"Norwegian","vi":"Vietnamese"}},"description":"Language to use for localisation purposes."},{"name":"temperatureUnit","in":"query","schema":{"type":"string","enum":["C","K","F"],"default":"C","examples":["C"]},"description":"The desired unit to return temperature values in."},{"name":"velocityUnit","in":"query","schema":{"type":"string","enum":["m/s","km/h","mph","kn","bft"],"default":"km/h"},"description":"The desired unit to return velocity values in."},{"name":"lengthUnit","in":"query","schema":{"type":"string","enum":["metric","imperial"],"default":"metric","examples":["metric"]},"description":"The desired unit to return length values in."},{"name":"energyUnit","in":"query","schema":{"type":"string","enum":["watts","joules"],"default":"watts","examples":["watts"]},"description":"The desired unit to return energy values in."}],"get":{"tags":["Inventory API"],"summary":"History Inventory","description":"This endpoint returns the available history map configurations for the meteoblue Maps Plugin.\nThe response provides the inventory of history map definitions that can be used with the Maps API and Tiles API,\nincluding the configuration metadata required to identify and work with supported map layers and products.\nIt is intended to support discovery of available history map options for the meteoblue Maps Plugin before constructing map or tile requests.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","description":"Configuration JSON used by the meteoblue Maps Plugin.","minProperties":1}}}},"400":{"$ref":"#/components/responses/error-response","description":"Bad Request"},"403":{"$ref":"#/components/responses/error-response","description":"Forbidden"},"429":{"$ref":"#/components/responses/error-response","description":"Too Many Requests"}},"x-codeSamples":[{"lang":"JavaScript","source":"// Initialize the Mapbox GL JS map inside the mapContainer element.\n// More configuration options for Mapbox GL JS can be found at https://docs.mapbox.com/mapbox-gl-js/api/map/#map-parameters\n// Do not set the style parameter. It will be overwritten by the meteoblue Maps Plugin.\nmapboxMap = new mapboxgl.Map({\n    container: 'mapContainer',\n    center: [7, 47],\n    zoom: 5,\n    hash: 'coords',\n    attributionControl: false,\n    keyboard: false\n});\n\nconst lang = \"en\";\nconst apiKey = \"<YOUR_APIKEY>\";\n\n// The URL to the Inventory JSON. In this case the meteoblue API will generate one with some specified maps.\nconst inventoryUrl = `https://maps-api.meteoblue.com/v1/map/inventory/history?lang=${lang}&apikey=${apiKey}`;\n\n// Initialize the meteoblue Maps Plugin. It will generate a user interface on top of the Mapbox GL JS map according to the inventory JSON.\nnew meteoblueMapsPlugin({\n    mapboxMap: mapboxMap,\n    inventory: inventoryUrl,\n    apiKey: apiKey,\n});"}]}},"/v1/map/inventory/filter":{"parameters":[{"name":"maps","in":"query","schema":{"type":"array","items":{"type":"string","enum":["windAnimation","satellite","cloudsAndPrecipitation","temperature","sunshine","wind","gust","jetstream","humidity","precipitationProbability","pressure","gph500","gph1000thickness","gph850temperature","apparentTemperature","freezingLevel","surfaceInversion","temperatureTendency","wetbulbPotential","thetaE","dewpoint","vaporDeficit","evapotranspiration","potentialEvapotranspiration","soilMoisture","soilTemperature","precipitationAccumulated","precipitationAccumulatedPastHours","precipitationDaily","precipitation","snowAccumulated","snowDaily","snow","snowDepth","lowClouds","midClouds","highClouds","cloudAltitude","totalClouds","convectiveCloudAltitude","visibility","updraft","soaringFlightDistance","soaringIndex","boundaryLayerHeight","clearAirTurbulendce","inFlightIcing","oceanCurrents","salinity","seaIceCover","seaSurfaceTemperature","airQualityIndex","dust","ozone","aerosolOpticalDepth","particulateMatter","so2","no2","co","grassPollen","ragweedPollen","birchPollen","olivePollen","liftedIndex","helicity","cape","cin","thunderstormProbability","solarIradiation","uvIndex","warningsAndRisk","temperatureAnomaly","temperatureAnomaly850","precipAnomaly","sstAnomaly","snowDepthAnomaly","evapotranspirationAnomaly","windSpeedAnomaly","pressureAnomaly","obsTemperature","obsPrecipitation","hiking","seaLevelPressure","windConvergence","waveHeight","wavePeriod","wavePeakPeriod","et0","radar","metar","extremeForecastIndex","sigmet","where2goWeatherScore","hikingWeatherScore","cyclingWeatherScore","landslideProbability","fireWeatherRisk","utciMostFrequent","climateTemperature","climateSunshineDuration","climatePrecipitationTime","climatePrecipitationSum","climateWaterTemperature","climateDustConcentration","climateAQI","temperatureHistoric","temperatureAnomalyHistoric","temperatureMeanHistoric","precipitationAccumulatedHistoric","precipitationDailyHistoric","precipitationHistoric","precipitationMonthlyHistoric","precipitationAnomalyHistoric","soilMoistureHistoric","soilMoistureMonthlyHistoric","soilMoistureAnomalyHistoric","windHistoric","gustHistoric","humidityHistoric","dewpointHistoric","sunshineHistoric","cloudsAndPrecipitationHistoric","gph500Historic","gph1000thicknessHistoric","gph850temperatureHistoric","subseasonalTemperatureProbability","subseasonalPrecipitationProbability","subseasonalCoolingDegreeDaysProbability","subseasonalWindSpeedProbability","subseasonalGeopotentialProbability","subseasonalRadiationProbability","subseasonalHeatingDegreeDaysProbability","subseasonalPressureProbability","obsTemperatureQc","obsDewpointQc","obsWindQc","obsPrecipitationQc","mlmStationTemperature","mlmStationDewpoint","mlmStationWind","mlmVerificationTemperature","mlmVerificationDewpoint","mlmVerificationWind","mlmVerificationPrecipitation","mlmVerificationTemperatureDay3","mlmVerificationDewpointDay3","mlmVerificationWindDay3","mlmVerificationPrecipitationDay3"]},"minItems":1,"uniqueItems":true},"description":"Comma-separated list of maps to include in the inventory."},{"name":"overlays","in":"query","schema":{"type":"array","items":{"type":"string","enum":["domainBoundary","graticuleOverlay","pressure2mOverlay","windAnimationOverlay","temperatureObsOverlay"]},"minItems":1,"uniqueItems":true},"description":"Comma-separated list of overlays to include in the inventory."},{"name":"lang","in":"query","schema":{"type":"string","enum":["ar","bg","cs","de","da","el","en","es","fr","hu","it","ja","ka","ko","nl","pl","pt","ro","ru","sk","sl","sr","sv","tr","zh","th","uk","hr","ca","fi","id","no","vi"],"default":"en","x-enumDescriptions":{"ar":"Arabic","bg":"Bulgarian","cs":"Czech","de":"German","da":"Danish","el":"Greek","en":"English","es":"Spanish","fr":"French","hu":"Hungarian","it":"Italian","ja":"Japanese","ka":"Georgian","ko":"Korean","nl":"Dutch","pl":"Polish","pt":"Portuguese","ro":"Romanian","ru":"Russian","sk":"Slovak","sl":"Slovene","sr":"Serbian","sv":"Swedish","tr":"Turkish","zh":"Chinese (Simplified)","th":"Thai","uk":"Ukranian","hr":"Croatian","ca":"Catalan","fi":"Finnish","id":"Indonesian","no":"Norwegian","vi":"Vietnamese"}},"description":"Language to use for localisation purposes."},{"name":"temperatureUnit","in":"query","schema":{"type":"string","enum":["C","K","F"],"default":"C","examples":["C"]},"description":"The desired unit to return temperature values in."},{"name":"velocityUnit","in":"query","schema":{"type":"string","enum":["m/s","km/h","mph","kn","bft"]},"description":"The desired unit to return velocity values in."},{"name":"lengthUnit","in":"query","schema":{"type":"string","enum":["metric","imperial"],"default":"metric","examples":["metric"]},"description":"The desired unit to return length values in."},{"name":"energyUnit","in":"query","schema":{"type":"string","enum":["watts","joules"],"default":"watts","examples":["watts"]},"description":"The desired unit to return energy values in."}],"get":{"tags":["Inventory API"],"summary":"Filtered Weather Map Inventory","description":"This endpoint returns a filtered subset of the weather map inventory based on the specified query parameters for the meteoblue Maps Plugin.\nThe response provides a selection of weather map configurations that match the applied filters, allowing users to narrow down available domains, layers, or other configuration elements.\nThis helps identify relevant map options more efficiently when working with large or complex inventories.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","description":"Configuration JSON used by the meteoblue Maps Plugin.","minProperties":1}}}},"400":{"$ref":"#/components/responses/error-response","description":"Bad Request"},"403":{"$ref":"#/components/responses/error-response","description":"Forbidden"},"429":{"$ref":"#/components/responses/error-response","description":"Too Many Requests"}},"x-codeSamples":[{"lang":"JavaScript","source":"// Initialize the Mapbox GL JS map inside the mapContainer element.\n// More configuration options for Mapbox GL JS can be found at https://docs.mapbox.com/mapbox-gl-js/api/map/#map-parameters\n// Do not set the style parameter. It will be overwritten by the meteoblue Maps Plugin.\nmapboxMap = new mapboxgl.Map({\n    container: 'mapContainer',\n    center: [7, 47],\n    zoom: 5,\n    hash: 'coords',\n    attributionControl: false,\n    keyboard: false\n});\n\nconst lang = \"en\";\nconst apiKey = \"<YOUR_APIKEY>\";\nconst maps = \"windAnimation,temperature,precipitationDaily,evapotranspiration,soilMoisture,potentialEvapotranspiration,soilTemperature,humidity\";\n\n// The URL to the Inventory JSON. In this case the meteoblue API will generate one with some specified maps.\nconst inventoryUrl = `https://maps-api.meteoblue.com/v1/map/inventory/filter?lang=${lang}&maps=${maps}&apikey=${apiKey}`;\n\n// Initialize the meteoblue Maps Plugin. It will generate a user interface on top of the Mapbox GL JS map according to the inventory JSON.\nnew meteoblueMapsPlugin({\n    mapboxMap: mapboxMap,\n    inventory: inventoryUrl,\n    apiKey: apiKey,\n});"}]}}},"components":{"responses":{"error-response":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"boolean","const":true,"description":"Flag indicating that an error has occurred."},"error_message":{"type":"string","description":"Message describing the error."}},"required":["error","error_message"]},"examples":{"Error Message Example":{"summary":"Example Error","description":"Example of a possible error message","value":{"error":true,"error_message":"Message describing the error."}}}}}}}}}