GET /dmas/{{dma_id}}

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

Description

Returns the metadata for a Nielsen Designated Marketing Area (“DMA”).

Our patented OnPoint™ system identifies metadata for every DMA.

Requires a subscription plan with the “access_dmas” 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}}/dmas/{{dma_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.

{{dma_id}}

A valid Designated Marketing Area ID.

{{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}}/dmas/529.json?fields=all

{"dma_id":"529","dma_name":"Louisville","latitude":38.12851,"longitude":-85.73605,"timezone":"America\/New_York","grid":"North America","population":"1584746","timezones":[{"timezone":"America\/New_York","population":1199996},{"timezone":"America\/Kentucky\/Louisville","population":234491},{"timezone":"America\/Indiana\/Indianapolis","population":109501},{"timezone":"America\/Chicago","population":36186},{"timezone":"America\/Indiana\/Marengo","population":4572}],"postal_codes":[{"postal_code":"42701","latitude":37.7076,"longitude":-85.8619,"timezone":"America\/New_York","population":48194},{"postal_code":"47150","latitude":38.3079,"longitude":-85.8268,"timezone":"America\/Kentucky\/Louisville","population":47472},{"postal_code":"40214","latitude":38.1585,"longitude":-85.7866,"timezone":"America\/New_York","population":45291},{"postal_code":"47130","latitude":38.3002,"longitude":-85.7335,"timezone":"America\/Kentucky\/Louisville","population":44722},{"postal_code":"40216","latitude":38.1891,"longitude":-85.8351,"timezone":"America\/New_York","population":40746},{"postal_code":"40299","latitude":38.163,"longitude":-85.5213,"timezone":"America\/New_York","population":38371},{"postal_code":"40219","latitude":38.1433,"longitude":-85.6958,"timezone":"America\/New_York","population":38032},{"postal_code":"40272","latitude":38.0875,"longitude":-85.8445,"timezone":"America\/New_York","population":37394},{"postal_code":"40229","latitude":38.1029,"longitude":-85.6657,"timezone":"America\/New_York","population":36852},{"postal_code":"40291","latitude":38.1251,"longitude":-85.5893,"timezone":"America\/New_York","population":35427}],"bounding_points":[{"onpoint_id":10663845,"latitude":37.709511,"longitude":-85.877428,"timezone":"America\/New_York"},{"onpoint_id":10682994,"latitude":38.286214,"longitude":-85.827975,"timezone":"America\/Kentucky\/Louisville"},{"onpoint_id":10678576,"latitude":38.150248,"longitude":-85.78306,"timezone":"America\/New_York"},{"onpoint_id":10682996,"latitude":38.280173,"longitude":-85.715089,"timezone":"America\/Kentucky\/Louisville"},{"onpoint_id":10680048,"latitude":38.197585,"longitude":-85.835618,"timezone":"America\/New_York"},{"onpoint_id":10680054,"latitude":38.179248,"longitude":-85.497279,"timezone":"America\/New_York"},{"onpoint_id":10678578,"latitude":38.144174,"longitude":-85.670321,"timezone":"America\/New_York"},{"onpoint_id":10677102,"latitude":38.10892,"longitude":-85.843248,"timezone":"America\/New_York"},{"onpoint_id":10677105,"latitude":38.099839,"longitude":-85.674204,"timezone":"America\/New_York"},{"onpoint_id":10678579,"latitude":38.141109,"longitude":-85.613956,"timezone":"America\/New_York"}]}