GET /points/{{onpoint_id}}

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

Description

Returns the metadata for an OnPoint™ ID.

Our patented OnPoint™ system uniquely identifies metadata for OnPoint IDs on the North America (5 km) and Global (22 km) grids. 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/{{onpoint_id}}.{{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.

{{onpoint_id}}

A valid OnPoint™ ID.

{{format}}

The desired response format. Allowed formats are:

  • json
  • csv

Parameters


Warning: Undefined array key "private" in /var/www/html/wp-content/themes/developer.weathersource.com/single-resource.php on line 108

Warning: Undefined array key "private" in /var/www/html/wp-content/themes/developer.weathersource.com/single-resource.php on line 110
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/10724391.json?fields=all

{"onpoint_id":"10724391","latitude":"38.8428","longitude":"-77.0381","timezone":"America\/New_York","grid":"North America"}