Skip to main content
POST
weather.route-point.get

Authorizations

Authorization
string
header
required

API key: sk_live_…

Headers

Idempotency-Key
string

Optional. A retry with the same key returns the stored result.

Maximum string length: 255
Pramaan-Max-Price-Micro
string

Optional. The most this request may be priced at, in micro-USD (a whole number above 0). It replaces the capability's own price ceiling for this request, lower or higher. Sources that could cost more are left out; when none is left the answer is 400 with the lowest limit that would work.

Pattern: ^[1-9]\d{0,14}$

Body

application/json
latitude
number
required

Latitude, from -90 to 90.

Required range: -90 <= x <= 90
longitude
number
required

Longitude, from -180 to 180.

Required range: -180 <= x <= 180
time
string<date-time>
required

Date and time with an explicit UTC offset.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
road
boolean
default:false

Explicitly request road-surface information, where available.

Response

The result

time
string<date-time>
required

Date and time with an explicit UTC offset.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
latitude
number
required

Latitude, from -90 to 90.

Required range: -90 <= x <= 90
longitude
number
required

Longitude, from -180 to 180.

Required range: -180 <= x <= 180
periodStart
string<date-time>

Start of the period for accumulated rain, snow or total precipitation.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
periodEnd
string<date-time>

End of the period for accumulated rain, snow or total precipitation.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
temperatureC
number

Air temperature in Celsius.

feelsLikeC
number

Apparent temperature in Celsius.

dewPointC
number

Dew point in Celsius.

humidityPercent
number

Relative humidity, percent.

Required range: 0 <= x <= 100
cloudCoverPercent
number

Cloud cover, percent.

Required range: 0 <= x <= 100
windSpeedMs
number

Wind speed in metres per second.

Required range: x >= 0
windDirectionDeg
number

Direction wind comes from, degrees.

Required range: 0 <= x <= 360
windGustMs
number

Wind gust speed in metres per second.

Required range: x >= 0
pressureSeaLevelHpa
number

Pressure reduced to sea level, hPa.

pressureSurfaceHpa
number

Pressure at the surface, hPa.

visibilityM
number

Visibility in metres.

Required range: x >= 0
rainRateMmH
number

Rainfall rate in millimetres per hour.

Required range: x >= 0
snowRateMmH
number

Snowfall rate in millimetres per hour.

Required range: x >= 0
precipitationRateMmH
number

Total precipitation rate in millimetres per hour.

Required range: x >= 0
precipitationAmountMm
number

Total precipitation accumulated in the stated period, millimetres.

Required range: x >= 0
rainAmountMm
number

Rain accumulated during the stated period, millimetres.

Required range: x >= 0
snowAmountMm
number

Snow accumulated during the stated period, millimetres.

Required range: x >= 0
precipitationProbabilityPercent
number

Probability of precipitation, percent.

Required range: 0 <= x <= 100
conditions
string[]

Weather conditions occurring at the same time.

Maximum array length: 10

Neutral weather condition.

Required string length: 1 - 100
sunrise
string<date-time>

Date and time with an explicit UTC offset.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
sunset
string<date-time>

Date and time with an explicit UTC offset.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
roadTemperatureC
number

Road surface temperature in Celsius.

blackIceWarning
boolean

True when black ice is explicitly warned; absent for no report.

warnings
object[]

Warnings at the point.

Maximum array length: 10