{
  "openapi": "3.0.1",
  "info": {
    "title": "Missed-Call Leads: Businesses Losing Calls, With Proof",
    "description": "The sales agent that finds businesses losing calls. It reads recent 1-3 star Google reviews for unanswered phones and unreturned calls, then hands you the proof quote, the owner's LinkedIn and ready-to-send outreach.",
    "version": "1.0",
    "x-build-id": "DcZo8PFh7kBzZSn0X"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/growth-installations~missed-call-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-growth-installations-missed-call-leads",
        "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/growth-installations~missed-call-leads/runs": {
      "post": {
        "operationId": "runs-sync-growth-installations-missed-call-leads",
        "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/growth-installations~missed-call-leads/run-sync": {
      "post": {
        "operationId": "run-sync-growth-installations-missed-call-leads",
        "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": [
          "city",
          "trades"
        ],
        "properties": {
          "city": {
            "title": "City",
            "type": "string",
            "description": "City and state/country, e.g. \"Richmond, VA\"."
          },
          "trades": {
            "title": "Trades",
            "type": "array",
            "description": "Business types to scan.",
            "items": {
              "type": "string",
              "enum": [
                "hvac",
                "plumber",
                "electrician",
                "roofing",
                "dentist",
                "med-spa",
                "pi-lawyer",
                "chiropractor",
                "auto-repair",
                "moving",
                "pest-control",
                "landscaping",
                "pool",
                "garage-door",
                "foundation",
                "water-damage"
              ],
              "enumTitles": [
                "HVAC",
                "Plumber",
                "Electrician",
                "Roofing",
                "Dentist",
                "Med spa",
                "Personal injury lawyer",
                "Chiropractor",
                "Auto repair",
                "Moving company",
                "Pest control",
                "Landscaping",
                "Pool service",
                "Garage door",
                "Foundation repair",
                "Water damage restoration"
              ]
            },
            "default": [
              "hvac",
              "plumber",
              "dentist"
            ]
          },
          "maxPlacesPerTrade": {
            "title": "Businesses per trade",
            "minimum": 5,
            "maximum": 300,
            "type": "integer",
            "description": "Google Maps businesses to scan per trade.",
            "default": 40
          },
          "reviewsPerPlace": {
            "title": "Reviews per business",
            "minimum": 5,
            "maximum": 100,
            "type": "integer",
            "description": "Lowest-rated reviews to read per business.",
            "default": 20
          },
          "reviewsMode": {
            "title": "Review mode",
            "enum": [
              "recent-lowest",
              "lowest"
            ],
            "type": "string",
            "description": "recent-lowest (cheapest: recent reviews, lowest stars first) or lowest (the N lowest ever, filtered to the window here; also catches recent 2-3 star reviews).",
            "default": "recent-lowest"
          },
          "months": {
            "title": "Look-back (months)",
            "minimum": 1,
            "maximum": 36,
            "type": "integer",
            "description": "Only count reviews from the last N months.",
            "default": 6
          },
          "maxStars": {
            "title": "Max stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only count reviews with this many stars or fewer.",
            "default": 3
          },
          "minHits": {
            "title": "Min missed-call reviews",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "A business needs at least this many matching reviews.",
            "default": 1
          },
          "maxLeads": {
            "title": "Max leads",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Stop after this many leads (you pay per lead).",
            "default": 100
          },
          "categoryFilter": {
            "title": "Category filter",
            "type": "boolean",
            "description": "Only keep businesses whose Google category matches the trade.",
            "default": true
          },
          "findDecisionMakers": {
            "title": "Find the owner's LinkedIn",
            "type": "boolean",
            "description": "Look up the owner or president on LinkedIn through Google.",
            "default": true
          },
          "senderName": {
            "title": "Your name",
            "type": "string",
            "description": "Signs the outreach."
          },
          "senderCompany": {
            "title": "Your company",
            "type": "string",
            "description": "Signs the outreach."
          },
          "offer": {
            "title": "Your offer",
            "type": "string",
            "description": "What you sell.",
            "default": "an AI receptionist that answers every call, 24/7"
          },
          "doNotContact": {
            "title": "Do-not-contact list",
            "type": "array",
            "description": "Business names, domains or phone numbers to never include.",
            "items": {
              "type": "string"
            }
          },
          "verifyAfterHours": {
            "title": "After-hours call check",
            "type": "boolean",
            "description": "Run a PlaceCall check on each lead's phone after closing time. Dry run by default: nobody is called.",
            "default": false
          },
          "placecallDryRun": {
            "title": "Dry run (nobody is called)",
            "type": "boolean",
            "description": "Keep on to only validate the call list. Turn off to place real calls ($0.25 per call check).",
            "default": true
          },
          "maxCalls": {
            "title": "Max real calls",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Upper limit on real calls per run.",
            "default": 1
          },
          "callSpacingMinutes": {
            "title": "Minutes between calls",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Spacing between real calls.",
            "default": 4
          },
          "callerDisplayName": {
            "title": "Caller display name",
            "type": "string",
            "description": "Name the call agent gives."
          },
          "timezone": {
            "title": "Time zone",
            "type": "string",
            "description": "Local time zone of the city (IANA).",
            "default": "America/New_York"
          },
          "countryCode": {
            "title": "Country code",
            "type": "string",
            "description": "Google country for searches.",
            "default": "us"
          },
          "maxMapsChargeUsd": {
            "title": "Max Maps spend per trade (USD)",
            "minimum": 0.5,
            "type": "number",
            "description": "Cap for each Google Maps sub-run. Minimum $0.50 (the lowest cap Apify accepts for the scraper sub-run).",
            "default": 1
          },
          "maxDmChargeUsd": {
            "title": "Max owner-lookup spend (USD)",
            "minimum": 0.1,
            "type": "number",
            "description": "Cap for the LinkedIn owner lookup.",
            "default": 0.5
          },
          "maxPlacecallChargeUsd": {
            "title": "Max PlaceCall spend (USD)",
            "minimum": 0.1,
            "type": "number",
            "description": "Cap per PlaceCall sub-run.",
            "default": 0.5
          },
          "mapsDatasetIds": {
            "title": "Replay: Maps dataset IDs",
            "type": "array",
            "description": "One finished compass/crawler-google-places dataset per trade, in order.",
            "items": {
              "type": "string"
            }
          },
          "dmDatasetId": {
            "title": "Replay: owner-lookup dataset ID",
            "type": "string",
            "description": "Reuse a finished owner-lookup search dataset."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}