- Useful links
- Queries
- Types
- Boolean
- Bounds
- BoundsRange
- Climate
- ClimateDay
- ClimateMonth
- ClimateWeek
- ClimateZone
- ClimateZoneCode
- Cloudiness
- CloudinessWithHeight
- Condition
- Datum
- Daypart
- Dayparts
- Daytime
- DustStormStrength
- Float
- Forecast
- ForecastDay
- ForecastHour
- IconFormat
- IconTheme
- Int
- Language
- Location
- Now
- NowcastTimeline
- NowcastTimelineStep
- OceanTideExtremumItem
- OceanTideExtremumType
- PhenomCondition
- PointInput
- Pollutant
- Pollution
- PollutionDaypart
- PrecStrength
- PrecType
- PressureUnit
- Resolution
- SeaCurrentDirection
- Season
- SolarIrradiationUnit
- Space
- Station
- String
- Summary
- SwellDirection
- TemperatureUnit
- TemperatureWithHeight
- Tiles
- TilesTimeline
- Time
- TimeRange
- TimelineStep
- Timestamp
- Timezone
- Url
- WaveDirection
- Weather
- WindAngleWithHeight
- WindDirection
- WindDirectionWithHeight
- WindSpeedUnit
- WindSpeedWithHeight
Useful links
Queries
serverTime
Description
Current time on the server.
Response
Returns a Time!
Example
Query
query serverTime {
serverTime
}
Response
{
"data": {
"serverTime": "2022-10-26T12:37:53.528758212+03:00"
}
}
serverTimestamp
Description
Current time on the server.
Response
Returns a Timestamp!
Example
Query
query serverTimestamp {
serverTimestamp
}
Response
{"data": {"serverTimestamp": "1666778972"}}
stations
Description
List of weather stations values.
Response
Returns [Station!]!
Arguments
Name | Description |
---|---|
minLat - Float!
|
|
maxLat - Float!
|
|
minLon - Float!
|
|
maxLon - Float!
|
|
language - Language
|
Example
Query
query stations(
$minLat: Float!,
$maxLat: Float!,
$minLon: Float!,
$maxLon: Float!,
$language: Language
) {
stations(
minLat: $minLat,
maxLat: $maxLat,
minLon: $minLon,
maxLon: $maxLon,
language: $language
) {
id
code
name
lat
lon
time
timestamp
cloudiness
condition
distance
feelsLike
humidity
icon
isThunder
phenomCondition
phenomIcon
prec
precProbability
precStrength
precType
pressure
temperature
waterTemperature
windAngle
windDirection
windSpeed
}
}
Variables
{
"minLat": 47.27319717,
"maxLat": 47.27319717,
"minLon": -119.7085724,
"maxLon": -119.7085724,
"language": "EN"
}
Response
{
"data": {
"stations": [
{
"id": 987,
"code": "abc123",
"name": "abc123",
"lat": 47.27319717,
"lon": -119.7085724,
"time": "2022-10-26T12:37:53.528758212+03:00",
"timestamp": "1666778972",
"cloudiness": "CLEAR",
"condition": "CLEAR",
"distance": 123.45,
"feelsLike": 15,
"humidity": 82,
"icon": "skc_d",
"isThunder": false,
"phenomCondition": "BLOWING_SNOW",
"phenomIcon": "skc_d",
"prec": 10.1,
"precProbability": 82,
"precStrength": "ZERO",
"precType": "NO_TYPE",
"pressure": 762,
"temperature": 15,
"waterTemperature": 10,
"windAngle": 145,
"windDirection": "CALM",
"windSpeed": 3.5
}
]
}
}
stationsByTimeRange
Description
List of weather stations values by time range.
Response
Returns [Station!]!
Arguments
Name | Description |
---|---|
request - PointInput!
|
|
timeRange - TimeRange!
|
Example
Query
query stationsByTimeRange(
$request: PointInput!,
$timeRange: TimeRange!
) {
stationsByTimeRange(
request: $request,
timeRange: $timeRange
) {
id
code
name
lat
lon
time
timestamp
cloudiness
condition
distance
feelsLike
humidity
icon
isThunder
phenomCondition
phenomIcon
prec
precProbability
precStrength
precType
pressure
temperature
waterTemperature
windAngle
windDirection
windSpeed
}
}
Variables
{
"request": PointInput,
"timeRange": TimeRange
}
Response
{
"data": {
"stationsByTimeRange": [
{
"id": 123,
"code": "abc123",
"name": "abc123",
"lat": 47.27319717,
"lon": -119.7085724,
"time": "2022-10-26T12:37:53.528758212+03:00",
"timestamp": "1666778972",
"cloudiness": "CLEAR",
"condition": "CLEAR",
"distance": 987.65,
"feelsLike": 15,
"humidity": 82,
"icon": "skc_d",
"isThunder": true,
"phenomCondition": "BLOWING_SNOW",
"phenomIcon": "skc_d",
"prec": 10.1,
"precProbability": 82,
"precStrength": "ZERO",
"precType": "NO_TYPE",
"pressure": 762,
"temperature": 15,
"waterTemperature": 10,
"windAngle": 145,
"windDirection": "CALM",
"windSpeed": 3.5
}
]
}
}
tiles
Description
Timelines for tiled data for point with lat
and lon
coordinates.
Response
Returns a Tiles!
Arguments
Name | Description |
---|---|
request - PointInput!
|
Example
Query
query tiles($request: PointInput!) {
tiles(request: $request) {
humidity {
steps {
...TimelineStepFragment
}
}
prec {
steps {
...TimelineStepFragment
}
}
pressureMm {
steps {
...TimelineStepFragment
}
}
snowDepth {
steps {
...TimelineStepFragment
}
}
soilMoisture {
steps {
...TimelineStepFragment
}
}
soilTemperature {
steps {
...TimelineStepFragment
}
}
surfaceTemperature {
steps {
...TimelineStepFragment
}
}
temperature {
steps {
...TimelineStepFragment
}
}
waterTemperature {
steps {
...TimelineStepFragment
}
}
windSpeed {
steps {
...TimelineStepFragment
}
}
}
}
Variables
{"request": PointInput}
Response
{
"data": {
"tiles": {
"humidity": 82,
"prec": 10.1,
"pressureMm": 762,
"snowDepth": TilesTimeline,
"soilMoisture": 20,
"soilTemperature": 10,
"surfaceTemperature": 10,
"temperature": 15,
"waterTemperature": 10,
"windSpeed": 3.5
}
}
}
weatherByPoint
Description
Weather for a geographical point with lat
and lon
coordinates.
Response
Returns a Weather!
Arguments
Name | Description |
---|---|
request - PointInput!
|
|
language - Language
|
Example
Query
query weatherByPoint(
$request: PointInput!,
$language: Language
) {
weatherByPoint(
request: $request,
language: $language
) {
climate {
days {
...ClimateDayFragment
}
weeks {
...ClimateWeekFragment
}
months {
...ClimateMonthFragment
}
zone {
...ClimateZoneFragment
}
}
forecast {
days {
...ForecastDayFragment
}
}
location {
altitude
lat
lon
pressureNorm
timezone {
...TimezoneFragment
}
}
now {
cloudiness
condition
daytime
dewPoint
feelsLike
heatIndex
humidity
iceAreaFraction
iceThickness
icon
isThunder
kpIndex
leafWetnessIndex
meanSeaLevelPressure
phenomCondition
phenomIcon
pollution {
...PollutionFragment
}
precProbability
precStrength
precType
pressure
pressureInHg
seaCurrentAngle
seaCurrentDirection
seaCurrentSpeed
season
snowDepth
soilMoisture
soilTemperature
space {
...SpaceFragment
}
swellAngle
swellDirection
swellHeight
swellPeriod
temperature
uv
uvIndex
visibility
waterTemperature
waveAngle
waveDirection
waveHeight
waveMaxHeight
wavePeriod
windAngle
windChill
windDirection
windGust
windSpeed
}
nowcast {
region
steps {
...NowcastTimelineStepFragment
}
}
url
}
}
Variables
{"request": PointInput, "language": "EN"}
Response
{
"data": {
"weatherByPoint": {
"climate": Climate,
"forecast": Forecast,
"location": Location,
"now": Now,
"nowcast": NowcastTimeline,
"url": "https://meteum.ai/london"
}
}
}
Types
Boolean
Description
The Boolean
scalar type represents true
or false
.
Example
true
Bounds
Description
Rectangle where data is available.
Fields
Field Name | Description |
---|---|
lat - BoundsRange!
|
|
lon - BoundsRange!
|
Example
{"lat": 47.27319717, "lon": -119.7085724}
BoundsRange
Description
The range of coordinates for one of the dimensions.
Fields
Field Name | Description |
---|---|
min - Float!
|
|
max - Float!
|
Example
{"min": 987.65, "max": 123.45}
Climate
Description
Average weather statistics for 10 years.
Fields
Field Name | Description |
---|---|
days - [ClimateDay!]!
|
Statistics grouped by day. |
weeks - [ClimateWeek!]!
|
Statistics grouped by week. |
months - [ClimateMonth!]!
|
Statistics grouped by month. |
zone - ClimateZone!
|
Climate zone description. |
Example
{
"days": [ClimateDay],
"weeks": [ClimateWeek],
"months": [ClimateMonth],
"zone": ClimateZone
}
ClimateDay
Description
Statistics for one day.
Fields
Field Name | Description |
---|---|
cloudiness - Cloudiness!
|
Average cloudiness for this day. |
condition - Condition!
|
The general weather condition that fits to cloudiness , precStrength and precType . |
feelsLike - Int!
|
The same temperature values may be perceived differently depending on humidity, wind strength, and ultraviolet radiation. feelsLike shows how comfortable the weather conditions are, taking into account all these factors. |
Arguments
|
|
humidity - Int!
|
The percentage of the mass fraction of water vapor in the air to the maximum possible at the current temperature. Contains the average value for this day. |
icon - Url!
|
Icon describing the general weather condition for this day. Fits to the cloudiness , precStrength and precType . |
Arguments
|
|
maxDayTemperature - Int!
|
The highest temperature for this day. |
Arguments
|
|
maxWindSpeed - Float!
|
The highest wind speed for this day. |
Arguments
|
|
minNightTemperature - Int!
|
The lowest temperature for this day. |
Arguments
|
|
minWindSpeed - Float!
|
The lowest wind speed for this day. |
Arguments
|
|
prec - Float!
|
Total amount of precipitation in this day. Measured in millimeters. |
precProbability - Float!
|
The probability of precipitation for this day. Possible values are in [0, 1] . |
precStrength - PrecStrength!
|
The highest strength of precipitation for this day. |
precType - PrecType!
|
Precipitation corresponding to the precipitation strength. |
pressure - Int!
|
Atmospheric pressure for this day. |
Arguments
|
|
time - Time!
|
Start time of the day. |
timestamp - Timestamp!
|
Start time of the day. |
waterTemperature - Int
|
The water surface temperature for this day. Exists only for cities that are located near large bodies of water. |
Arguments
|
|
windAngle - Int!
|
The angle of the wind direction in degrees. |
windDirection - WindDirection!
|
Average wind direction for this day. |
Example
{
"cloudiness": "CLEAR",
"condition": "CLEAR",
"feelsLike": 15,
"humidity": 82,
"icon": "skc_d",
"maxDayTemperature": 15,
"maxWindSpeed": 3.5,
"minNightTemperature": 15,
"minWindSpeed": 3.5,
"prec": 10.1,
"precProbability": 82,
"precStrength": "ZERO",
"precType": "NO_TYPE",
"pressure": 762,
"time": "2022-10-26T12:37:53.528758212+03:00",
"timestamp": "1666778972",
"waterTemperature": 10,
"windAngle": 145,
"windDirection": "CALM"
}
ClimateMonth
Description
Statistics for one month.
Fields
Field Name | Description |
---|---|
avgDayTemperature - Int!
|
Average daily temperature for this month. |
Arguments
|
|
humidity - Int!
|
The percentage of the mass fraction of water vapor in the air to the maximum possible at the current temperature. Contains the average value for this month. |
maxDayTemperature - Int!
|
The highest daily temperature for this month. |
Arguments
|
|
minNightTemperature - Int!
|
The lowest night temperature for this month. |
Arguments
|
|
overcastDays - Int!
|
The number of cloudy days for this month. |
prec - Float!
|
Total amount of precipitation for this month. Measured in millimeters. |
precDays - Int!
|
The number of days with precipitation for this month. |
pressure - Int!
|
Average atmospheric pressure for this month. |
Arguments
|
|
rainyDays - Int!
|
The number of days with rain for this month. |
snowyDays - Int!
|
The number of days with snow for this month. |
sunnyDays - Int!
|
Number of sunny days for this month. |
waterTemperature - Int
|
Average water surface temperature for this month. Exists only for cities that are located near large bodies of water. |
Arguments
|
|
windAngle - Int!
|
Average angle of the wind direction in degrees. |
windDirection - WindDirection!
|
Average wind direction for this month. |
windSpeed - Float!
|
Average wind speed for this month. |
Arguments
|
Example
{
"avgDayTemperature": 15,
"humidity": 82,
"maxDayTemperature": 15,
"minNightTemperature": 15,
"overcastDays": 10,
"prec": 10.1,
"precDays": 10,
"pressure": 762,
"rainyDays": 123,
"snowyDays": 123,
"sunnyDays": 10,
"waterTemperature": 10,
"windAngle": 145,
"windDirection": "CALM",
"windSpeed": 3.5
}
ClimateWeek
Description
Statistics for one week.
Fields
Field Name | Description |
---|---|
maxDayTemperature - Int!
|
The highest daily temperature for this week. |
Arguments
|
|
maxWindSpeed - Float!
|
The highest wind speed for this week. |
Arguments
|
|
minNightTemperature - Int!
|
The lowest night temperature for this week. |
Arguments
|
|
prec - Float!
|
Total amount of precipitation for this week. Measured in millimeters. |
strongPrecDays - Int!
|
Days of this week with heavy precipitation. |
sunnyDays - Int!
|
Number of sunny days for this week. |
veryStrongPrecDays - Int!
|
Days of this week with very heavy precipitation. |
verySunnyDays - Int!
|
Number of very sunny days for this week. |
waterTemperature - Int
|
Average water surface temperature for this week. Exists only for cities that are located near large bodies of water. |
Arguments
|
|
windAngle - Int!
|
Average angle of the wind direction in degrees. |
windDirection - WindDirection!
|
Average wind direction for this week. |
windSpeed - Float!
|
Average wind speed for this week. |
Arguments
|
Example
{
"maxDayTemperature": 15,
"maxWindSpeed": 3.5,
"minNightTemperature": 15,
"prec": 10.1,
"strongPrecDays": 10,
"sunnyDays": 10,
"veryStrongPrecDays": 10,
"verySunnyDays": 10,
"waterTemperature": 10,
"windAngle": 145,
"windDirection": "CALM",
"windSpeed": 3.5
}
ClimateZone
Description
Climate zone description. Read more: https://koeppen-geiger.vu-wien.ac.at/present.htm
Fields
Field Name | Description |
---|---|
code - ClimateZoneCode!
|
|
description - String!
|
Example
{"code": "None", "description": "abc123"}
ClimateZoneCode
Description
Represents codes of climate zones. See more here https://koeppen-geiger.vu-wien.ac.at/present.htm
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"None"
Cloudiness
Description
Represents the state of cloudiness. In ascending order: CLEAR
– minimum, OVERCAST
– maximum.
Values
Enum Value | Description |
---|---|
|
0 oktas. |
|
1-2 oktas. |
|
3-4 oktas. |
|
5-7 oktas. |
|
8 oktas. |
Example
"CLEAR"
CloudinessWithHeight
Description
Response of cloudinessOnHeight function.
Fields
Field Name | Description |
---|---|
cloudiness - Int!
|
Cloudiness at the provided height. |
height - Int!
|
The closest to the specified height. |
Example
{"cloudiness": 123, "height": 987}
Condition
Description
Represents the general weather conditions.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CLEAR"
Datum
Description
Supported datum options. https://tidesandcurrents.noaa.gov/datum_options.html
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"MSL"
Daypart
Description
Aggregations for one time of day. Be careful, some of the fields may be skipped.
Fields
Field Name | Description |
---|---|
avgTemperature - Int!
|
Average temperature value for this time of day. |
Arguments
|
|
cloudiness - Cloudiness!
|
Average cloudiness for this time of day. |
condition - Condition!
|
The general weather condition that fits to cloudiness , precStrength and precType . |
daytime - Daytime!
|
Indicates the presence of the sun most of the time during the aggregation period. |
feelsLike - Int!
|
The same temperature values may be perceived differently depending on humidity, wind strength, and ultraviolet radiation. feelsLike shows how comfortable the weather conditions are, taking into account all these factors. |
Arguments
|
|
freshSnow - Float!
|
Amount of fresh snow in this time of day. Units: |
humidity - Int!
|
The percentage of the mass fraction of water vapor in the air to the maximum possible at the current temperature. Contains the average value for time of day. Units: |
iceAreaFraction - Float
|
Sea ice area fraction. Possible values: |
iceThickness - Float
|
Ice thickness. Units: |
icon - Url!
|
Icon describing the general weather condition. Fits to the cloudiness , precStrength and precType . |
Arguments
|
|
leafWetnessPercent - Int
|
What percentage of the daypart leafWetnessIndex is equal to true. |
maxDewPoint - Float
|
Highest dew point value for this time of day. |
Arguments
|
|
maxKpIndex - Float
|
Max planetary K-index for this time of day. If Possible values: |
Arguments
|
|
maxSoilTemperature - Int
|
Highest soil temperature at a depth of 7 cm. |
Arguments
|
|
maxTemperature - Int!
|
Highest temperature value for this time of day. |
Arguments
|
|
meanSeaLevelPressure - Int!
|
Atmospheric pressure on mean sea level for this time of day. |
Arguments
|
|
minSoilTemperature - Int
|
Lowest soil temperature at a depth of 7 cm. |
Arguments
|
|
minTemperature - Int!
|
Lowest temperature value for this time of day. |
Arguments
|
|
phenomCondition - PhenomCondition
|
Current phenomenon. Skipped when weather conditions are normal. |
phenomIcon - Url
|
Icon of the phenomenon. Skipped when weather conditions are normal. |
Arguments
|
|
pollution - PollutionDaypart
|
Atmospheric composition forecast for this time of day. |
prec - Float!
|
Total amount of precipitation in this time of day. Units: |
precProbability - Float
|
The probability of precipitation for this time of day. Possible values: |
precStrength - PrecStrength!
|
Highest strength of precipitation for this time of day. |
precType - PrecType!
|
Precipitation corresponding to the precipitation strength. |
pressure - Int!
|
Atmospheric pressure for this time of day. |
Arguments
|
|
pressureInHg - Float!
|
Atmospheric pressure for this time of day in inHg. |
seaCurrentDirection - SeaCurrentDirection
|
Mode of sea current direction from. |
seaCurrentSpeed - Float
|
Maximum of sea current speed. Units: |
snowDepth - Int
|
Snow depth. Units: |
soilMoisture - Float
|
Median fraction of all soil moisture to dry soil. Possible values: |
soilTemperature - Int
|
Median soil temperature at a depth of 7 cm. |
Arguments
|
|
swellDirection - SwellDirection
|
Mode of swell wave direction from. |
swellHeight - Float
|
Average spectral significant primary swell wave height Units: |
swellPeriod - Int
|
Average spectral moments (0,1) primary swell wave period Units: |
temperature - Int!
|
Contains the temperature value that is more suitable for this time of day. |
Arguments
|
|
uvIndex - Int
|
The level of solar radiation on the Earth's surface. Possible values: |
visibility - Int
|
Visibility for this time of day. Units: |
waterTemperature - Int
|
Highest water surface temperature for this time of day. Exists only for cities that are located near large bodies of water. |
Arguments
|
|
waveAngle - Int
|
The angle in which the primary wave is moving. Units: |
waveDirection - WaveDirection
|
The direction in which the primary wave is moving. |
waveHeight - Float
|
Significant height of combined wind waves and swell surface. Units: |
waveMaxHeight - Float
|
Maximum height of combined wind waves and swell surface. Units: |
wavePeriod - Int
|
Primary wave mean period surface. Units: |
windAngle - Int!
|
The angle of the wind direction. Units: |
windDirection - WindDirection!
|
Wind direction for this time of day. |
windGust - Float!
|
Highest speed of wind gusts for this time of day. Measured in meters per second. |
Arguments
|
|
windSpeed - Float!
|
Highest wind speed for this time of day. Measured in meters per second. |
Arguments
|
Example
{
"avgTemperature": 123,
"cloudiness": "CLEAR",
"condition": "CLEAR",
"daytime": "DAY",
"feelsLike": 15,
"freshSnow": 10.1,
"humidity": 82,
"iceAreaFraction": 987.65,
"iceThickness": 987.65,
"icon": "skc_d",
"leafWetnessPercent": 123,
"maxDewPoint": 987.65,
"maxKpIndex": 987.65,
"maxSoilTemperature": 10,
"maxTemperature": 15,
"meanSeaLevelPressure": 123,
"minSoilTemperature": 10,
"minTemperature": 15,
"phenomCondition": "BLOWING_SNOW",
"phenomIcon": "skc_d",
"pollution": PollutionDaypart,
"prec": 10.1,
"precProbability": 82,
"precStrength": "ZERO",
"precType": "NO_TYPE",
"pressure": 762,
"pressureInHg": 762,
"seaCurrentDirection": "CALM",
"seaCurrentSpeed": 123.45,
"snowDepth": 987,
"soilMoisture": 20,
"soilTemperature": 10,
"swellDirection": "CALM",
"swellHeight": 987.65,
"swellPeriod": 123,
"temperature": 15,
"uvIndex": 2,
"visibility": 987,
"waterTemperature": 10,
"waveAngle": 145,
"waveDirection": "CALM",
"waveHeight": 20,
"waveMaxHeight": 20,
"wavePeriod": 20,
"windAngle": 145,
"windDirection": "CALM",
"windGust": 3.5,
"windSpeed": 3.5
}
Dayparts
Description
Summary for four parts of the day. Use this aggregations when you divide the day into morning, afternoon, evening, and night.
Fields
Field Name | Description |
---|---|
night - Daypart!
|
Night aggregations. Be careful, it is the night before the morning of the current day. If you need a night after the evening of the current day, take the night from the next day. |
morning - Daypart!
|
Morning aggregations. |
day - Daypart!
|
Afternoon aggregations. |
evening - Daypart!
|
Evening aggregations. |
Example
{
"night": Daypart,
"morning": Daypart,
"day": Daypart,
"evening": Daypart
}
Daytime
Description
Represents the time of day.
Values
Enum Value | Description |
---|---|
|
|
|
Example
"DAY"
DustStormStrength
Description
Represents the strength of dust storm.
Values
Enum Value | Description |
---|---|
|
No risk of dust storm. |
|
Risk of dust (without storm). |
|
Risk of dust storm. |
|
Risk of strong dust storm. |
Example
"ZERO"
Float
Description
The Float
scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
987.65
Forecast
Description
The main weather forecast.
Fields
Field Name | Description |
---|---|
days - [ForecastDay!]!
|
Forecasts grouped by day. |
Example
{"days": [ForecastDay]}
ForecastDay
Description
Forecast for one day.
Fields
Field Name | Description |
---|---|
hours - [ForecastHour!]!
|
Forecast hours list for this day. Be careful, the size of this list may be less than 24 due to the decreasing frequency of forecasts for distant days. |
kpIndex - Int
|
Magnetic field Kp-index (biomet in REST). Possible values are in [0, 9] . Calculated as maximum of Daypart.maxKpIndex . Use maxKpIndex
|
maxKpIndex - Float
|
Planetary K-index. More information: https://www.swpc.noaa.gov/phenomena/geomagnetic-storms If Possible values: |
Arguments
|
|
moon - Int!
|
Moon phase. Possible values: |
oceanTideExtremums - [OceanTideExtremumItem!]
|
The ocean water level maximums and minimums in day. |
Arguments
|
|
parts - Dayparts!
|
Dayparts aggregations for this day. |
polar - Daytime
|
Indicates the polar day or polar night. Skipped when the day is normal. |
summary - Summary!
|
Summary aggregations for this day. |
sunrise - String!
|
Sunrise time in format hh:mm . use sunriseTime field
|
sunriseTime - Time!
|
Sunrise time. |
sunriseTimestamp - Timestamp!
|
Sunrise time. |
sunriseBegin - String!
|
Start time of the sunrise in format hh:mm . use sunriseBeginTime field
|
sunriseBeginTime - Time!
|
Start time of the sunrise. |
sunriseBeginTimestamp - Timestamp!
|
Start time of the sunrise. |
sunset - String!
|
Sunset time in format hh:mm . use sunsetTime field
|
sunsetTime - Time!
|
Sunset time. |
sunsetTimestamp - Timestamp!
|
Sunset time. |
sunsetEnd - String!
|
End time of the sunset in format hh:mm . use sunsetEndTime field
|
sunsetEndTime - Time!
|
End time of the sunset. |
sunsetEndTimestamp - Timestamp!
|
End time of the sunset. |
time - Time!
|
Start time of the day. |
timestamp - Timestamp!
|
Start time of the day. |
Example
{
"hours": [ForecastHour],
"kpIndex": 2,
"maxKpIndex": 123.45,
"moon": 2,
"oceanTideExtremums": [OceanTideExtremumItem],
"parts": Dayparts,
"polar": "DAY",
"summary": Summary,
"sunrise": "10:30",
"sunriseTime": "2022-10-26T12:37:53.528758212+03:00",
"sunriseTimestamp": "1666778972",
"sunriseBegin": "10:30",
"sunriseBeginTime": "2022-10-26T12:37:53.528758212+03:00",
"sunriseBeginTimestamp": "1666778972",
"sunset": "10:30",
"sunsetTime": "2022-10-26T12:37:53.528758212+03:00",
"sunsetTimestamp": "1666778972",
"sunsetEnd": "10:30",
"sunsetEndTime": "2022-10-26T12:37:53.528758212+03:00",
"sunsetEndTimestamp": "1666778972",
"time": "2022-10-26T12:37:53.528758212+03:00",
"timestamp": "1666778972"
}
ForecastHour
Description
One hour of the forecast. Can contains data from Meteum, Nowcast, and others.
Fields
Field Name | Description |
---|---|
accumulatedPrec - Float!
|
Total amount of precipitation in this hour. Units: |
cloudiness - Cloudiness!
|
Cloudiness for this hour. |
cloudinessOnHeight - CloudinessWithHeight
|
Cloud cover [%] at the closest to the given height (in meters). from the ground surface. Use height: 0 if you need total cloud cover. Read more about levels (low, middle or high): https://www.metoffice.gov.uk/weather/learn-about/weather/types-of-weather/clouds/ |
Arguments
|
|
condition - Condition!
|
The general weather condition that fits to cloudiness , isThunder , precStrength and precType . |
dewPoint - Float
|
The dew point value in the shade at a height of 2 meters from the ground surface. |
Arguments
|
|
feelsLike - Int!
|
The same temperature values may be perceived differently depending on humidity, wind strength, and ultraviolet radiation. feelsLike shows how comfortable the weather conditions are, taking into account all these factors. |
Arguments
|
|
freshSnow - Float!
|
Amount of fresh snow in this hour. Units: |
heatIndex - Float!
|
An index that combines air temperature and relative humidity, in shaded areas, to posit a human-perceived equivalent temperature. More information: https://www.wpc.ncep.noaa.gov/html/heatindex_equation.shtml |
Arguments
|
|
humidity - Int!
|
The percentage of the mass fraction of water vapor in the air to the maximum possible at the current temperature. Units: |
iceAreaFraction - Float
|
Sea ice area fraction. Possible values: |
iceThickness - Float
|
Ice thickness. Units: |
icon - Url!
|
Icon describing the general weather condition. Fits to the cloudiness , isThunder , precStrength and precType . |
Arguments
|
|
isThunder - Boolean!
|
Flag showing the presence of a thunder for the current hour. |
kpIndex - Float
|
Planetary K-index. More information: https://www.swpc.noaa.gov/phenomena/geomagnetic-storms If Possible values: |
Arguments
|
|
leafWetnessIndex - Boolean
|
Indicates whether there is moisture on leaves (true ) or not (false ). This value is calculated based on factors such as precipitation, air temperature, surface temperature, and dew point. |
meanSeaLevelPressure - Int!
|
Atmospheric pressure on mean sea level for this hour. |
Arguments
|
|
oceanTide - Float
|
The height of the ocean water level relative to the specified datum in centimeters. Units: |
Arguments
|
|
phenomCondition - PhenomCondition
|
Current phenomenon. Skipped when weather conditions are normal. |
phenomIcon - Url
|
Icon of the phenomenon. Skipped when weather conditions are normal. |
Arguments
|
|
pollution - Pollution
|
Atmospheric composition forecast for this hour. |
prec - Float!
|
Average amount of precipitation in this hour. For total amount use Units: |
precProbability - Float
|
The probability of precipitation for this hour. Possible values: |
precStrength - PrecStrength!
|
The strength of precipitation for this hour. |
precType - PrecType!
|
The type of precipitation for this hour. |
pressure - Int!
|
Atmospheric pressure for this hour. |
Arguments
|
|
pressureInHg - Float!
|
Atmospheric pressure for this hour in inHg. |
referenceEvapotranspiration - Float
|
Preceding 1h or 3h evaporative water flux sum. Units: |
seaCurrentAngle - Int
|
Sea current angle from. Units: |
seaCurrentDirection - SeaCurrentDirection
|
Sea current direction from. |
seaCurrentSpeed - Float
|
Sea current speed. Units: |
seaSalinity - Float
|
Sea water salinity. Units: |
surfaceTemperature - Int
|
The temperature of the surface of the Earth for this hour. |
Arguments
|
|
snowDepth - Int
|
Snow depth. Units: |
soilMoisture - Float
|
The fraction of all soil moisture to dry soil. Possible values: |
soilTemperature - Int
|
Soil temperature at a depth of 7 cm. |
Arguments
|
|
solarIrradiation - Float
|
Average direct solar irradiation on the horizontal plane https://en.wikipedia.org/wiki/Solar_irradiance |
Arguments
|
|
swellAngle - Int
|
Mean primary swell wave angle from. Units: |
swellDirection - SwellDirection
|
Mean primary swell wave direction from. |
swellHeight - Float
|
Spectral significant primary swell wave height. Units: |
swellPeriod - Int
|
Spectral moments (0, 1) primary swell wave period. Units: |
temperature - Int!
|
The temperature value in the shade at a height of 2 meters from the ground surface. |
Arguments
|
|
temperatureOnHeight - TemperatureWithHeight
|
The temperature value at the closest to the given height (in meters) from the ground surface. |
Arguments
|
|
time - Time!
|
Forecast horizon time. |
timestamp - Timestamp!
|
Forecast horizon time. |
uv - Int
|
The level of solar radiation on the Earth's surface. Open-ended version of Possible values: |
uvIndex - Int
|
The level of solar radiation on the Earth's surface. Possible values: |
visibility - Int
|
Visibility. Units: |
waterTemperature - Int
|
The water surface temperature. Exists only for cities that are located near large bodies of water. |
Arguments
|
|
waveAngle - Int
|
The angle in which the primary wave is moving. Units: |
waveDirection - WaveDirection
|
The direction in which the primary wave is moving. |
waveHeight - Float
|
Significant height of combined wind waves and swell surface. Units: |
waveMaxHeight - Float
|
Maximum height of combined wind waves and swell surface. Units: |
wavePeriod - Int
|
Primary wave mean period surface. Units: |
windAngle - Int!
|
The angle of the wind direction. Units: |
windAngleOnHeight - WindAngleWithHeight
|
The angle of the wind direction in degrees at the closest to the given height (in meters). |
Arguments
|
|
windChill - Float!
|
The air temperature feels like to the human skin due to the combination of cold temperatures and winds blowing on exposed skin. If temperature is above 10°C or windSpeed is less than or equal to 3 mph then temperature value will be returned. More information: https://www.weather.gov/safety/cold-wind-chill-chart |
Arguments
|
|
windDirection - WindDirection!
|
Wind direction for this hour. |
windDirectionOnHeight - WindDirectionWithHeight
|
Wind direction for this hour at the closest to the given height (in meters). |
Arguments
|
|
windGust - Float!
|
The speed of wind gusts. Measured in meters per second. |
Arguments
|
|
windSpeed - Float!
|
Wind speed at a height of 10 meters from the ground surface. Measured in meters per second. |
Arguments
|
|
windSpeedOnHeight - WindSpeedWithHeight
|
Wind speed at the closest to the given height (in meters) from the ground surface. Measured in meters per second. |
Arguments
|
Example
{
"accumulatedPrec": 47.27319717,
"cloudiness": "CLEAR",
"cloudinessOnHeight": CloudinessWithHeight,
"condition": "CLEAR",
"dewPoint": 987.65,
"feelsLike": 15,
"freshSnow": 10.1,
"heatIndex": 987.65,
"humidity": 82,
"iceAreaFraction": 987.65,
"iceThickness": 987.65,
"icon": "skc_d",
"isThunder": true,
"kpIndex": 2,
"leafWetnessIndex": false,
"meanSeaLevelPressure": 987,
"oceanTide": 20,
"phenomCondition": "BLOWING_SNOW",
"phenomIcon": "skc_d",
"pollution": Pollution,
"prec": 10.1,
"precProbability": 82,
"precStrength": "ZERO",
"precType": "NO_TYPE",
"pressure": 762,
"pressureInHg": 762,
"referenceEvapotranspiration": 987.65,
"seaCurrentAngle": 987,
"seaCurrentDirection": "CALM",
"seaCurrentSpeed": 987.65,
"seaSalinity": 987.65,
"surfaceTemperature": 10,
"snowDepth": 987,
"soilMoisture": 20,
"soilTemperature": 10,
"solarIrradiation": 987.65,
"swellAngle": 987,
"swellDirection": "CALM",
"swellHeight": 987.65,
"swellPeriod": 987,
"temperature": 15,
"temperatureOnHeight": 15,
"time": "2022-10-26T12:37:53.528758212+03:00",
"timestamp": "1666778972",
"uv": 987,
"uvIndex": 2,
"visibility": 987,
"waterTemperature": 10,
"waveAngle": 145,
"waveDirection": "CALM",
"waveHeight": 20,
"waveMaxHeight": 20,
"wavePeriod": 20,
"windAngle": 145,
"windAngleOnHeight": 145,
"windChill": 987.65,
"windDirection": "CALM",
"windDirectionOnHeight": WindDirectionWithHeight,
"windGust": 3.5,
"windSpeed": 3.5,
"windSpeedOnHeight": 3.5
}
IconFormat
Description
Represents the icon format. If you need a fixed-size png, use PNG_{size}
. If you need only code, use CODE
.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CODE"
IconTheme
Description
Represents the theme of the icon. Be careful, some icons may not exist in a particular theme.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"BLACK"
Int
Description
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
987
Language
Description
Represents all available Weather languages. The language will be used in texts.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
use ES_419
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
EN
Location
Description
All information about requested location or point.
Fields
Field Name | Description |
---|---|
altitude - Int
|
Altitude of this location from topography data source. |
lat - Float!
|
Latitude of this location. |
lon - Float!
|
Longitude of this location. |
pressureNorm - Int!
|
Info about normal pressure values for this location. |
Arguments
|
|
timezone - Timezone!
|
Timezone information for this location. |
Example
{
"altitude": 123,
"lat": 47.27319717,
"lon": -119.7085724,
"pressureNorm": 762,
"timezone": Timezone
}
Now
Description
Weather now. It can be compiled from many sources based on different business logic. If you need the actual weather values, then use the data from the Query.stations
.
Fields
Field Name | Description |
---|---|
cloudiness - Cloudiness!
|
Current value of cloudiness. |
condition - Condition!
|
Current general weather condition that fits to cloudiness , isThunder , precStrength and precType . |
daytime - Daytime!
|
Indicates the presence of the sun right now. |
dewPoint - Float
|
The dew point value in the shade at a height of 2 meters from the ground surface. |
Arguments
|
|
feelsLike - Int!
|
The same temperature values may be perceived differently depending on humidity, wind strength, and ultraviolet radiation. feelsLike shows how comfortable the weather conditions are, taking into account all these factors. |
Arguments
|
|
heatIndex - Float!
|
An index that combines air temperature and relative humidity, in shaded areas, to posit a human-perceived equivalent temperature. More information: https://www.wpc.ncep.noaa.gov/html/heatindex_equation.shtml |
Arguments
|
|
humidity - Int!
|
The percentage of the mass fraction of water vapor in the air to the maximum possible at the current temperature. Units: |
iceAreaFraction - Float
|
Sea ice area fraction. Possible values: |
iceThickness - Float
|
Ice thickness. Units: |
icon - Url!
|
Icon describing the general weather condition. Fits to the cloudiness , isThunder , precStrength and precType . |
Arguments
|
|
isThunder - Boolean!
|
Flag showing the presence of a thunder right now (or for some short time period). |
kpIndex - Float
|
Planetary K-index. More information: https://www.swpc.noaa.gov/phenomena/geomagnetic-storms If Possible values: |
Arguments
|
|
leafWetnessIndex - Boolean
|
Indicates whether there is moisture on leaves (true ) or not (false ). This value is calculated based on factors such as precipitation, air temperature, surface temperature, and dew point. |
meanSeaLevelPressure - Int!
|
Current atmospheric pressure on mean sea level. |
Arguments
|
|
phenomCondition - PhenomCondition
|
Current phenomenon. Skipped when weather conditions are normal. |
phenomIcon - Url
|
Icon of the phenomenon. Skipped when weather conditions are normal. |
Arguments
|
|
pollution - Pollution
|
The current composition of the atmosphere. |
precProbability - Float!
|
Current probability of precipitation. Possible values: |
precStrength - PrecStrength!
|
Current value of precipitation strength. |
precType - PrecType!
|
Current type of precipitation. |
pressure - Int!
|
Current atmospheric pressure. |
Arguments
|
|
pressureInHg - Float!
|
Current atmospheric pressure in inHg. |
seaCurrentAngle - Int
|
Sea current angle from. Units: |
seaCurrentDirection - SeaCurrentDirection
|
Sea current direction from. |
seaCurrentSpeed - Float
|
Sea current speed. Units: |
season - Season!
|
Current time of year. |
snowDepth - Int
|
Snow depth. Units: |
soilMoisture - Float
|
The fraction of all soil moisture to dry soil. Possible values: |
soilTemperature - Int
|
Soil temperature at a depth of 7 cm. |
Arguments
|
|
space - Space
|
Space weather |
swellAngle - Int
|
Mean primary swell wave angle from. Units: |
swellDirection - SwellDirection
|
Mean primary swell wave direction from. |
swellHeight - Float
|
Spectral significant primary swell wave height. Units: |
swellPeriod - Int
|
Spectral moments (0, 1) primary swell wave period. Units: |
temperature - Int!
|
The temperature value in the shade at a height of 2 meters from the ground surface. |
Arguments
|
|
uv - Int
|
The level of solar radiation on the Earth's surface. Open-ended version of Possible values: |
uvIndex - Int
|
The level of solar radiation on the Earth's surface. Possible values: |
visibility - Int
|
Visibility. Units: |
waterTemperature - Int
|
The water surface temperature. Exists only for cities that are located near large bodies of water. |
Arguments
|
|
waveAngle - Int
|
The angle in which the primary wave is moving. Units: |
waveDirection - WaveDirection
|
The direction in which the primary wave is moving. |
waveHeight - Float
|
Significant height of combined wind waves and swell surface. Units: |
waveMaxHeight - Float
|
Maximum height of combined wind waves and swell surface. Units: |
wavePeriod - Int
|
Primary wave mean period surface. Units: |
windAngle - Int!
|
The angle of the wind direction. Units: |
windChill - Float!
|
The air temperature feels like to the human skin due to the combination of cold temperatures and winds blowing on exposed skin. If temperature is above 10°C or windSpeed is less than or equal to 3 mph then temperature value will be returned. More information: https://www.weather.gov/safety/cold-wind-chill-chart |
Arguments
|
|
windDirection - WindDirection!
|
Current wind direction. |
windGust - Float
|
The speed of wind gusts. |
Arguments
|
|
windSpeed - Float!
|
Wind speed at a height of 10 meters from the ground surface. |
Arguments
|
Example
{
"cloudiness": "CLEAR",
"condition": "CLEAR",
"daytime": "DAY",
"dewPoint": 987.65,
"feelsLike": 15,
"heatIndex": 123.45,
"humidity": 82,
"iceAreaFraction": 123.45,
"iceThickness": 987.65,
"icon": "skc_d",
"isThunder": true,
"kpIndex": 2,
"leafWetnessIndex": true,
"meanSeaLevelPressure": 987,
"phenomCondition": "BLOWING_SNOW",
"phenomIcon": "skc_d",
"pollution": Pollution,
"precProbability": 82,
"precStrength": "ZERO",
"precType": "NO_TYPE",
"pressure": 762,
"pressureInHg": 762,
"seaCurrentAngle": 123,
"seaCurrentDirection": "CALM",
"seaCurrentSpeed": 123.45,
"season": "SPRING",
"snowDepth": 123,
"soilMoisture": 20,
"soilTemperature": 10,
"space": Space,
"swellAngle": 123,
"swellDirection": "CALM",
"swellHeight": 123.45,
"swellPeriod": 123,
"temperature": 15,
"uv": 123,
"uvIndex": 2,
"visibility": 987,
"waterTemperature": 10,
"waveAngle": 145,
"waveDirection": "CALM",
"waveHeight": 20,
"waveMaxHeight": 20,
"wavePeriod": 20,
"windAngle": 145,
"windChill": 987.65,
"windDirection": "CALM",
"windGust": 3.5,
"windSpeed": 3.5
}
NowcastTimeline
Description
Weather precipitations nowcast timeline.
Fields
Field Name | Description |
---|---|
region - String!
|
Nowcast region. |
steps - [NowcastTimelineStep!]!
|
Nowcast timeline steps array. |
Example
{
"region": "xyz789",
"steps": [NowcastTimelineStep]
}
NowcastTimelineStep
Description
One step of nowcast timeline.
Fields
Field Name | Description |
---|---|
bounds - Bounds!
|
Rectangle where nowcast data is available. |
cloudiness - Cloudiness!
|
Cloudiness for this step. |
condition - Condition!
|
The general weather condition that fits to cloudiness , precStrength and precType . |
daytime - Daytime!
|
Indicates the presence of the sun most of the time during the aggregation period. |
genTime - Timestamp!
|
Nowcast generation time. Used for synchronization when requesting tile data. |
icon - Url!
|
Icon describing the general weather condition. Fits to the cloudiness , isThunder , precStrength and precType . |
Arguments
|
|
isLongterm - Boolean!
|
For hourly precipitation will have the value true . |
isLongtermCfs - Boolean!
|
For 6-hour precipitation will have the value true . |
prec - Float
|
Intensity of precipitation per hour. Units: |
precStrength - PrecStrength!
|
The strength of precipitation for this step. |
precType - PrecType!
|
The type of precipitation for this step. |
resolution - Resolution!
|
Resolution of the image with data. Measured in degrees. |
time - Time!
|
Nowcast step time. |
timestamp - Timestamp!
|
Nowcast step time. |
Example
{
"bounds": Bounds,
"cloudiness": "CLEAR",
"condition": "CLEAR",
"daytime": "DAY",
"genTime": "1666778972",
"icon": "skc_d",
"isLongterm": -119.7085724,
"isLongtermCfs": -119.7085724,
"prec": 10.1,
"precStrength": "ZERO",
"precType": "NO_TYPE",
"resolution": Resolution,
"time": "2022-10-26T12:37:53.528758212+03:00",
"timestamp": "1666778972"
}
OceanTideExtremumItem
Description
Ocean tide timeline point.
Fields
Field Name | Description |
---|---|
timestamp - Timestamp!
|
Tide timestamp. |
value - Float!
|
Tide value. Units: |
type - OceanTideExtremumType!
|
Extemum type. |
Example
{"timestamp": "1666778972", "value": 123.45, "type": "MAX"}
OceanTideExtremumType
Description
Ocean tide extremum type.
Values
Enum Value | Description |
---|---|
|
Maximum from 12 a.m to 12 p.m or from 12 p.m. to 12 a.m. |
|
Minimum from 12 a.m to 12 p.m or from 12 p.m. to 12 a.m. |
|
Just local extremum. |
Example
"MAX"
PhenomCondition
Description
Represents the phenomenon weather conditions.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"BLOWING_SNOW"
PointInput
Description
Input for Query.weatherByPoint
. Represents a geographical point with lat
and lon
coordinates.
Fields
Input Field | Description |
---|---|
lat - Float!
|
|
lon - Float!
|
Example
{"lat": 47.27319717, "lon": -119.7085724}
Pollutant
Description
Represents the air pollutant.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"CO"
Pollution
Description
Atmospheric composition forecasts.
Fields
Field Name | Description |
---|---|
aqi - Int!
|
Air quality index (AQI). See more here https://www.airnow.gov/aqi/aqi-basics/ Possible values: |
co - Float!
|
Carbon monoxide (CO) is a colorless, highly poisonous, odorless, tasteless, flammable gas that is slightly less dense than air. See more here https://www.who.int/news-room/fact-sheets/detail/ambient-(outdoor)-air-quality-and-health Units: |
dominant - Pollutant!
|
The pollutant that makes the greatest contribution to the calculation of AQI. You can assume that aqi is the IAQI of this pollutant. See more here https://www.airnow.gov/aqi/aqi-basics/ |
density - Float!
|
The density of air or atmospheric density, is the mass per unit volume of Earth's atmosphere. Units: |
dustStormStrength - DustStormStrength!
|
Strength of a duststorm. Based on wind speed and amount of dust particles in the atmosphere. |
iaqi - Int!
|
The individual AQI for a specific pollutant. See more here https://www.airnow.gov/aqi/aqi-basics/ You can request multiple values of this field, using following syntax:
Possible values: |
Arguments
|
|
no2 - Float!
|
The major sources of anthropogenic emissions of NO2 are combustion processes (heating, power generation, and engines in vehicles and ships). See more here https://www.who.int/news-room/fact-sheets/detail/ambient-(outdoor)-air-quality-and-health Units: |
o3 - Float!
|
Ground-level ozone (O3), also known as surface-level ozone and tropospheric ozone, is a trace gas in the troposphere. See more here https://www.who.int/news-room/fact-sheets/detail/ambient-(outdoor)-air-quality-and-health Units: |
pm10 - Float!
|
PM2.5 is a fine particulate matter, with a diameter of 2.5 micrometers (microns) or less. See more here https://www.who.int/news-room/fact-sheets/detail/ambient-(outdoor)-air-quality-and-health Units: |
pm2p5 - Float!
|
PM10 is a suspended large solid particles, with a diameter of 10 micrometers (microns) or less. See more here https://www.who.int/news-room/fact-sheets/detail/ambient-(outdoor)-air-quality-and-health Units: |
so2 - Float!
|
SO2 is a colorless gas with a pungent odor, which is formed during the burning of fossil fuels and the melting of mineral ores containing sulfur. See more here https://www.who.int/news-room/fact-sheets/detail/ambient-(outdoor)-air-quality-and-health Units: |
Example
{
"aqi": 31,
"co": 132,
"dominant": "CO",
"density": 1.2,
"dustStormStrength": "ZERO",
"iaqi": 123,
"no2": 16,
"o3": 39,
"pm10": 9,
"pm2p5": 6,
"so2": 3
}
PollutionDaypart
Description
Atmospheric composition forecasts aggregated for one time of day .
Fields
Field Name | Description |
---|---|
maxAqi - Int!
|
Max air quality index (AQI). |
minAqi - Int!
|
Min air quality index (AQI). |
Example
{"maxAqi": 987, "minAqi": 123}
PrecStrength
Description
Represents the strength of precipitations. In ascending order: ZERO
– minimum, VERY_STRONG
– maximum.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
Example
"ZERO"
PrecType
Description
Represents the type of precipitations.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
Example
"NO_TYPE"
PressureUnit
Description
Represents the units of measurement of the pressure value. Can be used to convert to convenient units of measurement. Default unit for this API is MM_HG
.
Values
Enum Value | Description |
---|---|
|
inches of mercury (in Hg) Possible values: |
|
millibars (mbar) Possible values: |
|
millimeters of mercury (mm Hg) Possible values: |
|
hectopascals (hPa) Possible values: |
Example
"IN_HG"
Resolution
Description
Resolution of the image with data. Measured in degrees.
Fields
Field Name | Description |
---|---|
x - Float!
|
|
y - Float!
|
Example
{"x": 987.65, "y": 987.65}
SeaCurrentDirection
Description
Represents the direction of the sea current in terms of the cardinal directions. To determine the direction more accurately, use seaCurrentAngle
. The value 0
of seaCurrentAngle
corresponds to NORTH
, 180
– SOUTH
. The enumeration value CALM
is possible when the seaCurrentSpeed
is near 0
.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CALM"
Season
Description
Represents the time of the year.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
Example
"SPRING"
SolarIrradiationUnit
Description
Represents the units of measurement of the solar radiation value. Can be used to convert to convenient units of measurement. Default unit for this API is WATTS_PER_SQUARE_METER
.
Values
Enum Value | Description |
---|---|
|
W⋅m⁻² Possible values: |
|
MJ⋅m⁻²⋅h Possible values: |
Example
"WATTS_PER_SQUARE_METER"
Space
Description
Space weather vars obtained with NOAA SWPC
Fields
Field Name | Description |
---|---|
solarWindSpeed - Float!
|
Solar wind speed in km/sec. More information: https://www.swpc.noaa.gov/phenomena/solar-wind |
solarWindDensity - Float!
|
Solar wind density in p/cm3. More information: https://www.swpc.noaa.gov/phenomena/solar-wind |
imfBx - Float!
|
Interplanetary Magnetic Field in nT. Bx axis. More information: https://www.spaceweatherlive.com/en/help/the-interplanetary-magnetic-field-imf.html |
imfBy - Float!
|
Interplanetary Magnetic Field in nT. By axis. More information: https://www.spaceweatherlive.com/en/help/the-interplanetary-magnetic-field-imf.html |
imfBz - Float!
|
Interplanetary Magnetic Field in nT. Bz axis. More information: https://www.spaceweatherlive.com/en/help/the-interplanetary-magnetic-field-imf.html |
imfBt - Float!
|
Interplanetary Magnetic Field in nT. Bt - the total strength of the IMF. More information: https://www.spaceweatherlive.com/en/help/the-interplanetary-magnetic-field-imf.html |
Example
{
"solarWindSpeed": 987.65,
"solarWindDensity": 123.45,
"imfBx": 123.45,
"imfBy": 123.45,
"imfBz": 987.65,
"imfBt": 123.45
}
Station
Description
Fact weather values from the station. Be careful, some weather values may be skipped because the station can't measure them.
Fields
Field Name | Description |
---|---|
id - Int!
|
Unique station ID for these values. |
code - String!
|
Unique station code for these values. |
name - String!
|
Unique station name for these values. |
lat - Float!
|
Latitude of the station location. |
lon - Float!
|
Longitude of the station location. |
time - Time!
|
Time of the last data readout in string. |
timestamp - Timestamp!
|
Time of the last data readout. |
cloudiness - Cloudiness
|
Cloudiness value from this station for this timestamp . |
condition - Condition
|
Calculated using the same logic as Weather.forecast.hours.condition , but based on the values from this station. |
distance - Float!
|
Distance between the station and the search point. Measured in kilometers. |
feelsLike - Int
|
Calculated using the same logic as Weather.forecast.hours.feelsLike , but based on the values from this station. |
Arguments
|
|
humidity - Int
|
The percentage of the mass fraction of water vapor in the air to the maximum possible at the current temperature. |
icon - Url
|
Calculated using the same logic as Weather.forecast.hours.icon , but based on the values from this station. |
Arguments
|
|
isThunder - Boolean!
|
Flag showing the presence of a thunder for the timestamp . |
phenomCondition - PhenomCondition
|
The phenomenon observed from this weather station. |
phenomIcon - Url
|
The phenomenon icon that fits to phenomCondition . |
Arguments
|
|
prec - Float
|
Total amount of precipitation. Measured in millimeters. |
precProbability - Float
|
The probability of precipitation for this hour. Possible values are in [0, 1] . |
precStrength - PrecStrength
|
The strength of precipitation according to the data from the station. |
precType - PrecType
|
The type of precipitation according to the data from the station. |
pressure - Int
|
Atmospheric pressure for this hour. |
Arguments
|
|
temperature - Int
|
The temperature value in the shade at a height of 2 meters from the ground surface. |
Arguments
|
|
waterTemperature - Int
|
The water surface temperature. Exists only for cities that are located near large bodies of water. |
Arguments
|
|
windAngle - Int
|
The angle of the wind direction in degrees. |
windDirection - WindDirection
|
Wind direction according to the data from the station. |
windSpeed - Float
|
Wind speed at a height of 10 meters from the ground surface. |
Arguments
|
Example
{
"id": 123,
"code": "abc123",
"name": "xyz789",
"lat": 47.27319717,
"lon": -119.7085724,
"time": "2022-10-26T12:37:53.528758212+03:00",
"timestamp": "1666778972",
"cloudiness": "CLEAR",
"condition": "CLEAR",
"distance": 123.45,
"feelsLike": 15,
"humidity": 82,
"icon": "skc_d",
"isThunder": false,
"phenomCondition": "BLOWING_SNOW",
"phenomIcon": "skc_d",
"prec": 10.1,
"precProbability": 82,
"precStrength": "ZERO",
"precType": "NO_TYPE",
"pressure": 762,
"temperature": 15,
"waterTemperature": 10,
"windAngle": 145,
"windDirection": "CALM",
"windSpeed": 3.5
}
String
Description
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
"abc123"
Summary
Description
Summary for day and night parts only. Use this aggregations when you divide the day into two parts: day and night.
Fields
Field Name | Description |
---|---|
night - Daypart!
|
Night aggregations. Be careful, it is the night before the morning of the current day. If you need a night after the evening of the current day, take the night from the next day. |
day - Daypart!
|
Aggregations for the entire civil day. |
Example
{"night": Daypart, "day": Daypart}
SwellDirection
Description
Represents the direction of the swell wave in terms of the cardinal directions. To determine the direction more accurately, use swellAngle
. The value 0
of swellAngle
corresponds to NORTH
, 180
– SOUTH
. The enumeration value CALM
is possible when the swellHeight
is near 0
.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CALM"
TemperatureUnit
Description
Represents the units of measurement of the temperature value. Can be used to convert to convenient units of measurement. Default unit for this API is CELSIUS
.
Values
Enum Value | Description |
---|---|
|
Celsius degree. Possible values: |
|
Fahrenheit degree. Possible values: |
Example
"CELSIUS"
TemperatureWithHeight
Description
Response of temperatureOnHeight function.
Fields
Field Name | Description |
---|---|
temperature - Int!
|
Temperature at the provided height. |
height - Int!
|
The closest to the specified height. |
Example
{"temperature": 15, "height": 987}
Tiles
Description
Timelines for tiled data.
Fields
Field Name | Description |
---|---|
humidity - TilesTimeline!
|
|
prec - TilesTimeline!
|
|
pressureMm - TilesTimeline!
|
|
snowDepth - TilesTimeline!
|
|
soilMoisture - TilesTimeline!
|
|
soilTemperature - TilesTimeline!
|
|
surfaceTemperature - TilesTimeline!
|
|
temperature - TilesTimeline!
|
|
waterTemperature - TilesTimeline!
|
|
windSpeed - TilesTimeline!
|
Example
{
"humidity": 82,
"prec": 10.1,
"pressureMm": 762,
"snowDepth": TilesTimeline,
"soilMoisture": 20,
"soilTemperature": 10,
"surfaceTemperature": 10,
"temperature": 15,
"waterTemperature": 10,
"windSpeed": 3.5
}
TilesTimeline
Description
Weather tiles timeline.
Fields
Field Name | Description |
---|---|
steps - [TimelineStep!]!
|
Timeline steps array. |
Example
{"steps": [TimelineStep]}
Time
Description
Time in ISO 8601 format 2021-03-30T04:10:02Z
.
Example
"2022-10-26T12:37:53.528758212+03:00"
TimeRange
Description
Time interval [from, to].
Fields
Input Field | Description |
---|---|
from - Timestamp!
|
|
to - Timestamp!
|
Example
{"from": "1666778972", "to": "1666778972"}
TimelineStep
Description
One step of timeline.
Fields
Field Name | Description |
---|---|
bounds - Bounds!
|
Rectangle where data is available. |
genTime - Timestamp!
|
Data generation time. Used for synchronization when requesting tile data. |
resolution - Resolution!
|
Resolution of the image with data. Measured in degrees. |
time - Time!
|
Timeline step time. |
timestamp - Timestamp!
|
Timeline step time. |
value - Float
|
Timeline step value. |
Example
{
"bounds": Bounds,
"genTime": "1666778972",
"resolution": Resolution,
"time": "2022-10-26T12:37:53.528758212+03:00",
"timestamp": "1666778972",
"value": 987.65
}
Timestamp
Description
Unix timestamp for UTC timezone.
Example
"1666778972"
Timezone
Description
Information that defines the time zone.
Fields
Field Name | Description |
---|---|
abbr - String!
|
A well-known abbreviation. |
dst - Boolean!
|
Indicates that the timezone is currently daylight saving time (DST). |
name - String!
|
Name from IANA time zone database. |
offset - Int!
|
Offset in seconds (can be negative). |
Example
{"abbr": "BST", "dst": true, "name": "Europe/London", "offset": 3600}
Url
Description
Always URL with schema, host, path. Query parameters are also possible.
Example
Url
WaveDirection
Description
Represents the direction of the wave in terms of the cardinal directions. To determine the direction more accurately, use waveAngle
. The value 0
of waveAngle
corresponds to NORTH
, 180
– SOUTH
. The enumeration value CALM
is possible when the waveHeight
is near 0
.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CALM"
Weather
Description
Generic object containing all available types of weather data.
Fields
Field Name | Description |
---|---|
climate - Climate!
|
Average weather statistics for 10 years. |
forecast - Forecast!
|
The main weather forecast. |
location - Location!
|
All information about requested location or point. |
now - Now!
|
Weather now. |
nowcast - NowcastTimeline!
|
Weather precipitations nowcast timeline. |
url - Url!
|
URL to page for the current request. |
Example
{
"climate": Climate,
"forecast": Forecast,
"location": Location,
"now": Now,
"nowcast": NowcastTimeline,
"url": "https://meteum.ai/london"
}
WindAngleWithHeight
Description
Response of windAngleOnHeight function.
Fields
Field Name | Description |
---|---|
windAngle - Int!
|
Wind angle at the provided height. Units: |
height - Int!
|
The closest to the specified height. |
Example
{"windAngle": 145, "height": 987}
WindDirection
Description
Represents the direction of the wind in terms of the cardinal directions. To determine the direction more accurately, use windAngle
. The value 0
of windAngle
corresponds to NORTH
, 180
– SOUTH
. The enumeration value CALM
is possible when the windSpeed
is 0
.
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CALM"
WindDirectionWithHeight
Description
Response of windDirectionOnHeight function.
Fields
Field Name | Description |
---|---|
windDirection - WindDirection!
|
Wind direction at the provided height. |
height - Int!
|
The closest to the specified height. |
Example
{"windDirection": "CALM", "height": 987}
WindSpeedUnit
Description
Represents the units of measurement of the wind speed value. Can be used to convert to convenient units of measurement. Default unit for this API is METERS_PER_SECOND
.
Values
Enum Value | Description |
---|---|
|
kilometers per hour |
|
nautical miles per hour (knots) |
|
meters per second |
|
miles per hour |
Example
"KILOMETERS_PER_HOUR"
WindSpeedWithHeight
Description
Response of windSpeedOnHeight function.
Fields
Field Name | Description |
---|---|
windSpeed - Float!
|
Wind speed at the provided height. |
height - Int!
|
The closest to the specified height. |
Example
{"windSpeed": 3.5, "height": 123}