{
  "openapi": "3.0.1",
  "info": {
    "title": "Vet Practice M&A Targets — buyer-mapped acquisition leads",
    "description": "50-state US vet practice acquisition leads. Each scored 1-10 on M&A readiness, mapped to its most likely PE buyer (NVA / VetCor / BluePearl / Mars / Regional). ~14K independent clinics. Pay-per-result. The only vet-vertical M&A actor on Apify Store.",
    "version": "0.1",
    "x-build-id": "sffNaGRzZBZvj0Ja7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kazkn~vet-mna-actor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kazkn-vet-mna-actor",
        "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/kazkn~vet-mna-actor/runs": {
      "post": {
        "operationId": "runs-sync-kazkn-vet-mna-actor",
        "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/kazkn~vet-mna-actor/run-sync": {
      "post": {
        "operationId": "run-sync-kazkn-vet-mna-actor",
        "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": [
          "states"
        ],
        "properties": {
          "states": {
            "title": "States to scan",
            "uniqueItems": true,
            "type": "array",
            "description": "US state codes to include. Example: <code>FL</code>, <code>TX</code>, <code>CA</code>. Leave empty to scan <b>all 50 states + DC</b>.<br><br><b>Tip:</b> start small (3-5 states) to validate output before running USA-wide. Full 50-state run = ~8 minutes + ~$510 PPE.",
            "items": {
              "type": "string",
              "pattern": "^(AL|AK|AZ|AR|CA|CO|CT|DE|DC|FL|GA|HI|ID|IL|IN|IA|KS|KY|LA|ME|MD|MA|MI|MN|MS|MO|MT|NE|NV|NH|NJ|NM|NY|NC|ND|OH|OK|OR|PA|RI|SC|SD|TN|TX|UT|VT|VA|WA|WV|WI|WY)$"
            }
          },
          "maxTargetsPerState": {
            "title": "Max targets per state",
            "minimum": 5,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap the number of records emitted per state. Useful for trial runs and PPE cost control.<br><br><b>Cost math:</b> at 30/state × 50 states × $0.20 borderline ≈ $300/run.<br><b>Default 30</b> gives you a representative sample; raise to 500 for full state coverage.",
            "default": 30
          },
          "minReadinessScore": {
            "title": "Minimum M&A readiness score",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Only emit targets scoring at or above this on the 1-10 readiness scale.<br><br><b>7+</b> = qualified (charged $1.00 / target) — full state-portal data + reviews<br><b>4-6.99</b> = borderline (charged $0.20 / target) — OSM-only practices<br><b>1-3.99</b> = low signal (free, dataset only if you set min=1)<br><br><b>Tip:</b> leave at default 4 to capture all borderline targets day-1.",
            "default": 4
          },
          "includeBorderline": {
            "title": "Include borderline targets ($0.20 each)",
            "type": "boolean",
            "description": "When <b>on</b>, you receive practices scored 4-7 (OSM-confirmed, but lacking reviews / state-portal data).<br>When <b>off</b>, only qualified ($1.00) targets are emitted — fewer leads, but higher confidence.",
            "default": true
          },
          "buyerFilter": {
            "title": "Buyer match filter",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict output to specific likely-acquirer types. Leave empty (<b>recommended</b>) to receive all buyer matches.<br><br><b>NVA</b> = small-animal solo-vet, top metros (JAB Holdings)<br><b>VetCor</b> = aging owner, 15+ yr LLC, suburban (Oak Hill Capital)<br><b>BluePearl</b> = specialty / 24-hr / multi-vet (Mars Petcare)<br><b>Mars</b> = multi-location, multi-state (VCA / Banfield)<br><b>Regional</b> = everything else (Innovetive, Pathway, Thrive, etc.)",
            "items": {
              "type": "string",
              "enum": [
                "NVA",
                "VetCor",
                "BluePearl",
                "Mars",
                "Regional"
              ],
              "enumTitles": [
                "🏢 NVA (JAB Holdings)",
                "🏥 VetCor (Oak Hill Capital)",
                "💙 BluePearl / Ethos (Mars Petcare)",
                "🐾 Mars Direct (VCA / Banfield)",
                "🌎 Regional PE rollups"
              ]
            },
            "default": []
          },
          "refreshMode": {
            "title": "Refresh mode",
            "enum": [
              "full",
              "delta"
            ],
            "type": "string",
            "description": "<b>Full scan</b> (default) = rebuild target list from scratch.<br><b>Delta</b> = only new or changed practices since last run for the same state.",
            "default": "full"
          },
          "enableEnrichment": {
            "title": "Enable Yelp + Google Maps enrichment",
            "type": "boolean",
            "description": "When <b>on</b>, the actor enriches each OSM record with Yelp + Google Maps + AVMA data (reviews, photos, hours, board certifications). This unlocks score 7+ qualified targets but adds ~3-5 min per state and may consume paid Apify Google Maps Scraper credits.<br><br>Leave <b>off</b> for OSM-only data — faster, cheaper, still produces 1300+ borderline targets across 50 states.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy is recommended for sitemap fetches on rate-limited chains (BluePearl, Ethos). Residential US proxies work best.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}