{
  "openapi": "3.0.1",
  "info": {
    "title": "Los Angeles New Business Lead Generator & Radar",
    "description": "Find Los Angeles businesses before or around opening from official City business-start records and commercial building permits. OpenSoon LA filters residential noise, ranks opportunities by confidence, and suggests likely vendor needs for sales teams, agencies, and service providers.",
    "version": "0.0",
    "x-build-id": "71PtaTT2mw1Q7gIJE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vadimkurka~opensoon-la/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vadimkurka-opensoon-la",
        "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/vadimkurka~opensoon-la/runs": {
      "post": {
        "operationId": "runs-sync-vadimkurka-opensoon-la",
        "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/vadimkurka~opensoon-la/run-sync": {
      "post": {
        "operationId": "run-sync-vadimkurka-opensoon-la",
        "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": {
          "daysBack": {
            "title": "Lookback days",
            "minimum": 1,
            "maximum": 180,
            "type": "integer",
            "description": "How far back to look for business-registry and permit signals.",
            "default": 30
          },
          "daysAhead": {
            "title": "Future business-start horizon",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Include City business records with a registered location start date this many days into the future.",
            "default": 90
          },
          "verticals": {
            "title": "Business verticals",
            "type": "array",
            "description": "Optional vertical filter. Leave empty for all commercial opportunities.",
            "items": {
              "type": "string",
              "enum": [
                "restaurant_food",
                "beauty_wellness",
                "fitness",
                "medical_dental",
                "retail",
                "hospitality",
                "office_professional",
                "general_commercial"
              ],
              "enumTitles": [
                "Restaurants / food",
                "Beauty / wellness",
                "Fitness",
                "Medical / dental",
                "Retail",
                "Hospitality",
                "Professional offices",
                "General commercial"
              ]
            },
            "default": []
          },
          "zipCodes": {
            "title": "ZIP codes",
            "type": "array",
            "description": "Optional 5-digit LA ZIP filters, e.g. 90012.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional text match against business name, industry, permit type and work description.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minScore": {
            "title": "Minimum opportunity score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "0-100. Higher values return fewer but stronger signals.",
            "default": 35
          },
          "onlyMultiSignal": {
            "title": "Only independently confirmed opportunities",
            "type": "boolean",
            "description": "Require both a City business-registry signal and a building-permit signal at the same normalized address.",
            "default": false
          },
          "includeBusinessRegistrations": {
            "title": "Use business registry/start dates",
            "type": "boolean",
            "description": "Include active City business-registry records and their registered location start dates.",
            "default": true
          },
          "includeSubmittedPermits": {
            "title": "Use submitted permits",
            "type": "boolean",
            "description": "Include recently submitted City building-permit applications as early project signals.",
            "default": true
          },
          "includeIssuedPermits": {
            "title": "Use issued permits",
            "type": "boolean",
            "description": "Include recently issued City building permits as project-progress signals.",
            "default": true
          },
          "includeResidential": {
            "title": "Include residential permit signals",
            "type": "boolean",
            "description": "Include permits classified as residential. Off by default because this Actor is designed for B2B prospecting.",
            "default": false
          },
          "maxResults": {
            "title": "Maximum opportunities",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of ranked opportunities to write to the default dataset.",
            "default": 250
          },
          "maxRecordsPerSource": {
            "title": "Maximum source records",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Safety cap per City dataset before scoring and merging.",
            "default": 3000
          },
          "includeRaw": {
            "title": "Include raw source rows",
            "type": "boolean",
            "description": "Add the original public-data row under each evidence item. Usually not needed and increases output size.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}