{
  "openapi": "3.0.1",
  "info": {
    "title": "Caring.com Facility Ratings & Pricing Extractor",
    "description": "Extract senior living and senior care facility listings from Caring.com by city, state and care type - assisted living, memory care, nursing homes, independent living and more - with ratings, pricing, amenities and contact details.",
    "version": "1.1",
    "x-build-id": "6z8KiYvDyqfcqkbFz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vexaloom-labs~caring-com-facility-ratings-and-pricing-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vexaloom-labs-caring-com-facility-ratings-and-pricing-extractor",
        "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/vexaloom-labs~caring-com-facility-ratings-and-pricing-extractor/runs": {
      "post": {
        "operationId": "runs-sync-vexaloom-labs-caring-com-facility-ratings-and-pricing-extractor",
        "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/vexaloom-labs~caring-com-facility-ratings-and-pricing-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-vexaloom-labs-caring-com-facility-ratings-and-pricing-extractor",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "byCity",
              "byUrl"
            ],
            "type": "string",
            "description": "Search by location, or look up facilities from direct Caring.com URLs.",
            "default": "byCity"
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "One or more US locations: `City, ST` (e.g. `Los Angeles, CA`), a full state name (e.g. `Los Angeles, California`) or a ZIP code (e.g. `90001`). Each location is combined with every selected care type. Leave empty to use the City and State fields below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "careTypes": {
            "title": "Care types",
            "uniqueItems": true,
            "type": "array",
            "description": "One or more care types to search. Leave empty to use the single Care type below. Every selected care type is combined with every location.",
            "items": {
              "type": "string",
              "enum": [
                "assisted-living",
                "memory-care-facilities",
                "nursing-homes",
                "independent-living",
                "continuing-care-retirement-communities",
                "adult-day-care",
                "in-home-care",
                "home-health-care",
                "hospice",
                "geriatric-care-managers",
                "senior-apartments"
              ],
              "enumTitles": [
                "Assisted Living",
                "Memory Care",
                "Nursing Homes",
                "Independent Living",
                "Continuing Care Retirement Communities (CCRC)",
                "Adult Day Care",
                "In-Home Care",
                "Home Health Care",
                "Hospice",
                "Geriatric Care Managers",
                "55+ Communities"
              ]
            },
            "default": []
          },
          "careType": {
            "title": "Care type (single)",
            "enum": [
              "assisted-living",
              "memory-care-facilities",
              "nursing-homes",
              "independent-living",
              "continuing-care-retirement-communities",
              "adult-day-care",
              "in-home-care",
              "home-health-care",
              "hospice",
              "geriatric-care-managers",
              "senior-apartments"
            ],
            "type": "string",
            "description": "Care type to search when the Care types list above is empty.",
            "default": "assisted-living"
          },
          "state": {
            "title": "State (legacy location)",
            "enum": [
              "alabama",
              "alaska",
              "arizona",
              "arkansas",
              "california",
              "colorado",
              "connecticut",
              "delaware",
              "district-of-columbia",
              "florida",
              "georgia",
              "hawaii",
              "idaho",
              "illinois",
              "indiana",
              "iowa",
              "kansas",
              "kentucky",
              "louisiana",
              "maine",
              "maryland",
              "massachusetts",
              "michigan",
              "minnesota",
              "mississippi",
              "missouri",
              "montana",
              "nebraska",
              "nevada",
              "new-hampshire",
              "new-jersey",
              "new-mexico",
              "new-york",
              "north-carolina",
              "north-dakota",
              "ohio",
              "oklahoma",
              "oregon",
              "pennsylvania",
              "rhode-island",
              "south-carolina",
              "south-dakota",
              "tennessee",
              "texas",
              "utah",
              "vermont",
              "virginia",
              "washington",
              "west-virginia",
              "wisconsin",
              "wyoming"
            ],
            "type": "string",
            "description": "US state used with the City field below when Locations is empty.",
            "default": "california"
          },
          "city": {
            "title": "City (legacy location)",
            "type": "string",
            "description": "City used with the State field below when Locations is empty, e.g. `Los Angeles`.",
            "default": "Los Angeles"
          },
          "startUrls": {
            "title": "Caring.com URLs (mode=byUrl)",
            "type": "array",
            "description": "Facility profile URLs, or city directory/search URLs. Directory URLs are converted into a location + care-type search automatically.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxDistanceMiles": {
            "title": "Maximum distance (miles)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Only include facilities this many miles or fewer from the searched location. Facilities without a published distance are kept.",
            "default": 30
          },
          "minRating": {
            "title": "Minimum average rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only include facilities rated at least this many stars on the 1-5 scale. Facilities without any reviews are always included."
          },
          "priceMinUSD": {
            "title": "Minimum starting price (USD/month)",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Only include facilities whose disclosed starting price is at least this amount. Facilities that do not disclose pricing are always included."
          },
          "priceMaxUSD": {
            "title": "Maximum starting price (USD/month)",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Only include facilities whose disclosed starting price is at most this amount. Facilities that do not disclose pricing are always included."
          },
          "keyword": {
            "title": "Keyword filter",
            "type": "string",
            "description": "Only include facilities whose name or description contains this text (case-insensitive)."
          },
          "caringStarOnly": {
            "title": "Caring Star winners only",
            "type": "boolean",
            "description": "Only include facilities that have won a Caring Star award.",
            "default": false
          },
          "fetchFacilityDetails": {
            "title": "Fetch full facility details",
            "type": "boolean",
            "description": "Visit each facility profile for pricing by room type, amenities, capacity, website, licenses, Medicare ratings, FAQs and awards. Slower but far more complete.",
            "default": true
          },
          "includeReviews": {
            "title": "Include individual reviews",
            "type": "boolean",
            "description": "Attach each facility's reviews (author, date, rating, relationship, text and provider response) to its record. Requires full facility details.",
            "default": false
          },
          "maxReviewsPerFacility": {
            "title": "Max reviews per facility",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Cap the number of reviews attached to each facility. Set to 0 for no cap. Only used when Include individual reviews is on.",
            "default": 20
          },
          "hasWebsiteOnly": {
            "title": "Only facilities with a website",
            "type": "boolean",
            "description": "Only include facilities that publish their own website. Requires full facility details.",
            "default": false
          },
          "sortBy": {
            "title": "Sort results",
            "enum": [
              "recommended",
              "rating",
              "reviews",
              "priceLow",
              "priceHigh",
              "distance"
            ],
            "type": "string",
            "description": "How to order the emitted facilities after collecting and filtering them.",
            "default": "recommended"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted facility records.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}