{
  "openapi": "3.0.1",
  "info": {
    "title": "US New Business Openings with Phone",
    "description": "Businesses that just opened in 17 US cities and counties, from official business licence and tax receipt open data: name, owner, activity, address, start date, and the phone the register publishes (88-100 % of rows in 14 registers, measured). Delta mode delivers only what is new since your last run.",
    "version": "1.0",
    "x-build-id": "C6Vc0wgzDpTRKZlZU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wellbuilt_zythem~us-new-business-openings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wellbuilt_zythem-us-new-business-openings",
        "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/wellbuilt_zythem~us-new-business-openings/runs": {
      "post": {
        "operationId": "runs-sync-wellbuilt_zythem-us-new-business-openings",
        "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/wellbuilt_zythem~us-new-business-openings/run-sync": {
      "post": {
        "operationId": "run-sync-wellbuilt_zythem-us-new-business-openings",
        "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": {
          "sources": {
            "title": "Registers",
            "type": "array",
            "description": "Leave empty for every register that publishes a phone or an email (16). Each one is an official open-data API, so it never breaks because a website changed its layout. Phone and email shares were measured on 30 September 2026 over the previous 30 to 90 days.",
            "items": {
              "type": "string",
              "enum": [
                "broward",
                "lee",
                "orlando",
                "miami_dade",
                "sacramento_county",
                "sacramento",
                "seattle",
                "las_cruces",
                "ventura",
                "virginia_beach",
                "chesapeake",
                "newport_news",
                "alpharetta",
                "new_orleans",
                "bentonville",
                "hamblen",
                "connecticut"
              ],
              "enumTitles": [
                "Broward County, FL: Fort Lauderdale, Hollywood, Pembroke Pines (~500/month, phone 88 %, email 28 %)",
                "Lee County, FL: Fort Myers, Cape Coral, Bonita Springs (~400/month, phone 94 %, email 62 %)",
                "Orlando, FL (~190/month, phone 59 %)",
                "Miami-Dade County, FL (~470/month, NO phone or email: name, owner, activity, address)",
                "Sacramento County, CA (~510/month, phone 100 %)",
                "Sacramento, CA city (~320/month, phone 99 %)",
                "Seattle, WA (~390/month, phone 100 %)",
                "Las Cruces, NM (~50/month, phone 97 %, email 90 %; new registrations only, start date to the month)",
                "Ventura, CA (~90/month, phone 100 %)",
                "Virginia Beach, VA (~350/month, phone 97 %; published about a month late, use 60 days or more)",
                "Chesapeake, VA (~50/month, phone 100 %)",
                "Newport News, VA (~40/month, phone 97 %)",
                "Alpharetta, GA (~40/month, phone 100 %, email 100 %)",
                "New Orleans, LA (~250/month, phone 100 %)",
                "Bentonville, AR (~13/month, phone 92 %, email 92 %)",
                "Hamblen County, TN: Morristown (~13/month, phone 100 %)",
                "Connecticut statewide business registry (~5,200/month, email 100 %, NO phone)"
              ]
            }
          },
          "lastNDays": {
            "title": "Last N days",
            "minimum": 1,
            "maximum": 400,
            "type": "integer",
            "description": "Businesses whose start date falls in the last N days. Ignored when \"From date\" is set. Up to 400.",
            "default": 7
          },
          "dateFrom": {
            "title": "From date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "YYYY-MM-DD. Start of the window; overrides \"Last N days\"."
          },
          "dateTo": {
            "title": "To date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "YYYY-MM-DD, inclusive. Leave empty for \"up to today, plus businesses that declared a start date in the next 60 days\"."
          },
          "onlyWithPhone": {
            "title": "Only rows with a phone",
            "type": "boolean",
            "description": "Drop rows where the register published no usable 10-digit phone. Rows dropped here cost nothing.",
            "default": false
          },
          "onlyWithEmail": {
            "title": "Only rows with an email",
            "type": "boolean",
            "description": "Drop rows without an email. Only Lee, Las Cruces, Alpharetta, Bentonville, Broward (28 %) and Connecticut publish one.",
            "default": false
          },
          "onlyCompanies": {
            "title": "Only companies",
            "type": "boolean",
            "description": "Keep LLCs, corporations and other entities; drop people registered as a business under their own name (sole proprietors, licensed professionals).",
            "default": false
          },
          "includeUpcoming": {
            "title": "Include businesses opening soon",
            "type": "boolean",
            "description": "Some registers (Broward, Sacramento) list businesses with a declared start date in the coming weeks. Rows carry isUpcoming: true.",
            "default": true
          },
          "categoryKeyword": {
            "title": "Activity keyword",
            "type": "string",
            "description": "Keep only rows whose activity or name contains this text, e.g. \"restaurant\", \"contractor\", \"salon\", \"trucking\"."
          },
          "onlyNew": {
            "title": "Delta mode: only businesses new since the last run",
            "type": "boolean",
            "description": "Remembers what was delivered (per register) in a named key-value store in your account and delivers only new rows next time. Registers file receipts weeks after the declared start date, so the actor looks 45 days behind its last mark and uses the remembered ids to skip repeats. You pay once per business.",
            "default": false
          },
          "stateStoreName": {
            "title": "Delta store name",
            "type": "string",
            "description": "Key-value store that keeps the delta state. One name per schedule or per filter set.",
            "default": "us-new-business-seen"
          },
          "resetState": {
            "title": "Reset delta state",
            "type": "boolean",
            "description": "Forget everything delivered so far and start the delta again from \"From date\" or \"Last N days\".",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many rows. Leave empty for no limit."
          },
          "socrataAppToken": {
            "title": "Socrata app token (optional)",
            "type": "string",
            "description": "Your own free Socrata token for Seattle, Orlando, New Orleans, New York and Connecticut: without it the run shares the public quota."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}