# FRED — Get Series Observations

Get FRED Series Observations data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by FRED, pass parameters such as file_type, limit, series_id, and retrieve structured data including observation date and response limit to build an economic chart, compare data vintages, and aggregate a series, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/fred/fred-get-series-observations/?offering=d17436e2-94ac-4545-b755-2a3b7a1ddd84
API ID: d17436e2-94ac-4545-b755-2a3b7a1ddd84
Provider: fred
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/fred/fred/series/observations
Page update time: 2026-12-03T02:36:59.774Z
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:36:54.085Z. 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 Series Observations 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": {
        "file_type": {
          "type": "string",
          "description": "A key or file extension that indicates the type of file to send.\n\nstring, optional, default: xml\n\nOne of the following values: 'xml', 'json', 'xlsx', 'csv'\n\nxml = Extensible Markup Language\n\njson = JavaScript Object Notation\n\nxlsx = Excel Spreadsheet\n\ncsv = Comma-Separated Values Text Format (File is returned as compressed zip file. The zip file contains the specified file format csv and a text README file.)\nOpenAny import profile requires json explicitly; original XML/download formats remain in official documentation.",
          "enum": [
            "json"
          ]
        },
        "series_id": {
          "type": "string",
          "description": "The id for a series.\n\nstring, required"
        },
        "realtime_start": {
          "type": "string",
          "description": "The start of the real-time period.  For more information, see Real-Time Periods, vintage_dates.\n\nYYYY-MM-DD formatted string, optional, default: today's date"
        },
        "realtime_end": {
          "type": "string",
          "description": "The end of the real-time period.  For more information, see Real-Time Periods, vintage_dates.\n\nYYYY-MM-DD formatted string, optional, default: today's date"
        },
        "limit": {
          "type": "integer",
          "description": "The maximum number of results to return.\n\ninteger between 1 and 100000, optional, default: 100000",
          "minimum": 1,
          "maximum": 100000
        },
        "offset": {
          "type": "integer",
          "description": "non-negative integer, optional, default: 0",
          "minimum": 0
        },
        "sort_order": {
          "type": "string",
          "description": "Sort results is ascending or descending observation_date order.\n\nOne of the following strings: 'asc', 'desc'.\n\noptional, default: asc",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "observation_start": {
          "type": "string",
          "description": "The start of the observation period.\n\nYYYY-MM-DD formatted string, optional, default: 1776-07-04 (earliest available)"
        },
        "observation_end": {
          "type": "string",
          "description": "The end of the observation period.\n\nYYYY-MM-DD formatted string, optional, default: 9999-12-31 (latest available)"
        },
        "units": {
          "type": "string",
          "description": "A key that indicates a data value transformation.\n\nstring, optional, default: lin (No transformation)\n\nOne of the following values: 'lin', 'chg', 'ch1', 'pch', 'pc1', 'pca', 'cch', 'cca', 'log'\n\nlin = Levels (No transformation)\n\nchg = Change\n\nch1 = Change from Year Ago\n\npch = Percent Change\n\npc1 = Percent Change from Year Ago\n\npca = Compounded Annual Rate of Change\n\ncch = Continuously Compounded Rate of Change\n\ncca = Continuously Compounded Annual Rate of Change\n\nlog = Natural Log\n\nFor unit transformation formulas, see:\n\nhttps://alfred.stlouisfed.org/help#growth_formulas",
          "enum": [
            "lin",
            "chg",
            "ch1",
            "pch",
            "pc1",
            "pca",
            "cch",
            "cca",
            "log"
          ]
        },
        "frequency": {
          "type": "string",
          "description": "An optional parameter that indicates a lower frequency to aggregate values to.  \nThe FRED frequency aggregation feature converts higher frequency data series into lower frequency data series (e.g. converts a monthly data series into an annual data series). \nIn FRED, the highest frequency data is daily, and the lowest frequency data is annual.   \nThere are 3 aggregation methods available- average, sum, and end of period.  \nSee the aggregation_method parameter. \n\nstring, optional, default: no value for no frequency aggregation\n\nOne of the following values: 'd', 'w', 'bw', 'm', 'q', 'sa', 'a', 'wef', 'weth', 'wew', 'wetu', 'wem', 'wesu', 'wesa', 'bwew', 'bwem'\n\nFrequencies without period descriptions:\n\nd = Daily\n\nw = Weekly\n\nbw = Biweekly\n\nm = Monthly\n\nq = Quarterly\n\nsa = Semiannual\n\na = Annual\n\nFrequencies with period descriptions:\n\nwef = Weekly, Ending Friday\n\nweth = Weekly, Ending Thursday\n\nwew = Weekly, Ending Wednesday\n\nwetu = Weekly, Ending Tuesday\n\nwem = Weekly, Ending Monday\n\nwesu = Weekly, Ending Sunday\n\nwesa = Weekly, Ending Saturday\n\nbwew = Biweekly, Ending Wednesday\n\nbwem = Biweekly, Ending Monday\n\n    Note that an error will be returned if a frequency is specified that is higher than the native frequency of the series.\n    For instance if a series has the native frequency 'Monthly' (as returned by the fred/series request), \n    it is not possible to aggregate the series to the higher 'Daily' frequency using the frequency parameter value 'd'. \n\n    No frequency aggregation will occur if the frequency specified by the frequency parameter matches the native frequency\n[Import field summary truncated to fit the backend description limit. Complete original text is retained in officialOperation.parameters[].originalText and the documentation.]",
          "enum": [
            "d",
            "w",
            "bw",
            "m",
            "q",
            "sa",
            "a",
            "wef",
            "weth",
            "wew",
            "wetu",
            "wem",
            "wesu",
            "wesa",
            "bwew",
            "bwem"
          ]
        },
        "aggregation_method": {
          "type": "string",
          "description": "A key that indicates the aggregation method used for frequency aggregation.  \nThis parameter has no affect if the frequency parameter is not set. \n\nstring, optional, default: avg\n\nOne of the following values: 'avg', 'sum', 'eop'\n\navg = Average\n\nsum = Sum\n\neop = End of Period",
          "enum": [
            "avg",
            "sum",
            "eop"
          ]
        },
        "output_type": {
          "type": "integer",
          "description": "An integer that indicates an output type.\n\ninteger, optional, default: 1\n\nOne of the following values: '1', '2', '3', '4'\n\n1 = Observations by Real-Time Period\n\n2 = Observations by Vintage Date, All Observations\n\n3 = Observations by Vintage Date, New and Revised Observations Only\n\n4 = Observations, Initial Release Only\n\nFor output types '2' and '3', some XML attribute names start with the series ID which may have a first character that is a number (i.e. 0 through 9).  \nIn this case only, the XML attribute name starts with an underscore then the series ID in order to avoid invalid XML.  \nIf the series ID starts with a letter (i.e. A through Z) then an underscore is not prepended.\n\nFor more information, read:\n\nhttps://alfred.stlouisfed.org/help/downloaddata#outputformats",
          "enum": [
            1,
            2,
            3,
            4
          ]
        },
        "vintage_dates": {
          "type": "string",
          "description": "A comma separated string of YYYY-MM-DD formatted dates in history (e.g. 2000-01-01,2005-02-24).\nVintage dates are used to download data as it existed on these specified dates in history.\nVintage dates can be specified instead of a real-time period using realtime_start and realtime_end.\n\nSometimes it may be useful to enter a vintage date that is not a date when the data values were revised. \nFor instance you may want to know the latest available revisions on a particular date.\nEntering a vintage date is also useful to compare series on different releases with different release dates.\n\nstring, optional, no vintage dates are set by default.\n\nYour query will be limited to a specific number of vintage dates depending on the series_id, file_type and output_type specified.\n\noutput_type=2, series_id=USRECD: 110 csv, 55 xlsx\n\noutput_type=2, any daily series: 450 csv, 225 xlsx\n\nany output_type or other series: 1000 csv, 1000 xlsx, 2000 json, 2000 xml"
        }
      },
      "required": [
        "file_type",
        "series_id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "file_type": {
      "type": "string"
    },
    "limit": {
      "type": "integer"
    },
    "observation_end": {
      "type": "string"
    },
    "observation_start": {
      "type": "string"
    },
    "observations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "realtime_end": {
            "type": "string"
          },
          "realtime_start": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      }
    },
    "offset": {
      "type": "integer"
    },
    "order_by": {
      "type": "string"
    },
    "output_type": {
      "type": "integer"
    },
    "realtime_end": {
      "type": "string"
    },
    "realtime_start": {
      "type": "string"
    },
    "sort_order": {
      "type": "string"
    },
    "units": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official example (not executed) (HTTP assumed
```bash
curl \
  'https://api.openany.si/v1/agent-apis/fred/fred/series/observations?file_type=json&limit=100&series_id=GNPCA' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "count": 84,
  "file_type": "json",
  "limit": 100000,
  "observation_end": "9999-12-31",
  "observation_start": "1776-07-04",
  "observations": [
    {
      "date": "1929-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "1065.9"
    },
    {
      "date": "1930-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "975.5"
    },
    {
      "date": "1931-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "912.1"
    },
    {
      "date": "1932-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "794.1"
    },
    {
      "date": "1933-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "783.3"
    },
    {
      "date": "1934-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "866.7"
    },
    {
      "date": "1935-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "944.3"
    },
    {
      "date": "1936-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "1065.0"
    },
    {
      "date": "1937-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "1120.6"
    },
    {
      "date": "1938-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "1083.9"
    },
    {
      "date": "1939-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "1170.2"
    },
    {
      "date": "1940-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "1271.7"
    },
    {
      "date": "1941-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "1497.6"
    },
    {
      "date": "1942-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "1779.4"
    },
    {
      "date": "1943-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2081.2"
    },
    {
      "date": "1944-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2247.3"
    },
    {
      "date": "1945-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2224.7"
    },
    {
      "date": "1946-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "1969.3"
    },
    {
      "date": "1947-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "1950.6"
    },
    {
      "date": "1948-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2033.2"
    },
    {
      "date": "1949-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2021.1"
    },
    {
      "date": "1950-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2197.5"
    },
    {
      "date": "1951-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2376.4"
    },
    {
      "date": "1952-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2473.1"
    },
    {
      "date": "1953-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2587.7"
    },
    {
      "date": "1954-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2574.2"
    },
    {
      "date": "1955-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2758.4"
    },
    {
      "date": "1956-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2818.6"
    },
    {
      "date": "1957-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2878.5"
    },
    {
      "date": "1958-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "2854.6"
    },
    {
      "date": "1959-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "3050.8"
    },
    {
      "date": "1960-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "3130.4"
    },
    {
      "date": "1961-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "3211.9"
    },
    {
      "date": "1962-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "3409.8"
    },
    {
      "date": "1963-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "3559.0"
    },
    {
      "date": "1964-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "3764.8"
    },
    {
      "date": "1965-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "4008.8"
    },
    {
      "date": "1966-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "4269.4"
    },
    {
      "date": "1967-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "4386.7"
    },
    {
      "date": "1968-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "4602.8"
    },
    {
      "date": "1969-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "4745.2"
    },
    {
      "date": "1970-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "4754.6"
    },
    {
      "date": "1971-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "4913.6"
    },
    {
      "date": "1972-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "5172.2"
    },
    {
      "date": "1973-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "5475.1"
    },
    {
      "date": "1974-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "5454.1"
    },
    {
      "date": "1975-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "5430.4"
    },
    {
      "date": "1976-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "5729.1"
    },
    {
      "date": "1977-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "5997.3"
    },
    {
      "date": "1978-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "6326.9"
    },
    {
      "date": "1979-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "6547.0"
    },
    {
      "date": "1980-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "6530.3"
    },
    {
      "date": "1981-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "6688.0"
    },
    {
      "date": "1982-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "6564.6"
    },
    {
      "date": "1983-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "6863.2"
    },
    {
      "date": "1984-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "7352.5"
    },
    {
      "date": "1985-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "7640.2"
    },
    {
      "date": "1986-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "7890.9"
    },
    {
      "date": "1987-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "8161.0"
    },
    {
      "date": "1988-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "8509.9"
    },
    {
      "date": "1989-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "8822.6"
    },
    {
      "date": "1990-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "9003.0"
    },
    {
      "date": "1991-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "8988.6"
    },
    {
      "date": "1992-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "9305.0"
    },
    {
      "date": "1993-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "9559.8"
    },
    {
      "date": "1994-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "9932.2"
    },
    {
      "date": "1995-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "10206.2"
    },
    {
      "date": "1996-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "10595.1"
    },
    {
      "date": "1997-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "11058.1"
    },
    {
      "date": "1998-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "11540.7"
    },
    {
      "date": "1999-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "12108.9"
    },
    {
      "date": "2000-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "12614.3"
    },
    {
      "date": "2001-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "12750.2"
    },
    {
      "date": "2002-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "12970.8"
    },
    {
      "date": "2003-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "13352.2"
    },
    {
      "date": "2004-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "13879.0"
    },
    {
      "date": "2005-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "14340.8"
    },
    {
      "date": "2006-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "14690.9"
    },
    {
      "date": "2007-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "15009.7"
    },
    {
      "date": "2008-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "15009.0"
    },
    {
      "date": "2009-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "14565.1"
    },
    {
      "date": "2010-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "14966.5"
    },
    {
      "date": "2011-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "15286.7"
    },
    {
      "date": "2012-01-01",
      "realtime_end": "2013-08-14",
      "realtime_start": "2013-08-14",
      "value": "15693.1"
    }
  ],
  "offset": 0,
  "order_by": "observation_date",
  "output_type": 1,
  "realtime_end": "2013-08-14",
  "realtime_start": "2013-08-14",
  "sort_order": "asc",
  "units": "lin"
}
```

## 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-series-observations/?offering=d17436e2-94ac-4545-b755-2a3b7a1ddd84

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