BETA. Beta resources may undergo minor revisions and may not have the benefit of complete documentation.
Description
Returns current weather data for a latitude/longitude point.
Our patented OnPoint™ system uniquely derives contiguous data for every possible latitude/longitude location. This resource is globally available, everywhere there is landmass (except Antartica).
Requires a subscription plan with the “read_nowcast” and “access_points” capabilities to access this resource.
This resource is not available to free 30-day developer plans. However, postal code nowcast is available. Please email sales@weathersource.com or call (844) 813-2617 if you need access to this resource.
Resource URL
https://api.weathersource.com/v1/{{api_key}}/points/{{latitude}},{{longitude}}/nowcast.{{format}}
Resource URL Replacement Parts
{{api_key}} | Your API Key. If you do not have an API key, you may sign up for a free developer account 30-day trial. |
---|---|
{{latitude}} | A latitude value (e.g. 38.8552) between -90° and 90°. |
{{longitude}} | A longitude value (e.g. -77.0513) between -180° (West) and 180° (East). |
{{format}} | The desired response format. Allowed formats are:
|
Parameters
fields optional |
Set response to a subset of fields within each element. For fastest response times, limit the fields to those required. Available field names: The weather data fields:
Field groups: Allowed Values: Comma separated list of field names Default Value: all |
---|
Resource Information
API Versions | v1 |
---|---|
Rate Limited? | Yes |
Requires Authentication? | Yes |
Response Formats | JSON JSONP CSV |
HTTP Method | GET |
Related Documentation
Example Request
GET https://api.weathersource.com/v1/{{api_key}}/points/38.8552,-77.0513/nowcast.json?fields=allMeta,temp
{"latitude":"38.8552","longitude":"-77.0513","timestamp":"2017-06-29T14:54:12-04:00","temp":88.3}