# FRED — Get Geographic Shape GeoJSON

Retrieve FRED geographic boundary shapes as GeoJSON via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by FRED, pass parameters such as shape, and retrieve structured data including geoJSON collection type, shape collection name, geoJSON feature type, geometry type, and geometry coordinate arrays for boundary layer, and economic map assembly.

Documentation: https://openany.si/market/apis/fred/fred-get-geographic-shape-geojson/?offering=26ccf399-3d58-460b-a678-3636f3de0e36
API ID: 26ccf399-3d58-460b-a678-3636f3de0e36
Provider: fred
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/fred/geofred/shapes/file
Page update time: 2026-12-03T02:49:00.332Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:48:59.714Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FRED — Get Geographic Shape GeoJSON request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "shape": {
          "type": "string",
          "description": "The type of shape you want to pull GeoJSON data for.\n\nAvailable Shape Types:\n\nbea (Bureau of Economic Anaylis Region)\n\nmsa (Metropolitan Statistical Area)\n\nfrb (Federal Reserve Bank Districts)\n\nnecta (New England City and Town Area)\n\nstate\n\ncountry\n\ncounty (USA Counties)\n\ncensusregion (US Census Regions)\n\ncensusdivision (US Census Divisons)",
          "enum": [
            "bea",
            "msa",
            "frb",
            "necta",
            "state",
            "country",
            "county",
            "censusregion",
            "censusdivision"
          ]
        }
      },
      "required": [
        "shape"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "features": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "geometry": {
            "type": "object",
            "properties": {
              "coordinates": {
                "type": "array",
                "items": {}
              },
              "type": {
                "type": "string"
              }
            }
          },
          "properties": {
            "type": "object",
            "properties": {}
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template · Documentation template (not executed) (abridge
```bash
curl \
  'https://api.openany.si/v1/agent-apis/fred/geofred/shapes/file?shape=bea' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Documented HTTP 200
```json
{
  "features": [
    {
      "geometry": {
        "coordinates": [],
        "type": "MultiPolygon"
      },
      "properties": {},
      "type": "Feature"
    }
  ],
  "name": "<shape_name>",
  "type": "FeatureCollection"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- fred: https://openany.si/market/apis/fred/fred-get-geographic-shape-geojson/?offering=26ccf399-3d58-460b-a678-3636f3de0e36

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
