{
  "info": {
    "_postman_id": "a497a2f3-c9e8-4dcb-a7f1-4120fa73c65b",
    "name": "EPA Air Quality System (AQS) Account Type Codes Safe Drinking Water API",
    "description": "The Air Quality System (AQS) Data Mart API provides programmatic access to ambient air\nsample data collected by state, local, tribal and federal air pollution control agencies\nfrom thousands of monitors across the United States. The API exposes monitor metadata,\nraw sample observations, daily/quarterly/annual aggregates, and quality assurance results.\n\n\nContact Support:\n Name: AQS Data Mart Support\n Email: aqsdatamart@epa.gov",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T11:00:32.000Z",
    "updatedAt": "2026-07-28T11:00:32.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-a497a2f3-c9e8-4dcb-a7f1-4120fa73c65b"
  },
  "item": [
    {
      "name": "sdw_rest_services.get_download",
      "item": [
        {
          "name": "Safe Drinking Water Act (SDWA) Download Data Service",
          "id": "6f083029-4e60-4daf-986b-b2c65a09babd",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sdw_rest_services.get_download?output=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sdw_rest_services.get_download"
              ],
              "query": [
                {
                  "description": "Output Format Flag.  Enter one of the following keywords:\n- CSV = Facility results formatted as comma delimited file download (default).",
                  "key": "output",
                  "value": ""
                }
              ]
            },
            "description": "Based on the QID obtained from a get_systems query, return a comma separated value (CSV) file of the water systems found."
          },
          "response": [
            {
              "id": "f1e0325c-241f-434a-bdde-e7bef065b2a4",
              "name": "Results are a comma separated value (CSV) file.",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sdw_rest_services.get_download?output=&key=<API Key>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sdw_rest_services.get_download"
                  ],
                  "query": [
                    {
                      "description": "Output Format Flag.  Enter one of the following keywords:\n- CSV = Facility results formatted as comma delimited file download (default).",
                      "key": "output",
                      "value": ""
                    },
                    {
                      "description": "Added as a part of security scheme: apikey",
                      "key": "key",
                      "value": "<API Key>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T11:00:33.000Z",
              "updatedAt": "2026-07-28T11:00:33.000Z",
              "uid": "35240-f1e0325c-241f-434a-bdde-e7bef065b2a4"
            }
          ],
          "createdAt": "2026-07-28T11:00:33.000Z",
          "updatedAt": "2026-07-28T11:00:33.000Z",
          "uid": "35240-6f083029-4e60-4daf-986b-b2c65a09babd"
        },
        {
          "name": "Safe Drinking Water Act (SDWA) Download Data Service",
          "id": "0b46ccbb-a36d-42e2-9aa0-5385b2c6fe91",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sdw_rest_services.get_download",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sdw_rest_services.get_download"
              ]
            },
            "description": "Based on the QID obtained from a get_systems query, return a comma separated value (CSV) file of the water systems found."
          },
          "response": [
            {
              "id": "3fca1057-3803-416f-b1da-394a710cc5db",
              "name": "Results are a comma separated value (CSV) file.",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sdw_rest_services.get_download?key=<API Key>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sdw_rest_services.get_download"
                  ],
                  "query": [
                    {
                      "description": "Added as a part of security scheme: apikey",
                      "key": "key",
                      "value": "<API Key>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T11:00:33.000Z",
              "updatedAt": "2026-07-28T11:00:33.000Z",
              "uid": "35240-3fca1057-3803-416f-b1da-394a710cc5db"
            }
          ],
          "createdAt": "2026-07-28T11:00:33.000Z",
          "updatedAt": "2026-07-28T11:00:33.000Z",
          "uid": "35240-0b46ccbb-a36d-42e2-9aa0-5385b2c6fe91"
        }
      ],
      "id": "0cd1dc4f-2c6c-48a7-85fd-ceb105134d54",
      "createdAt": "2026-07-28T11:00:32.000Z",
      "updatedAt": "2026-07-28T11:00:32.000Z",
      "uid": "35240-0cd1dc4f-2c6c-48a7-85fd-ceb105134d54"
    },
    {
      "name": "sdw_rest_services.get_qid",
      "item": [
        {
          "name": "Safe Drinking Water Act (SDWA) Paginated Results Service",
          "id": "4b56117e-1156-4260-aaa1-8a8b5fadb012",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sdw_rest_services.get_qid?output=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sdw_rest_services.get_qid"
              ],
              "query": [
                {
                  "description": "Output Format Flag.  Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding.  \n- XML = Data model formatted as Extensible Markup Language. (This can only be one of JSONP,JSON,XML)",
                  "key": "output",
                  "value": ""
                }
              ]
            },
            "description": "GET_QID is passed with a query ID corresponding to a previously run get_systems query. It then returns a Systems object containing all matching water systems. The main purpose of GET_QID is for large querysets that contain multiple pages (responsesets) of output. GET_QID allows for pagination and for the selection and sorting of columns. "
          },
          "response": [
            {
              "id": "fcaabc36-ba7a-4917-b0c5-b7c8531ed0b3",
              "name": "Results are an array (page)  of SDWA (SDWIS) Water Systems with the number of systems equal to the responseset (page size).",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sdw_rest_services.get_qid?output=&key=<API Key>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sdw_rest_services.get_qid"
                  ],
                  "query": [
                    {
                      "description": "Output Format Flag.  Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding.  \n- XML = Data model formatted as Extensible Markup Language. (This can only be one of JSONP,JSON,XML)",
                      "key": "output",
                      "value": ""
                    },
                    {
                      "description": "Added as a part of security scheme: apikey",
                      "key": "key",
                      "value": "<API Key>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T11:00:33.000Z",
              "updatedAt": "2026-07-28T11:00:33.000Z",
              "uid": "35240-fcaabc36-ba7a-4917-b0c5-b7c8531ed0b3"
            }
          ],
          "createdAt": "2026-07-28T11:00:33.000Z",
          "updatedAt": "2026-07-28T11:00:33.000Z",
          "uid": "35240-4b56117e-1156-4260-aaa1-8a8b5fadb012"
        },
        {
          "name": "Safe Drinking Water Act (SDWA) Paginated Results Service",
          "id": "a1fac278-b609-42a2-9a8c-3f145b49cac1",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sdw_rest_services.get_qid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sdw_rest_services.get_qid"
              ]
            },
            "description": "GET_QID is passed with a query ID corresponding to a previously run get_systems query. It then returns a Systems object containing all matching water systems. The main purpose of GET_QID is for large querysets that contain multiple pages (responsesets) of output. GET_QID allows for pagination and for the selection and sorting of columns. "
          },
          "response": [
            {
              "id": "d63d9899-72a7-4da5-9182-1ef61b7dfd02",
              "name": "Results are an array (page)  of SDWA (SDWIS) Water Systems with the number of systems equal to the responseset (page size).",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sdw_rest_services.get_qid?key=<API Key>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sdw_rest_services.get_qid"
                  ],
                  "query": [
                    {
                      "description": "Added as a part of security scheme: apikey",
                      "key": "key",
                      "value": "<API Key>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T11:00:33.000Z",
              "updatedAt": "2026-07-28T11:00:33.000Z",
              "uid": "35240-d63d9899-72a7-4da5-9182-1ef61b7dfd02"
            }
          ],
          "createdAt": "2026-07-28T11:00:33.000Z",
          "updatedAt": "2026-07-28T11:00:33.000Z",
          "uid": "35240-a1fac278-b609-42a2-9a8c-3f145b49cac1"
        }
      ],
      "id": "5d863553-591a-4d6d-928e-eb380b2d973d",
      "createdAt": "2026-07-28T11:00:32.000Z",
      "updatedAt": "2026-07-28T11:00:32.000Z",
      "uid": "35240-5d863553-591a-4d6d-928e-eb380b2d973d"
    },
    {
      "name": "sdw_rest_services.get_systems",
      "item": [
        {
          "name": "Safe Drinking Water Act (SDWA) Systems Search Service",
          "id": "ab7f607a-2893-4cbf-8dd4-bdf05aaa0691",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sdw_rest_services.get_systems?output=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sdw_rest_services.get_systems"
              ],
              "query": [
                {
                  "description": "Output Format Flag.  Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding.  \n- XML = Data model formatted as Extensible Markup Language. (This can only be one of JSONP,JSON,XML)",
                  "key": "output",
                  "value": ""
                }
              ]
            },
            "description": "Returns an array of public water systems that meet the specified search criteria."
          },
          "response": [
            {
              "id": "c25d3703-cf0f-4a0f-9335-07b7caca2e78",
              "name": "Returns an array of public water systems that meet the specified search criteria.",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sdw_rest_services.get_systems?output=&key=<API Key>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sdw_rest_services.get_systems"
                  ],
                  "query": [
                    {
                      "description": "Output Format Flag.  Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding.  \n- XML = Data model formatted as Extensible Markup Language. (This can only be one of JSONP,JSON,XML)",
                      "key": "output",
                      "value": ""
                    },
                    {
                      "description": "Added as a part of security scheme: apikey",
                      "key": "key",
                      "value": "<API Key>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T11:00:33.000Z",
              "updatedAt": "2026-07-28T11:00:33.000Z",
              "uid": "35240-c25d3703-cf0f-4a0f-9335-07b7caca2e78"
            }
          ],
          "createdAt": "2026-07-28T11:00:33.000Z",
          "updatedAt": "2026-07-28T11:00:33.000Z",
          "uid": "35240-ab7f607a-2893-4cbf-8dd4-bdf05aaa0691"
        },
        {
          "name": "Safe Drinking Water Act (SDWA) Systems Search Service",
          "id": "578a70a1-09fa-4130-b518-b8d30e8e804f",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sdw_rest_services.get_systems",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sdw_rest_services.get_systems"
              ]
            },
            "description": "Returns an array of public water systems that meet the specified search criteria."
          },
          "response": [
            {
              "id": "81a43e36-f01b-4a18-ab38-fd41e3a6f298",
              "name": "Returns an array of public water systems that meet the specified search criteria.",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sdw_rest_services.get_systems?key=<API Key>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sdw_rest_services.get_systems"
                  ],
                  "query": [
                    {
                      "description": "Added as a part of security scheme: apikey",
                      "key": "key",
                      "value": "<API Key>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T11:00:33.000Z",
              "updatedAt": "2026-07-28T11:00:33.000Z",
              "uid": "35240-81a43e36-f01b-4a18-ab38-fd41e3a6f298"
            }
          ],
          "createdAt": "2026-07-28T11:00:33.000Z",
          "updatedAt": "2026-07-28T11:00:33.000Z",
          "uid": "35240-578a70a1-09fa-4130-b518-b8d30e8e804f"
        }
      ],
      "id": "6217e74b-2b5f-4385-a3e0-08f2a10ffde9",
      "createdAt": "2026-07-28T11:00:32.000Z",
      "updatedAt": "2026-07-28T11:00:32.000Z",
      "uid": "35240-6217e74b-2b5f-4385-a3e0-08f2a10ffde9"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "query",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://aqs.epa.gov/data/api"
    }
  ]
}