{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Nurseries & Childcare – Ofsted Places & Ratings",
    "description": "Every registered nursery, pre-school and out-of-school club in England from Ofsted's official data: address, places, provider type, latest Ofsted rating or report-card grades, inspection dates and report links. Filter by area, size or rating. No API key.",
    "version": "1.0",
    "x-build-id": "evDHlWQGQZlJzryBd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ukdatakit~uk-nurseries-childcare/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ukdatakit-uk-nurseries-childcare",
        "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/ukdatakit~uk-nurseries-childcare/runs": {
      "post": {
        "operationId": "runs-sync-ukdatakit-uk-nurseries-childcare",
        "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/ukdatakit~uk-nurseries-childcare/run-sync": {
      "post": {
        "operationId": "run-sync-ukdatakit-uk-nurseries-childcare",
        "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",
        "properties": {
          "providerTypes": {
            "title": "Provider types",
            "type": "array",
            "description": "Nurseries, pre-schools and clubs are 'Childcare on non-domestic premises' (the default). Childminders and most home-based settings are redacted by Ofsted and never returned.",
            "items": {
              "type": "string",
              "enum": [
                "Childcare on non-domestic premises",
                "Childcare on domestic premises",
                "Home childcarer"
              ]
            },
            "default": [
              "Childcare on non-domestic premises"
            ]
          },
          "providerSubtypes": {
            "title": "Setting type",
            "type": "array",
            "description": "Full day care (day nurseries), sessional day care (pre-schools) or out-of-school day care (breakfast/after-school/holiday clubs).",
            "items": {
              "type": "string",
              "enum": [
                "Full day care",
                "Sessional day care",
                "Out-of-school day care"
              ]
            }
          },
          "localAuthorities": {
            "title": "Local authorities",
            "type": "array",
            "description": "Council areas, e.g. \"Leeds\", \"Hampshire\". Partial names match.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "English regions.",
            "items": {
              "type": "string",
              "enum": [
                "East Midlands",
                "East of England",
                "London",
                "North East",
                "North West",
                "South East",
                "South West",
                "West Midlands",
                "Yorkshire and The Humber"
              ]
            }
          },
          "towns": {
            "title": "Towns",
            "type": "array",
            "description": "Only settings whose town contains one of these.",
            "items": {
              "type": "string"
            }
          },
          "postcodePrefixes": {
            "title": "Postcode prefixes",
            "type": "array",
            "description": "e.g. \"M20\", \"LS\", \"SW1\".",
            "items": {
              "type": "string"
            }
          },
          "nameContains": {
            "title": "Name contains",
            "type": "array",
            "description": "e.g. \"Busy Bees\", \"Montessori\".",
            "items": {
              "type": "string"
            }
          },
          "minPlaces": {
            "title": "Minimum registered places",
            "minimum": 0,
            "type": "integer",
            "description": "Only settings registered for at least this many children."
          },
          "overallRatings": {
            "title": "Latest overall rating (pre-Nov 2025 inspections)",
            "type": "array",
            "description": "Ofsted's last one-word overall effectiveness judgement.",
            "items": {
              "type": "string",
              "enum": [
                "Outstanding",
                "Good",
                "Requires improvement",
                "Inadequate"
              ]
            }
          },
          "reportCardGrades": {
            "title": "Report-card grades (inspections from Nov 2025)",
            "type": "array",
            "description": "Keep settings with at least one of these grades on the new Ofsted report card.",
            "items": {
              "type": "string",
              "enum": [
                "Exceptional",
                "Strong standard",
                "Expected standard",
                "Needs attention",
                "Urgent improvement"
              ]
            }
          },
          "registeredSince": {
            "title": "Registered on or after",
            "type": "string",
            "description": "YYYY-MM-DD. Use this to find newly opened settings."
          },
          "inspectedSince": {
            "title": "Last inspected on or after",
            "type": "string",
            "description": "YYYY-MM-DD."
          },
          "includeRegisteredPersonName": {
            "title": "Include the registered person / operator name",
            "type": "boolean",
            "description": "The organisation (or occasionally the individual) registered with Ofsted to run the setting. Off by default; turn on only if you have a lawful reason to use it.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many settings.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}