{
  "openapi": "3.0.1",
  "info": {
    "title": "Daycare, Preschool & Care Facility Scraper — CA FL TX NY",
    "description": "Licensed care facilities from four state regulators. California covers every Community Care Licensing licence — daycare, preschool, assisted living, adult residential, foster and group homes, home care, adoption. Florida, Texas and New York cover child care. Search by ZIP, city, county or name.",
    "version": "0.1",
    "x-build-id": "BTvbbjcqjhIe7kAyP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jungle_synthesizer~daycare-preschool-directory-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jungle_synthesizer-daycare-preschool-directory-scraper",
        "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/jungle_synthesizer~daycare-preschool-directory-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jungle_synthesizer-daycare-preschool-directory-scraper",
        "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/jungle_synthesizer~daycare-preschool-directory-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jungle_synthesizer-daycare-preschool-directory-scraper",
        "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": [
          "state",
          "facilityTypes"
        ],
        "properties": {
          "sp_intended_usage": {
            "title": "What is the intended usage of this data?",
            "minLength": 1,
            "type": "string",
            "description": "What will this data feed? E.g. lead lists, KYB checks, price tracking."
          },
          "sp_improvement_suggestions": {
            "title": "How can we improve this crawler for you?",
            "minLength": 1,
            "type": "string",
            "description": "Provide any feedback or suggestions for improvements."
          },
          "sp_contact": {
            "title": "Contact email (optional)",
            "minLength": 1,
            "type": "string",
            "description": "We'll personally help with your use case. No spam."
          },
          "state": {
            "title": "State",
            "enum": [
              "CA",
              "FL",
              "TX",
              "NY"
            ],
            "type": "string",
            "description": "State to search. CA covers all care licences; FL, TX and NY cover child care.",
            "default": "CA"
          },
          "zips": {
            "title": "ZIP Codes (optional)",
            "type": "array",
            "description": "ZIP codes to search. Clear every filter to get all of California.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities (optional)",
            "type": "array",
            "description": "City names to search.",
            "items": {
              "type": "string"
            }
          },
          "counties": {
            "title": "Counties (optional)",
            "type": "array",
            "description": "Counties to search.",
            "items": {
              "type": "string"
            }
          },
          "facilityNameKeyword": {
            "title": "Facility Name Keyword (optional)",
            "type": "string",
            "description": "Only return facilities whose name contains this text."
          },
          "facilityTypes": {
            "title": "Facility Types",
            "type": "array",
            "description": "License types to include. Pick ones belonging to the selected state.",
            "items": {
              "type": "string",
              "enum": [
                "Child Care - Infant Center",
                "Child Care Center",
                "Child Care Center Preschool",
                "Family Child Care Home (Large)",
                "Family Child Care Home (Small)",
                "School Age Child Care Center",
                "Single Licensed Child Care Center",
                "Children's Residential Group Home",
                "Community Crisis Home (Children)",
                "Enhanced Behavioral Support Home (Children)",
                "Group Homes for Children with Special Health Care Needs",
                "Residential Community Treatment Facility",
                "Residential Crisis Nurseries",
                "Residential Small Family Homes",
                "Short Term Residential Therapeutic Program",
                "STRTP - Children's Crisis Residential Programs",
                "Temporary Shelter Care Facility",
                "Transitional Housing Placement",
                "Transitional Shelter Care Facility",
                "Youth Homelessness Prevention Centers",
                "Adoption Agency",
                "Adult Day Care",
                "Adult Residential - ARFPSHNs",
                "Adult Residential Facility",
                "Community Crisis Home (Adult)",
                "Enhanced Behavioral Support Home (Adult)",
                "Medical Foster Homes for Veterans",
                "Residential Care Facility for Chronically Ill",
                "Social Rehabilitation Facility",
                "Assisted Living (Residential Care for the Elderly)",
                "Residential Care for the Elderly Continuing Care Contracts",
                "Foster Family Agency",
                "Foster Family Sub Agency",
                "Home Care Organization",
                "Child Care Facility",
                "Family Day Care Home",
                "Large Family Child Care Home",
                "Licensed Center",
                "Licensed Child-Care Home",
                "Listed Family Home",
                "Registered Child-Care Home",
                "Small Employer Based Child Care",
                "Day Care Center",
                "Family Day Care",
                "Group Family Day Care",
                "School-Age Child Care",
                "Small Day Care Center"
              ],
              "enumTitles": [
                "CA · Child Care · Child Care - Infant Center",
                "CA · Child Care · Child Care Center",
                "CA · Child Care · Child Care Center Preschool",
                "CA · Child Care · Family Child Care Home (Large)",
                "CA · Child Care · Family Child Care Home (Small)",
                "CA · Child Care · School Age Child Care Center",
                "CA · Child Care · Single Licensed Child Care Center",
                "CA · Children's Residential · Children's Residential Group Home",
                "CA · Children's Residential · Community Crisis Home (Children)",
                "CA · Children's Residential · Enhanced Behavioral Support Home (Children)",
                "CA · Children's Residential · Group Homes for Children with Special Health Care Needs",
                "CA · Children's Residential · Residential Community Treatment Facility",
                "CA · Children's Residential · Residential Crisis Nurseries",
                "CA · Children's Residential · Residential Small Family Homes",
                "CA · Children's Residential · Short Term Residential Therapeutic Program",
                "CA · Children's Residential · STRTP - Children's Crisis Residential Programs",
                "CA · Children's Residential · Temporary Shelter Care Facility",
                "CA · Children's Residential · Transitional Housing Placement",
                "CA · Children's Residential · Transitional Shelter Care Facility",
                "CA · Children's Residential · Youth Homelessness Prevention Centers",
                "CA · Adoption · Adoption Agency",
                "CA · Adult Residential · Adult Day Care",
                "CA · Adult Residential · Adult Residential - ARFPSHNs",
                "CA · Adult Residential · Adult Residential Facility",
                "CA · Adult Residential · Community Crisis Home (Adult)",
                "CA · Adult Residential · Enhanced Behavioral Support Home (Adult)",
                "CA · Adult Residential · Medical Foster Homes for Veterans",
                "CA · Adult Residential · Residential Care Facility for Chronically Ill",
                "CA · Adult Residential · Social Rehabilitation Facility",
                "CA · Elder Care · Assisted Living (Residential Care for the Elderly)",
                "CA · Elder Care · Residential Care for the Elderly Continuing Care Contracts",
                "CA · Foster · Foster Family Agency",
                "CA · Foster · Foster Family Sub Agency",
                "CA · Home Care · Home Care Organization",
                "FL · Child Care Facility",
                "FL · Family Day Care Home",
                "FL · Large Family Child Care Home",
                "TX · Licensed Center",
                "TX · Licensed Child-Care Home",
                "TX · Listed Family Home",
                "TX · Registered Child-Care Home",
                "TX · Small Employer Based Child Care",
                "NY · Day Care Center",
                "NY · Family Day Care",
                "NY · Group Family Day Care",
                "NY · School-Age Child Care",
                "NY · Small Day Care Center"
              ]
            }
          },
          "statusFilter": {
            "title": "License Status Filter",
            "enum": [
              "",
              "Closed",
              "Licensed",
              "Pending Application",
              "Exempt",
              "Certified",
              "Full Permit",
              "Initial Permit",
              "Registered",
              "License",
              "Pending Revocation",
              "Pending Revocation and Denial",
              "Registration",
              "Suspended"
            ],
            "type": "string",
            "description": "Only return facilities with this licence status. Empty returns all.",
            "default": ""
          },
          "includeDetails": {
            "title": "Fetch Detail Pages",
            "type": "boolean",
            "description": "Add contact name, capacity and visit history. Slower.",
            "default": true
          },
          "includeReports": {
            "title": "Fetch Inspection Reports",
            "type": "boolean",
            "description": "Add each facility's inspection and complaint report history. California only.",
            "default": false
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum number of facilities to return.",
            "default": 15
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}