Returns multiple locations given a bounding box.

GET {{baseUrl}}/history/energy/bbox?lat1={{lat1}}&lon1={{lon1}}&lat2={{lat2}}&lon2={{lon2}}&start_date=<integer>&end_date=<integer>&threshold=<number>&units=<string>&callback=<string>&key=<string>

Returns aggregate energy specific historical weather fields, over a specified time period. Supply a bounding box ex: lat1=40&lon1=-78&lat2=38&lon2=-80. This API will return UP TO 150 stations, aggregated by the specified time period startdate to enddate.

Request Params

KeyDatatypeRequiredDescription
lat1string
lon1string
lat2string
lon2string
start_datestringStart Date (YYYY-MM-DD or YYYY-MM-DD:HH).
end_datestringEnd Date (YYYY-MM-DD or YYYY-MM-DD:HH).
thresholdstringTemperature threshold to use to calculate degree days (default 18 C)
unitsstringConvert to units. Default Metric See <a target='blank' href='/api/requests'>units field description</a>
callbackstringWraps return in jsonp callback. Example: callback=func
keystringYour registered API key.