{
  "openapi": "3.0.1",
  "info": {
    "title": "Florida Well Data Lookup",
    "description": "Look up Florida well depth, casing and initial water level records by coordinates, address, ZIP code (ZCTA area) or county. Answers from a bundled data snapshot. Blank depth means not reported.",
    "version": "0.1",
    "x-build-id": "siXXcSlr0o6NVR0Nb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cwayr~florida-well-lookup/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cwayr-florida-well-lookup",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/cwayr~florida-well-lookup/runs": {
      "post": {
        "operationId": "runs-sync-cwayr-florida-well-lookup",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/cwayr~florida-well-lookup/run-sync": {
      "post": {
        "operationId": "run-sync-cwayr-florida-well-lookup",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "queryType"
        ],
        "properties": {
          "queryType": {
            "title": "Search by",
            "enum": [
              "point",
              "address",
              "zip",
              "county"
            ],
            "type": "string",
            "description": "How to find wells. Point and address searches return the nearest records within the radius, closest first. ZIP and county searches return records inside that area (radius is ignored).",
            "default": "point"
          },
          "latitude": {
            "title": "Latitude",
            "minimum": 24.4,
            "maximum": 31.1,
            "type": "number",
            "description": "Decimal degrees, WGS84. Florida only (24.4 to 31.1). Used when \"Search by\" is point."
          },
          "longitude": {
            "title": "Longitude",
            "minimum": -87.7,
            "maximum": -79.8,
            "type": "number",
            "description": "Decimal degrees, WGS84, negative west. Florida only (-87.7 to -79.8). Used when \"Search by\" is point."
          },
          "address": {
            "title": "Address",
            "maxLength": 200,
            "type": "string",
            "description": "A Florida street address, in the form \"number street, city, FL ZIP\". Geocoded with the U.S. Census Bureau Geocoder. If the address cannot be matched, the run ends with a message and nothing is charged. The address text is not stored in the output."
          },
          "zip": {
            "title": "ZIP code (ZCTA area)",
            "pattern": "^(?!00000)[0-9]{5}$",
            "type": "string",
            "description": "5-digit ZIP code. Matched against the Census ZIP Code Tabulation Area (ZCTA) each record falls in, which is close to but not identical to the USPS ZIP code."
          },
          "county": {
            "title": "County",
            "enum": [
              "Alachua",
              "Baker",
              "Bay",
              "Bradford",
              "Brevard",
              "Broward",
              "Calhoun",
              "Charlotte",
              "Citrus",
              "Clay",
              "Collier",
              "Columbia",
              "DeSoto",
              "Dixie",
              "Duval",
              "Escambia",
              "Flagler",
              "Franklin",
              "Gadsden",
              "Gilchrist",
              "Glades",
              "Gulf",
              "Hamilton",
              "Hardee",
              "Hendry",
              "Hernando",
              "Highlands",
              "Hillsborough",
              "Holmes",
              "Indian River",
              "Jackson",
              "Jefferson",
              "Lafayette",
              "Lake",
              "Lee",
              "Leon",
              "Levy",
              "Liberty",
              "Madison",
              "Manatee",
              "Marion",
              "Martin",
              "Miami-Dade",
              "Monroe",
              "Nassau",
              "Okaloosa",
              "Okeechobee",
              "Orange",
              "Osceola",
              "Palm Beach",
              "Pasco",
              "Pinellas",
              "Polk",
              "Putnam",
              "Santa Rosa",
              "Sarasota",
              "Seminole",
              "St. Johns",
              "St. Lucie",
              "Sumter",
              "Suwannee",
              "Taylor",
              "Union",
              "Volusia",
              "Wakulla",
              "Walton",
              "Washington"
            ],
            "type": "string",
            "description": "Florida county. Used when \"Search by\" is county."
          },
          "radiusMiles": {
            "title": "Radius (miles)",
            "minimum": 0.1,
            "maximum": 25,
            "type": "number",
            "description": "Search radius around the point or address, 0.1 to 25 miles. Defaults to 3.",
            "default": 3
          },
          "maxResults": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of well records to return (and be charged for), 1 to 1000. Defaults to 25. Users on the free Apify plan get at most 100 records per run.",
            "default": 25
          },
          "wellUse": {
            "title": "Well use",
            "type": "array",
            "description": "Only return records with one of these well use values. The form is prefilled with the water-supply uses domestic, irrigation, public_supply, agricultural and livestock. Leave it empty to return every use, including USGS sites (well use \"unknown\"), which dominate South Florida. Unknown values are rejected with the list of valid values.",
            "items": {
              "type": "string"
            }
          },
          "onlyWithDepth": {
            "title": "Only records with a reported depth",
            "type": "boolean",
            "description": "On by default. Skip records whose total depth was not reported. Turn this off to include those records with totalDepthFt = null.",
            "default": true
          },
          "sources": {
            "title": "Water management districts",
            "type": "array",
            "description": "Only return records from these districts (USGS sites count in the district they lie in). Leave empty for all five. SFWMD is mostly USGS observation wells plus a few permit records.",
            "items": {
              "type": "string",
              "enum": [
                "SJRWMD",
                "SWFWMD",
                "NWFWMD",
                "SRWMD",
                "SFWMD"
              ],
              "enumTitles": [
                "SJRWMD (St. Johns River)",
                "SWFWMD (Southwest Florida)",
                "NWFWMD (Northwest Florida)",
                "SRWMD (Suwannee River)",
                "SFWMD (South Florida, limited)"
              ]
            }
          },
          "includeSummary": {
            "title": "Write run summary",
            "type": "boolean",
            "description": "Write counts, geocode match info, the data snapshot date and disclaimers to the RUN_SUMMARY record in the key-value store. The summary is not a dataset row and is not charged.",
            "default": true
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}