{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:epa-eff/get-eff-rest-services-download-effluent-chart":{"get":{"operationId":"open_data_epa_eff_get_eff_rest_services_download_effluent_chart","summary":"Effluent Charts Download Service","description":"GET /eff_rest_services.download_effluent_chart","tags":["open-data"],"parameters":[{"name":"p_id","in":"query","required":true,"description":"Identifier for the service.","schema":{"type":"string","description":"Identifier for the service."}},{"name":"outfall","in":"query","required":false,"description":"Three-character code that identifies the point of discharge (e.g., pipe or outfall) for a facility. A single NPDES ID may have multiple…","schema":{"type":"string","description":"Three-character code that identifies the point of discharge (e.g., pipe or outfall) for a facility. A single NPDES ID may have multiple…"}},{"name":"parameter_code","in":"query","required":false,"description":"Five-digit numeric code identifying the parameter. See Parameter Lookup documentation for a complete list of codes.","schema":{"type":"string","description":"Five-digit numeric code identifying the parameter. See Parameter Lookup documentation for a complete list of codes."}},{"name":"start_date","in":"query","required":false,"description":"The start date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with end_date. If start_date and end_date are not…","schema":{"type":"string","description":"The start date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with end_date. If start_date and end_date are not…"}},{"name":"end_date","in":"query","required":false,"description":"The end date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with start_date. If start_date and end_date are not…","schema":{"type":"string","description":"The end date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with start_date. If start_date and end_date are not…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:epa-eff/post-eff-rest-services-download-effluent-chart":{"post":{"operationId":"open_data_epa_eff_post_eff_rest_services_download_effluent_chart","summary":"Effluent Charts Download Service","description":"POST /eff_rest_services.download_effluent_chart","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/open-data:epa-eff/get-eff-rest-services-get-effluent-chart":{"get":{"operationId":"open_data_epa_eff_get_eff_rest_services_get_effluent_chart","summary":"Detailed Effluent Chart Service","description":"GET /eff_rest_services.get_effluent_chart","tags":["open-data"],"parameters":[{"name":"p_id","in":"query","required":true,"description":"Identifier for the service.","schema":{"type":"string","description":"Identifier for the service."}},{"name":"outfall","in":"query","required":false,"description":"Three-character code that identifies the point of discharge (e.g., pipe or outfall) for a facility. A single NPDES ID may have multiple…","schema":{"type":"string","description":"Three-character code that identifies the point of discharge (e.g., pipe or outfall) for a facility. A single NPDES ID may have multiple…"}},{"name":"parameter_code","in":"query","required":false,"description":"Five-digit numeric code identifying the parameter. See Parameter Lookup documentation for a complete list of codes.","schema":{"type":"string","description":"Five-digit numeric code identifying the parameter. See Parameter Lookup documentation for a complete list of codes."}},{"name":"start_date","in":"query","required":false,"description":"The start date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with end_date. If start_date and end_date are not…","schema":{"type":"string","description":"The start date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with end_date. If start_date and end_date are not…"}},{"name":"end_date","in":"query","required":false,"description":"The end date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with start_date. If start_date and end_date are not…","schema":{"type":"string","description":"The end date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with start_date. If start_date and end_date are not…"}},{"name":"output","in":"query","required":false,"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…","schema":{"type":"string","enum":["JSONP","JSON","XML"],"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…"}},{"name":"callback","in":"query","required":false,"description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.","schema":{"type":"string","description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:epa-eff/post-eff-rest-services-get-effluent-chart":{"post":{"operationId":"open_data_epa_eff_post_eff_rest_services_get_effluent_chart","summary":"Detailed Effluent Chart Service","description":"POST /eff_rest_services.get_effluent_chart","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/open-data:epa-eff/get-eff-rest-services-get-summary-chart":{"get":{"operationId":"open_data_epa_eff_get_eff_rest_services_get_summary_chart","summary":"Summary Effluent Chart Service","description":"GET /eff_rest_services.get_summary_chart","tags":["open-data"],"parameters":[{"name":"p_id","in":"query","required":true,"description":"Identifier for the service.","schema":{"type":"string","description":"Identifier for the service."}},{"name":"output","in":"query","required":false,"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…","schema":{"type":"string","enum":["JSONP","JSON","XML"],"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…"}},{"name":"callback","in":"query","required":false,"description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.","schema":{"type":"string","description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response."}},{"name":"start_date","in":"query","required":false,"description":"The start date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with end_date. If start_date and end_date are not…","schema":{"type":"string","description":"The start date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with end_date. If start_date and end_date are not…"}},{"name":"end_date","in":"query","required":false,"description":"The end date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with start_date. If start_date and end_date are not…","schema":{"type":"string","description":"The end date (mm/dd/yyyy) for the date range of interest. Must be used in conjunction with start_date. If start_date and end_date are not…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:epa-eff/post-eff-rest-services-get-summary-chart":{"post":{"operationId":"open_data_epa_eff_post_eff_rest_services_get_summary_chart","summary":"Summary Effluent Chart Service","description":"POST /eff_rest_services.get_summary_chart","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/open-data:epa-eff/get-rest-lookups-cwa-parameters":{"get":{"operationId":"open_data_epa_eff_get_rest_lookups_cwa_parameters","summary":"ECHO CWA Parameter Lookup Service","description":"GET /rest_lookups.cwa_parameters","tags":["open-data"],"parameters":[{"name":"output","in":"query","required":false,"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…","schema":{"type":"string","enum":["JSONP","JSON","XML"],"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…"}},{"name":"callback","in":"query","required":false,"description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.","schema":{"type":"string","description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response."}},{"name":"search_term","in":"query","required":false,"description":"Enter a partial or complete search phrase or word.","schema":{"type":"string","description":"Enter a partial or complete search phrase or word."}},{"name":"search_code","in":"query","required":false,"description":"Enter a partial or complete code value.","schema":{"type":"string","description":"Enter a partial or complete code value."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:epa-eff/post-rest-lookups-cwa-parameters":{"post":{"operationId":"open_data_epa_eff_post_rest_lookups_cwa_parameters","summary":"ECHO CWA Parameter Lookup Service","description":"POST /rest_lookups.cwa_parameters","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}