WeatherBug Icons

There are three pieces of information required to create a forecast image icon URL:

  1. Desired icon size
  2. Transparent or opaque background
  3. Condition code

The URL format is:

<img src="http://img.weather.weatherbug.com/forecast/icons/localized/<size>/en/<trans|opaq>/cond<Condition Code>.png"/>

Icons are available in the following sizes (measurement is in pixels):

  • 15 x 13
  • 20 x 17
  • 25 x 21
  • 30 x 25
  • 35 x 29
  • 40 x 34
  • 45 x 38
  • 50 x 42
  • 55 x 46
  • 60 x 50
  • 65 x 55
  • 70 x 59
  • 80 x 67
  • 85 x 71
  • 90 x 76
  • 95 x 80
  • 100 x 84
  • 105 x 88
  • 110 x 92
  • 115 x 97
  • 120 x 101
  • 125 x 105
  • 130 x 109
  • 135 x 113
  • 140 x 118
  • 145 x 122
  • 150 x 126
  • 155 x 130
  • 160 x 134
  • 165 x 139
  • 170 x 143
  • 175 x 147
  • 180 x 151
  • 185 x 155
  • 190 x 160
  • 195 x 164
  • 200 x 168
  • 205 x 172
  • 210 x 176
  • 215 x 181
  • 220 x 185
  • 225 x 189
  • 230 x 193
  • 235 x 197
  • 240 x 202
  • 245 x 206
  • 250 x 210
  • 255 x 214
  • 260 x 218
  • 265 x 223
  • 270 x 227
  • 275 x 231
  • 280 x 235
  • 285 x 239
  • 290 x 244
  • 295 x 248
  • 300 x 252
  • 305 x 256
  • 310 x 260
  • 315 x 265
  • 320 x 269
  • 325 x 273
  • 330 x 277
  • 335 x 281
  • 340 x 286
  • 345 x 290
  • 350 x 294
  • 355 x 298
  • 360 x 302
  • 365 x 307
  • 370 x 311
  • 375 x 315
  • 380 x 319
  • 385 x 323
  • 390 x 328
  • 395 x 332
  • 400 x 336
  • 405 x 340
  • 410 x 344
  • 415 x 349
  • 420 x 353
  • 425 x 357
  • 430 x 361
  • 435 x 365
  • 440 x 370
  • 445 x 374
  • 450 x 378
  • 455 x 382
  • 460 x 386
  • 465 x 391
  • 470 x 395
  • 475 x 399
  • 480 x 403
  • 485 x 407
  • 490 x 412
  • 495 x 416
  • 500 x 420

If you choose a transparent background, the background color of your website will show through the image. For example, the image shown on the left is transparent, the image on the right is opaque. This is how these images would appear on a webpage with a grey background color.

The condition code is returned in observation and forecast calls.

Examples:

A 50 x 42 transparent icon of condition code 001.

<img src="http://img.weather.weatherbug.com/forecast/icons/localized/50x42/en/trans/cond001.png"/>

A 90 x 76 opaque icon of condition code 176.

<img src="http://img.weather.weatherbug.com/forecast/icons/localized/90x76/en/opaq/cond176.png"/>

Complete List of Icon Descriptions