{
  "schema": 1,
  "title": "Markets Data APIs",
  "version": "1.0",
  "source": "Federal Reserve Bank of New York",
  "sourceUrl": "https://markets.newyorkfed.org/static/docs/markets-api.yml",
  "documentationUrl": "https://markets.newyorkfed.org/static/docs/markets-api.html",
  "dashboardUrl": "https://www.newyorkfed.org/markets/data-hub",
  "termsUrl": "https://www.newyorkfed.org/terms",
  "retrievedAt": "2026-11-17T11:56:10Z",
  "sourceSha256": "5dbb331d86b91bfc115be9b5fe9c46735833a4f7280d33e4327e8acf7ad30d2b",
  "baseUrl": "https://markets.newyorkfed.org",
  "operationCount": 55,
  "operations": [
    {
      "method": "GET",
      "path": "/api/ambs/{operation}/{status}/{include}/latest.{format}",
      "operationId": "",
      "summary": "Current date operations",
      "description": "Returns the latest AMBS operation Announcements or Results for the current day.",
      "tags": [
        "Agency Mortgage-Backed Securities Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "purchases",
            "sales",
            "roll",
            "swap"
          ]
        },
        {
          "name": "status",
          "in": "path",
          "required": true,
          "description": "The operation status",
          "type": "string",
          "format": null,
          "enum": [
            "announcements",
            "results"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/ambs/{operation}/{status}/{include}/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/ambs/{operation}/results/{include}/lastTwoWeeks.{format}",
      "operationId": "",
      "summary": "Operations within last two weeks",
      "description": "Returns the last two weeks AMBS operations Results.",
      "tags": [
        "Agency Mortgage-Backed Securities Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "purchases",
            "sales",
            "roll",
            "swap"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/ambs/{operation}/results/{include}/lastTwoWeeks.{format}"
    },
    {
      "method": "GET",
      "path": "/api/ambs/{operation}/results/{include}/last/{number}.{format}",
      "operationId": "",
      "summary": "Last n number of operations",
      "description": "Returns the last N number of AMBS operations Results.",
      "tags": [
        "Agency Mortgage-Backed Securities Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "purchases",
            "sales",
            "roll",
            "swap"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "number",
          "in": "path",
          "required": true,
          "description": "The last N amount of operations to return",
          "type": "number",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/ambs/{operation}/results/{include}/last/{number}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/ambs/{operation}/results/{include}/search.{format}",
      "operationId": "",
      "summary": "Filter operations",
      "description": "Returns AMBS operations Results.",
      "tags": [
        "Agency Mortgage-Backed Securities Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "purchases",
            "sales",
            "roll",
            "swap"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        },
        {
          "name": "startDate",
          "in": "query",
          "required": false,
          "description": "The start date (inclusive) from which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "endDate",
          "in": "query",
          "required": false,
          "description": "The end date (inclusive) up until which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "securities",
          "in": "query",
          "required": false,
          "description": "Filter by securities (Operation Method)",
          "type": "string",
          "format": null,
          "enum": [
            "Basket",
            "Coupon Swap",
            "Dollar Roll",
            "Specified Pool",
            "TBA"
          ]
        },
        {
          "name": "cusip",
          "in": "query",
          "required": false,
          "description": "Only return operations which include the given CUSIP. Partial identifiers are accepted.",
          "type": "string",
          "format": null,
          "enum": null
        },
        {
          "name": "desc",
          "in": "query",
          "required": false,
          "description": "Only return operations which include the given Security Description. Partial identifiers are accepted.",
          "type": "string",
          "format": null,
          "enum": null
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/ambs/{operation}/results/{include}/search.{format}"
    },
    {
      "method": "GET",
      "path": "/api/fxs/{operationType}/latest.{format}",
      "operationId": "",
      "summary": "Current date posted operations",
      "description": "Returns the latest Liquidity Swaps operation Results posted on current day.",
      "tags": [
        "Central Bank Liquidity Swaps  Operations"
      ],
      "parameters": [
        {
          "name": "operationType",
          "in": "path",
          "required": true,
          "description": "The operation type to search for",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "usdollar",
            "nonusdollar"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/fxs/{operationType}/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/fxs/{operationType}/last/{number}.{format}",
      "operationId": "",
      "summary": "Last n number of operations",
      "description": "Returns the last N number of Liquidity Swaps operations Results.",
      "tags": [
        "Central Bank Liquidity Swaps  Operations"
      ],
      "parameters": [
        {
          "name": "operationType",
          "in": "path",
          "required": true,
          "description": "The operation type to search for",
          "type": "string",
          "format": null,
          "enum": [
            "usdollar",
            "nonusdollar"
          ]
        },
        {
          "name": "number",
          "in": "path",
          "required": true,
          "description": "The last N amount of trades to return",
          "type": "number",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/fxs/{operationType}/last/{number}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/fxs/{operationType}/search.{format}",
      "operationId": "",
      "summary": "Filter operations",
      "description": "Returns Liquidity Swaps operation Results.",
      "tags": [
        "Central Bank Liquidity Swaps  Operations"
      ],
      "parameters": [
        {
          "name": "operationType",
          "in": "path",
          "required": true,
          "description": "The operation type to search for",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "usdollar",
            "nonusdollar"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response.",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        },
        {
          "name": "startDate",
          "in": "query",
          "required": false,
          "description": "The start date (inclusive) from which to search, depending on date type. Defaults to current date. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "endDate",
          "in": "query",
          "required": false,
          "description": "The end date (inclusive) up until which to search, depending on date type. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "dateType",
          "in": "query",
          "required": false,
          "description": "The date type to search for within the start and end. Defaults to trade date.",
          "type": "string",
          "format": null,
          "enum": [
            "trade",
            "maturity"
          ]
        },
        {
          "name": "counterparties",
          "in": "query",
          "required": false,
          "description": "A comma-separated list of counterparty names to search for. Partial names are accepted.",
          "type": "string",
          "format": null,
          "enum": null
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/fxs/{operationType}/search.{format}"
    },
    {
      "method": "GET",
      "path": "/api/fxs/list/counterparties.{format}",
      "operationId": "",
      "summary": "List of Counterparties",
      "description": "Returns Counterparties of Liquidity Swaps operations.",
      "tags": [
        "Central Bank Liquidity Swaps  Operations"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response.",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/fxs/list/counterparties.{format}"
    },
    {
      "method": "GET",
      "path": "/api/guidesheets/{guidesheetType}/latest.{format}",
      "operationId": "",
      "summary": "Current Guide Sheets",
      "description": "Returns the latest Guide Sheet.",
      "tags": [
        "Guide Sheets"
      ],
      "parameters": [
        {
          "name": "guidesheetType",
          "in": "path",
          "required": true,
          "description": "The guide sheet type",
          "type": "string",
          "format": null,
          "enum": [
            "si",
            "wi",
            "fs"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "pdf",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "application/pdf",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/guidesheets/{guidesheetType}/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/guidesheets/{guidesheetType}/previous.{format}",
      "operationId": "",
      "summary": "Previously Posted Guide Sheets",
      "description": "Returns the previous Guide Sheet.",
      "tags": [
        "Guide Sheets"
      ],
      "parameters": [
        {
          "name": "guidesheetType",
          "in": "path",
          "required": true,
          "description": "The guide sheet type",
          "type": "string",
          "format": null,
          "enum": [
            "si",
            "wi",
            "fs"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "pdf",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "application/pdf",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/guidesheets/{guidesheetType}/previous.{format}"
    },
    {
      "method": "GET",
      "path": "/api/pd/latest/{seriesbreak}.{format}",
      "operationId": "",
      "summary": "Latest survey by Series Break",
      "description": "Returns the latest Survey results for each timeseries.",
      "tags": [
        "Primary Dealer Statistics"
      ],
      "parameters": [
        {
          "name": "seriesbreak",
          "in": "path",
          "required": true,
          "description": "A valid series break value",
          "type": "string",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/pd/latest/{seriesbreak}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/pd/get/all/timeseries.csv",
      "operationId": "",
      "summary": "All surveys",
      "description": "Returns all Survey results in csv format.",
      "tags": [
        "Primary Dealer Statistics"
      ],
      "parameters": [],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/pd/get/all/timeseries.csv"
    },
    {
      "method": "GET",
      "path": "/api/pd/list/timeseries.{format}",
      "operationId": "",
      "summary": "Definition of Time Series/Key Id",
      "description": "Returns Description of timeseries/keyids.",
      "tags": [
        "Primary Dealer Statistics"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/pd/list/timeseries.{format}"
    },
    {
      "method": "GET",
      "path": "/api/pd/list/asof.{format}",
      "operationId": "",
      "summary": "List of As Of Dates",
      "description": "Returns all As Of Dates with respective Series Break.",
      "tags": [
        "Primary Dealer Statistics"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/pd/list/asof.{format}"
    },
    {
      "method": "GET",
      "path": "/api/pd/list/seriesbreaks.{format}",
      "operationId": "",
      "summary": "List of Series Breaks",
      "description": "Returns Series Breaks including Label, Start and End Date.",
      "tags": [
        "Primary Dealer Statistics"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/pd/list/seriesbreaks.{format}"
    },
    {
      "method": "GET",
      "path": "/api/pd/get/asof/{date}.{format}",
      "operationId": "",
      "summary": "Survey by As Of Date",
      "description": "Returns single date Survey results.",
      "tags": [
        "Primary Dealer Statistics"
      ],
      "parameters": [
        {
          "name": "date",
          "in": "path",
          "required": true,
          "description": "The time series as of date. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/pd/get/asof/{date}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/pd/get/{timeseries}.{format}",
      "operationId": "",
      "summary": "Survey by Times Series",
      "description": "Return Survey results for given timeseries across all Series Breaks. To query multiple timeseries, separate each with underscore(_).",
      "tags": [
        "Primary Dealer Statistics"
      ],
      "parameters": [
        {
          "name": "timeseries",
          "in": "path",
          "required": true,
          "description": "A list of time series ids separated by underscores.",
          "type": "string",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/pd/get/{timeseries}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/pd/get/{seriesbreak}/timeseries/{timeseries}.{format}",
      "operationId": "",
      "summary": "Survey by Series Break and Times Series",
      "description": "Return Survey results for given seriesbreak and timeseries. To query multiple timeseries, separate each with underscore(_).",
      "tags": [
        "Primary Dealer Statistics"
      ],
      "parameters": [
        {
          "name": "seriesbreak",
          "in": "path",
          "required": true,
          "description": "A valid series break value",
          "type": "string",
          "format": null,
          "enum": null
        },
        {
          "name": "timeseries",
          "in": "path",
          "required": true,
          "description": "A list of valid time series separated with underscores",
          "type": "string",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/pd/get/{seriesbreak}/timeseries/{timeseries}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/marketshare/qtrly/latest.{format}",
      "operationId": "",
      "summary": "Latest quarterly marketshare data",
      "description": "Returns the latest quarterly Market Share.",
      "tags": [
        "Primary Dealer Statistics Market Share"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "pdf",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "application/pdf",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/marketshare/qtrly/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/marketshare/ytd/latest.{format}",
      "operationId": "",
      "summary": "Latest year-to-date marketshare data",
      "description": "Returns the latest year-to-date Market Share.",
      "tags": [
        "Primary Dealer Statistics Market Share"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "pdf",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "application/pdf",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/marketshare/ytd/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rates/all/latest.{format}",
      "operationId": "",
      "summary": "Last As of Date from current date rates",
      "description": "Returns the latest secured and unsecured rates.",
      "tags": [
        "Reference Rates"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rates/all/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rates/all/search.{format}",
      "operationId": "",
      "summary": "Filter rates",
      "description": "Returns secured and/or unsecured rates and/or volume.",
      "tags": [
        "Reference Rates"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        },
        {
          "name": "startDate",
          "in": "query",
          "required": false,
          "description": "The start date (inclusive) from which to search. Defaults to the current date. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "endDate",
          "in": "query",
          "required": false,
          "description": "The end date (inclusive) up until which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "type",
          "in": "query",
          "required": false,
          "description": "The report type to return",
          "type": "string",
          "format": null,
          "enum": [
            "rate",
            "volume"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rates/all/search.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rates/secured/all/latest.{format}",
      "operationId": "",
      "summary": "Last As of Date from current date for Secured rates",
      "description": "Returns the latest secured rates.",
      "tags": [
        "Reference Rates"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rates/secured/all/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rates/secured/{ratetype}/last/{number}.{format}",
      "operationId": "",
      "summary": "Last n number of Secured rates",
      "description": "Returns the last N number of secured rates.",
      "tags": [
        "Reference Rates"
      ],
      "parameters": [
        {
          "name": "ratetype",
          "in": "path",
          "required": true,
          "description": "The rate type",
          "type": "string",
          "format": null,
          "enum": [
            "tgcr",
            "bgcr",
            "sofr",
            "sofrai"
          ]
        },
        {
          "name": "number",
          "in": "path",
          "required": true,
          "description": "The last N amount of rates to return",
          "type": "number",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rates/secured/{ratetype}/last/{number}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rates/secured/{ratetype}/search.{format}",
      "operationId": "",
      "summary": "Filter Secured rates",
      "description": "Returns secured rates and/or volume.",
      "tags": [
        "Reference Rates"
      ],
      "parameters": [
        {
          "name": "ratetype",
          "in": "path",
          "required": true,
          "description": "The rate type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "tgcr",
            "bgcr",
            "sofr",
            "sofrai"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        },
        {
          "name": "startDate",
          "in": "query",
          "required": false,
          "description": "The start date (inclusive) from which to search. Defaults to the current date. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "endDate",
          "in": "query",
          "required": false,
          "description": "The end date (inclusive) up until which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "type",
          "in": "query",
          "required": false,
          "description": "The report type to return",
          "type": "string",
          "format": null,
          "enum": [
            "rate",
            "volume"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rates/secured/{ratetype}/search.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rates/unsecured/all/latest.{format}",
      "operationId": "",
      "summary": "Last As of Date from current date for Unsecured rates",
      "description": "Returns the latest unsecured rates.",
      "tags": [
        "Reference Rates"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rates/unsecured/all/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rates/unsecured/{ratetype}/last/{number}.{format}",
      "operationId": "",
      "summary": "Last n number of Unsecured rates",
      "description": "Returns the last N number of unsecured rates.",
      "tags": [
        "Reference Rates"
      ],
      "parameters": [
        {
          "name": "ratetype",
          "in": "path",
          "required": true,
          "description": "The rate type",
          "type": "string",
          "format": null,
          "enum": [
            "effr",
            "obfr"
          ]
        },
        {
          "name": "number",
          "in": "path",
          "required": true,
          "description": "The last N amount of rates to return",
          "type": "number",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rates/unsecured/{ratetype}/last/{number}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rates/unsecured/{ratetype}/search.{format}",
      "operationId": "",
      "summary": "Filter Unsecured rates",
      "description": "Returns unsecured rates and/or volume.",
      "tags": [
        "Reference Rates"
      ],
      "parameters": [
        {
          "name": "ratetype",
          "in": "path",
          "required": true,
          "description": "The rate type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "effr",
            "obfr"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        },
        {
          "name": "startDate",
          "in": "query",
          "required": false,
          "description": "The start date (inclusive) from which to search. Defaults to the current date. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "endDate",
          "in": "query",
          "required": false,
          "description": "The end date (inclusive) up until which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "type",
          "in": "query",
          "required": false,
          "description": "The report type to return",
          "type": "string",
          "format": null,
          "enum": [
            "rate",
            "volume"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rates/unsecured/{ratetype}/search.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rp/{operationType}/{method}/{status}/latest.{format}",
      "operationId": "",
      "summary": "Current date operations",
      "description": "Returns the latest Repo and/or Reverse Repo operations Announcements or Results for the current day.",
      "tags": [
        "Repo and Reverse Repo Operations"
      ],
      "parameters": [
        {
          "name": "operationType",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "repo",
            "reverserepo"
          ]
        },
        {
          "name": "method",
          "in": "path",
          "required": true,
          "description": "The operation method",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "fixed",
            "single",
            "multiple",
            "allotment"
          ]
        },
        {
          "name": "status",
          "in": "path",
          "required": true,
          "description": "The operation status",
          "type": "string",
          "format": null,
          "enum": [
            "announcements",
            "results"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rp/{operationType}/{method}/{status}/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rp/{operationType}/{method}/results/lastTwoWeeks.{format}",
      "operationId": "",
      "summary": "Operations within last two weeks",
      "description": "Returns the last two weeks Repo and/or Reverse Repo operations Results.",
      "tags": [
        "Repo and Reverse Repo Operations"
      ],
      "parameters": [
        {
          "name": "operationType",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "repo",
            "reverserepo"
          ]
        },
        {
          "name": "method",
          "in": "path",
          "required": true,
          "description": "The operation method",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "fixed",
            "single",
            "multiple",
            "allotment"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rp/{operationType}/{method}/results/lastTwoWeeks.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rp/{operationType}/{method}/results/last/{number}.{format}",
      "operationId": "",
      "summary": "Last n number of operations",
      "description": "Returns the last N number of Repo and/or Reverse Repo operations Results.",
      "tags": [
        "Repo and Reverse Repo Operations"
      ],
      "parameters": [
        {
          "name": "operationType",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "repo",
            "reverserepo"
          ]
        },
        {
          "name": "method",
          "in": "path",
          "required": true,
          "description": "The operation method",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "fixed",
            "single",
            "multiple",
            "allotment"
          ]
        },
        {
          "name": "number",
          "in": "path",
          "required": true,
          "description": "The last N amount of operations to return",
          "type": "number",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rp/{operationType}/{method}/results/last/{number}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rp/results/search.{format}",
      "operationId": "",
      "summary": "Filter operations",
      "description": "Returns Repo and/or Reverse Repo operation Results.",
      "tags": [
        "Repo and Reverse Repo Operations"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response.",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        },
        {
          "name": "startDate",
          "in": "query",
          "required": false,
          "description": "The start date (inclusive) from which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "endDate",
          "in": "query",
          "required": false,
          "description": "The end date (inclusive) up until which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "operationTypes",
          "in": "query",
          "required": false,
          "description": "The operation types (comma-delimited) by which to filter.",
          "type": "string",
          "format": null,
          "enum": [
            "Repo",
            "Reverse Repo"
          ]
        },
        {
          "name": "method",
          "in": "query",
          "required": false,
          "description": "The operation method by which to filter.",
          "type": "string",
          "format": null,
          "enum": [
            "multiple",
            "single",
            "fixed",
            "allotment"
          ]
        },
        {
          "name": "securityType",
          "in": "query",
          "required": false,
          "description": "The security type (tranche) by which to filter. For specific types, only operations which include that type will be returned.",
          "type": "string",
          "format": null,
          "enum": [
            "mbs",
            "agency",
            "tsy",
            "srf"
          ]
        },
        {
          "name": "term",
          "in": "query",
          "required": false,
          "description": "The term of the operation.",
          "type": "string",
          "format": null,
          "enum": [
            "overnight",
            "term"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rp/results/search.{format}"
    },
    {
      "method": "GET",
      "path": "/api/rp/reverserepo/propositions/search.{format}",
      "operationId": "",
      "summary": "Filter Reverse Repo propositions",
      "description": "Returns Propositions for Reverse Repo operations.",
      "tags": [
        "Repo and Reverse Repo Operations"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response.",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        },
        {
          "name": "startDate",
          "in": "query",
          "required": false,
          "description": "The start date (inclusive) from which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "endDate",
          "in": "query",
          "required": false,
          "description": "The end date (inclusive) up until which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/rp/reverserepo/propositions/search.{format}"
    },
    {
      "method": "GET",
      "path": "/api/seclending/{operation}/results/{include}/latest.{format}",
      "operationId": "",
      "summary": "Current date operations",
      "description": "Returns the latest Securities Lending operation Results for the current day.",
      "tags": [
        "Securities Lending Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "seclending",
            "extensions"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/seclending/{operation}/results/{include}/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/seclending/{operation}/results/{include}/lastTwoWeeks.{format}",
      "operationId": "",
      "summary": "Operations within last two weeks",
      "description": "Returns the last two weeks Securities Lending operation Results and/or Extensions.",
      "tags": [
        "Securities Lending Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "seclending",
            "extensions"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/seclending/{operation}/results/{include}/lastTwoWeeks.{format}"
    },
    {
      "method": "GET",
      "path": "/api/seclending/{operation}/results/{include}/last/{number}.{format}",
      "operationId": "",
      "summary": "Last n number of operations",
      "description": "Returns the last N number of Securities Lending operation Results and/or Extensions.",
      "tags": [
        "Securities Lending Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "seclending",
            "extensions"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "number",
          "in": "path",
          "required": true,
          "description": "The last N amount of operations to return",
          "type": "number",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/seclending/{operation}/results/{include}/last/{number}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/seclending/{operation}/results/{include}/search.{format}",
      "operationId": "",
      "summary": "Filter operations",
      "description": "Returns Securities Lending operation Results and/or Extensions.",
      "tags": [
        "Securities Lending Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "seclending",
            "extensions"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        },
        {
          "name": "startDate",
          "in": "query",
          "required": false,
          "description": "The start date (inclusive) from which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "endDate",
          "in": "query",
          "required": false,
          "description": "The end date (inclusive) up until which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "cusips",
          "in": "query",
          "required": false,
          "description": "Comma separated list of cusips. Only return operations where CUSIP contains the parameter value(s) provided. Partial identifiers are accepted.",
          "type": "string",
          "format": null,
          "enum": null
        },
        {
          "name": "descriptions",
          "in": "query",
          "required": false,
          "description": "Comma separated list of security descriptions. Only return operations where Security Description contains the parameter value(s) provided. Partial identifiers are accepted.",
          "type": "string",
          "format": null,
          "enum": null
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/seclending/{operation}/results/{include}/search.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/asofdates/latest.{format}",
      "operationId": "",
      "summary": "Last As Of Date",
      "description": "Returns the latest SOMA holdings As Of Date.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/asofdates/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/summary.{format}",
      "operationId": "",
      "summary": "Total by Security Types",
      "description": "Returns Summary Of SOMA holdings for each As of Date and holding type.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/summary.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/asofdates/list.{format}",
      "operationId": "",
      "summary": "List of As Of Dates",
      "description": "Returns all SOMA holdings As of Date.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/asofdates/list.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/agency/get/release_log.{format}",
      "operationId": "",
      "summary": "List of Release Dates for Agency Securities",
      "description": "Returns the last three months Agency Release and As Of Dates.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/agency/get/release_log.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/agency/get/asof/{date}.{format}",
      "operationId": "",
      "summary": "Agency Securities by As Of Date",
      "description": "Returns a single date SOMA Agency Holdings.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "date",
          "in": "path",
          "required": true,
          "description": "The date for which to retrieve the agency release. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/agency/get/asof/{date}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/agency/get/cusip/{cusip}.{format}",
      "operationId": "",
      "summary": "Agency Securities by CUSIP",
      "description": "Returns all SOMA Agency Holdings for a single CUSIP.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "cusip",
          "in": "path",
          "required": true,
          "description": "The CUSIP for which to retrieve information",
          "type": "string",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/agency/get/cusip/{cusip}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/agency/get/{holdingtype}/asof/{date}.{format}",
      "operationId": "",
      "summary": "Agency Securities by Holding Type and As Of Date",
      "description": "Returns a single date SOMA Agency Holdings for a Agency holding type.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "holdingtype",
          "in": "path",
          "required": true,
          "description": "The holding type for which to retrieve",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "agency debts",
            "mbs",
            "cmbs"
          ]
        },
        {
          "name": "date",
          "in": "path",
          "required": true,
          "description": "The date for which to retrieve the agency release. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/agency/get/{holdingtype}/asof/{date}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/agency/wam/agency debts/asof/{date}.{format}",
      "operationId": "",
      "summary": "Agency Debt Weighted Average Maturity by As Of Date",
      "description": "Returns a single date Weighted Average Maturity for Agency Debt.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "date",
          "in": "path",
          "required": true,
          "description": "The date for which to retrieve the Weighted Average Maturity number. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/agency/wam/agency debts/asof/{date}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/tsy/get/release_log.{format}",
      "operationId": "",
      "summary": "List of Release Dates for Treasury Securities",
      "description": "Returns the last three months Treasury Release and As Of Dates.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/tsy/get/release_log.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/tsy/get/asof/{date}.{format}",
      "operationId": "",
      "summary": "Treasury Securities by As Of Date",
      "description": "Returns a single date SOMA Treasury Holdings.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "date",
          "in": "path",
          "required": true,
          "description": "The date for which to retrieve the Treasury release. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/tsy/get/asof/{date}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/tsy/get/cusip/{cusip}.{format}",
      "operationId": "",
      "summary": "Treasury Securities by CUSIP",
      "description": "Returns all SOMA Treasury Holdings for a single CUSIP.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "cusip",
          "in": "path",
          "required": true,
          "description": "The CUSIP for which to retrieve information",
          "type": "string",
          "format": null,
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/tsy/get/cusip/{cusip}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/tsy/get/{holdingtype}/asof/{date}.{format}",
      "operationId": "",
      "summary": "Treasury Securities by Holding Type and As Of Date",
      "description": "Returns a single date SOMA Treasury Holdings for a Treasury holding type.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "holdingtype",
          "in": "path",
          "required": true,
          "description": "The holding type for which to retrieve",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "bills",
            "notesbonds",
            "frn",
            "tips"
          ]
        },
        {
          "name": "date",
          "in": "path",
          "required": true,
          "description": "The date for which to retrieve the Treasury release. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/tsy/get/{holdingtype}/asof/{date}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/tsy/wam/{holdingtype}/asof/{date}.{format}",
      "operationId": "",
      "summary": "Treasury Debt Weighted Average Maturity by Holding Type and As Of Date",
      "description": "Returns a single date Weighted Average Maturity for a Treasury holding type.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "holdingtype",
          "in": "path",
          "required": true,
          "description": "The holding type for which to retrieve",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "bills",
            "notesbonds",
            "frn",
            "tips"
          ]
        },
        {
          "name": "date",
          "in": "path",
          "required": true,
          "description": "The date for which to retrieve the Weighted Average Maturity number. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/tsy/wam/{holdingtype}/asof/{date}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/soma/tsy/get/monthly.{format}",
      "operationId": "",
      "summary": "Monthly summary of Treasury Holdings",
      "description": "Returns all SOMA Treasury Holdings at monthly intervals.",
      "tags": [
        "System Open Market Account Holdings"
      ],
      "parameters": [
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "OK",
          "mediaTypes": [
            "application/json",
            "text/xml",
            "text/csv"
          ]
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/soma/tsy/get/monthly.{format}"
    },
    {
      "method": "GET",
      "path": "/api/tsy/{operation}/{status}/{include}/latest.{format}",
      "operationId": "",
      "summary": "Current date operations",
      "description": "Returns the latest Treasury operation Announcements or Results for the current day.",
      "tags": [
        "Treasury Securities Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "purchases",
            "sales"
          ]
        },
        {
          "name": "status",
          "in": "path",
          "required": true,
          "description": "The operation status",
          "type": "string",
          "format": null,
          "enum": [
            "announcements",
            "results",
            "operations"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/tsy/{operation}/{status}/{include}/latest.{format}"
    },
    {
      "method": "GET",
      "path": "/api/tsy/{operation}/results/{include}/lastTwoWeeks.{format}",
      "operationId": "",
      "summary": "Operations within last two weeks",
      "description": "Returns the last two weeks Treasury operations Results.",
      "tags": [
        "Treasury Securities Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "purchases",
            "sales"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/tsy/{operation}/results/{include}/lastTwoWeeks.{format}"
    },
    {
      "method": "GET",
      "path": "/api/tsy/{operation}/results/{include}/last/{number}.{format}",
      "operationId": "",
      "summary": "Last n number of operations",
      "description": "Returns the last N number of Treasury operations Results.",
      "tags": [
        "Treasury Securities Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "purchases",
            "sales"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "number",
          "in": "path",
          "required": true,
          "description": "The last amount of results to return from current date",
          "type": "integer",
          "format": "int32",
          "enum": null
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/tsy/{operation}/results/{include}/last/{number}.{format}"
    },
    {
      "method": "GET",
      "path": "/api/tsy/{operation}/results/{include}/search.{format}",
      "operationId": "",
      "summary": "Filter operations",
      "description": "Returns Treasury operation Results.",
      "tags": [
        "Treasury Securities Operations"
      ],
      "parameters": [
        {
          "name": "operation",
          "in": "path",
          "required": true,
          "description": "The operation type",
          "type": "string",
          "format": null,
          "enum": [
            "all",
            "purchases",
            "sales"
          ]
        },
        {
          "name": "include",
          "in": "path",
          "required": true,
          "description": "The level of details to include",
          "type": "string",
          "format": null,
          "enum": [
            "summary",
            "details"
          ]
        },
        {
          "name": "format",
          "in": "path",
          "required": true,
          "description": "The format of the response",
          "type": "string",
          "format": null,
          "enum": [
            "json",
            "xml",
            "csv",
            "xlsx"
          ]
        },
        {
          "name": "startDate",
          "in": "query",
          "required": false,
          "description": "The start date (inclusive) from which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "endDate",
          "in": "query",
          "required": false,
          "description": "The end date (inclusive) up until which to search. <br/> <i>Format yyyy-MM-dd</i>",
          "type": "string",
          "format": "date",
          "enum": null
        },
        {
          "name": "securityType",
          "in": "query",
          "required": false,
          "description": "Filter by security type. \"agency\" include Agency Debt. \"treasury\" includes Bill, Coupon, FRN, TIPS, and Other",
          "type": "string",
          "format": null,
          "enum": [
            "agency",
            "treasury"
          ]
        },
        {
          "name": "cusip",
          "in": "query",
          "required": false,
          "description": "Only return operations which include the given CUSIP. Partial identifiers are accepted.",
          "type": "string",
          "format": null,
          "enum": null
        },
        {
          "name": "desc",
          "in": "query",
          "required": false,
          "description": "Only return operations which include the given Security Description. Partial identifiers are accepted.",
          "type": "string",
          "format": null,
          "enum": null
        }
      ],
      "responses": [
        {
          "status": "200",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "400",
          "description": "",
          "mediaTypes": []
        },
        {
          "status": "5XX",
          "description": "",
          "mediaTypes": []
        }
      ],
      "endpointTemplate": "https://markets.newyorkfed.org/api/tsy/{operation}/results/{include}/search.{format}"
    }
  ],
  "reuseNotice": "API access and data use are subject to New York Fed website terms; reference rates may have additional restrictions.",
  "servers": [
    {
      "url": "https://markets.newyorkfed.org",
      "description": "Public"
    },
    {
      "url": "https://markets.newyorkfed.org/beta",
      "description": "Public Beta"
    }
  ],
  "betaUrl": "https://markets.newyorkfed.org/beta",
  "betaNotice": "Beta endpoints are for testing and are not regularly maintained, per the official documentation.",
  "securitySchemesDeclared": false
}
