GET /points/{{latitude}},{{longitude}}

BETA. Beta resources may undergo minor revisions and may not have the benefit of complete documentation.

Description

Returns the metadata for the latitude/longitude location.

Our patented OnPoint™ system uniquely identifies metadata for every possible latitude/longitude location. This resource is globally available, everywhere there is landmass (except Antartica).

Requires a subscription plan with the “access_points” capability to access this resource.

This resource is not available to free 30-day developer plans. However, metadata for postal codes 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}}.{{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:

  • .json
  • csv

Parameters

fields optional

Set response to a subset of fields within each element. Available field names:

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.json?fields=all

{"latitude":"38.8552","longitude":"-77.0513","timezone":"America\/New_York","grid":"North America","bounding_points":[{"onpoint_id":10724391,"latitude":38.844078,"longitude":-77.032291,"distance":1.2794094970609,"timezone":"America\/New_York"},{"onpoint_id":10724390,"latitude":38.849922,"longitude":-77.08867,"distance":2.0436495693887,"timezone":"America\/New_York"},{"onpoint_id":10725864,"latitude":38.887981,"longitude":-77.024772,"distance":2.6770987112729,"timezone":"America\/New_York"},{"onpoint_id":10725863,"latitude":38.893827,"longitude":-77.081174,"distance":3.1154100625101,"timezone":"America\/New_York"}]}