Federal Reserve Economic Data

Maps API - Shape Files

Description

This request returns shape files from FRED in GeoJSON format.


Parameters


Example

This request only returns the shape files as json. The API key 'abcdefghijklmnopqrstuvwxyz123456' is for demonstration purposes only. Use a registered API key instead.

Request (HTTPS GET)

https://api.stlouisfed.org/geofred/shapes/file?shape=bea&api_key=abcdefghijklmnopqrstuvwxyz123456

Response

 { { "type":"FeatureCollection", "name":"state_bea_region", "crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:OGC:1.3:CRS84"}}, "features":[{ "type":"Feature","properties":{"bea_region":8,"bea_regi_1":"Far West"}, "geometry":{"type":"MultiPolygon","coordinates":[[[[1485,2651],[1482,2635],[1455,2672],[1458,2688],[1473,2659],[1485,2651]]],[[[1568,2687],[1567,2665],[1547,2678],[1548,2705],[1568,2687]]], ...]]} }, { "type":"Feature","properties":{"bea_region":3,"bea_regi_1":"Great Lakes"}, "geometry":{"type":"MultiPolygon","coordinates": [[[[6197,8237],[6159.000000000002,8156.000000000002],[6136.000000000002,8180.000000000002],[6161.000000000002,8249.000000000002],[6206.000000000002,8297.000000000002],[6197,8237]]]], ... } }, { "type":"Feature","properties":{"bea_region":6,"bea_regi_1":"Southwest"}, "geometry":{"type":"MultiPolygon","coordinates":[[[[4219,3420],[4245,3297],[4214,3394],[4222,3530],[4269,3610],[4220,3493],[4219,3420]]], ...] } }, ...] } } 

Parameters

api_key

Read API Keys for more information.

  • 32 character alpha-numeric lowercase string, required

shape

The type of shape you want to pull GeoJSON data for.

  • Available Shape Types:
    • bea (Bureau of Economic Anaylis Region)
    • msa (Metropolitan Statistical Area)
    • frb (Federal Reserve Bank Districts)
    • necta (New England City and Town Area)
    • state
    • country
    • county (USA Counties)
    • censusregion (US Census Regions)
    • censusdivision (US Census Divisons)



Subscribe to the FRED newsletter


Follow us

Back to Top
close