This request returns shape files from FRED in GeoJSON format.
This request only returns the shape files as json. The API key 'abcdefghijklmnopqrstuvwxyz123456' is for demonstration purposes only. Use a registered API key instead.
https://api.stlouisfed.org/geofred/shapes/file?shape=bea&api_key=abcdefghijklmnopqrstuvwxyz123456
{
{
"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]]], ...] }
}, ...]
}
}
Read API Keys for more information.
The type of shape you want to pull GeoJSON data for.