MinuteCast™

Color codes

GET
https://dataservice.accuweather.com
/forecasts/v1/minute/colors

Color codes › query Parameters

format
​string

A string value that specifies what type of format to provide the response.

Default: json

Color codes › Headers

Authorization
​string · required

The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

Color codes › Responses

OK

Type
​string · minLength: 1 · required

The precipitation type.

Dbz
​number · float · required

A unit that represents precipitation intensity in weather radar.

Red
​integer · int32 · required

Red component of the RGB value.

Green
​integer · int32 · required

Green component of the RGB value.

Blue
​integer · int32 · required

Blue component of the RGB value.

Hex
​string · minLength: 1 · required

The hexadecimal color value.


Simplified color codes

GET
https://dataservice.accuweather.com
/forecasts/v1/minute/colors/simple

Simplified color codes › query Parameters

format
​string

A string value that specifies what type of format to provide the response.

Default: json

Simplified color codes › Headers

Authorization
​string · required

The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

Simplified color codes › Responses

OK

Type
​string · minLength: 1 · required

The precipitation type.

Threshold
​string · minLength: 1 · required

Key that specifies the threshold value. Along with Precipitation type, can be used to determine the simplified color. If Dbz is zero, not present in the response.

StartDbz
​integer · int64 · required

A unit that represents the start of precipitation intensity in weather radar.

EndDbz
​integer · int64 · required

A unit that represents the end of precipitation intensity in weather radar.

Red
​integer · int32 · required

Red component of the RGB value.

Green
​integer · int32 · required

Green component of the RGB value.

Blue
​integer · int32 · required

Blue component of the RGB value.

Hex
​string · minLength: 1 · required

The hexadecimal color value.