{
  "openapi": "3.0.1",
  "info": {
    "title": "US New Business Leads + Contact Checks",
    "description": "Extract newly registered US businesses from official open data: 5 state registries, 9 city license feeds and SEC EDGAR funding filings (Form D, C, 1-A). One row per business with lead score, address, industry, owner or agent, plus phone and email checked for deliverability.",
    "version": "0.1",
    "x-build-id": "US97DI3Dc1XpFQ4rb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lergassy~us-business-filings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lergassy-us-business-filings",
        "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/lergassy~us-business-filings/runs": {
      "post": {
        "operationId": "runs-sync-lergassy-us-business-filings",
        "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/lergassy~us-business-filings/run-sync": {
      "post": {
        "operationId": "run-sync-lergassy-us-business-filings",
        "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": {
          "preset": {
            "title": "🎯 Quick start",
            "enum": [
              "custom",
              "local_leads_with_phones",
              "connecticut_email_leads",
              "funded_startups"
            ],
            "type": "string",
            "description": "Pick a ready-made lead feed and click Start — the preset sets sources and filters for you. Choose <b>Custom</b> to use the fields below exactly as you set them.",
            "default": "custom"
          },
          "states": {
            "title": "🗺️ States",
            "type": "array",
            "description": "State registries (new company formations). Supported: <code>NY</code>, <code>CO</code>, <code>PA</code>, <code>OR</code>, <code>CT</code>. Use <code>ALL</code> for every supported state, or leave empty to use cities only.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "🏙️ Cities",
            "type": "array",
            "description": "Municipal business-license feeds (newly opened businesses, often with owner name and phone). Supported: <code>CHI</code> Chicago, <code>NYC</code> New York City, <code>LA</code> Los Angeles, <code>SF</code> San Francisco, <code>SEA</code> Seattle, <code>ORL</code> Orlando, <code>NFK</code> Norfolk, <code>NOLA</code> New Orleans, <code>BTR</code> Baton Rouge. Use <code>ALL</code> for every city.",
            "items": {
              "type": "string"
            }
          },
          "signals": {
            "title": "💸 Funding signals",
            "type": "array",
            "description": "Add companies that are raising money, from official SEC EDGAR filings (free, no key). <b>Form D</b>: private rounds (seed, VC, private placements) — amount sold, investors, executive officers, phone. <b>Form C</b>: equity crowdfunding campaigns (Wefunder, StartEngine, Republic) — target, platform, website, revenue, employees. <b>Form 1-A</b>: Regulation A+ offerings up to $75M — contact name, phone, financials. Investment funds and SPVs are excluded unless you turn on <b>Include investment funds</b> below.",
            "items": {
              "type": "string",
              "enum": [
                "EDGAR_FORM_D",
                "EDGAR_FORM_C",
                "EDGAR_FORM_1A"
              ],
              "enumTitles": [
                "SEC Form D — private funding rounds",
                "SEC Form C — equity crowdfunding campaigns",
                "SEC Form 1-A — Regulation A+ offerings"
              ]
            }
          },
          "registeredSince": {
            "title": "Registered since (YYYY-MM-DD)",
            "type": "string",
            "description": "Only businesses registered or licensed on or after this date. Leave empty for the newest records. In monitor mode this is set automatically from the last run."
          },
          "maxResultsPerState": {
            "title": "Max results per source",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Limit records pulled per state or city",
            "default": 1000
          },
          "requireContact": {
            "title": "Only records with a phone or email",
            "type": "boolean",
            "description": "Drop businesses that come without a phone number or email address.",
            "default": false
          },
          "verifyContacts": {
            "title": "✅ Check phone numbers and e-mail domains ($)",
            "type": "boolean",
            "description": "Validate every phone number against the North American numbering plan and check whether each e-mail domain can receive mail (MX lookup), then add the result to each record. Adds a few seconds per run.",
            "default": true
          },
          "contactQuality": {
            "title": "📇 Keep only leads with",
            "enum": [
              "any",
              "contact",
              "valid_contact",
              "deliverable_email",
              "deliverable_email_person"
            ],
            "type": "string",
            "description": "Filter the feed by what the contact checks found. The stricter options need <b>Check phone numbers and e-mail domains</b> switched on.",
            "default": "any"
          },
          "minLeadScore": {
            "title": "Minimum lead score (0–100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Every business gets a <code>leadScore</code>: fresh registration, phone, email, contact name, street address and a company entity type (LLC/Corp) add points. Set e.g. <code>50</code> to keep only records with real contact details.",
            "default": 0
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Keep only businesses tagged with these industries, e.g. <code>Real Estate</code>, <code>Construction</code>, <code>Healthcare</code>, <code>Food</code>, <code>Technology</code>, <code>Legal</code>, <code>Finance</code>, <code>Transportation</code>, <code>Beauty</code>. Tags come from the registry's own category or NAICS where available, otherwise from the company name.",
            "items": {
              "type": "string"
            }
          },
          "newFormationsOnly": {
            "title": "New businesses only",
            "type": "boolean",
            "description": "Keep only records that create a business: new formations in New York (drops biennial statements, amendments, dissolutions) and newly issued licenses in Chicago (drops renewals).",
            "default": true
          },
          "onlyNew": {
            "title": "Monitor mode — only new since last run",
            "type": "boolean",
            "description": "Remembers every record already delivered and returns only new ones next time. Schedule this Actor daily and get a clean feed of fresh businesses without duplicates.",
            "default": false
          },
          "entityTypeContains": {
            "title": "Entity type",
            "type": "string",
            "description": "Filter by type keyword: <code>LLC</code>, <code>CORP</code>, <code>LP</code>, <code>NONPROFIT</code>"
          },
          "cityContains": {
            "title": "City contains",
            "type": "string",
            "description": "Only businesses whose city matches, e.g. <code>Brooklyn</code>"
          },
          "zipPrefix": {
            "title": "ZIP starts with",
            "type": "string",
            "description": "Only businesses whose ZIP starts with this, e.g. <code>112</code> for Brooklyn"
          },
          "nameContains": {
            "title": "Company name contains",
            "type": "string",
            "description": "Full-text search on company name"
          },
          "near": {
            "title": "📍 Near (latitude,longitude)",
            "pattern": "^\\s*-?\\d+(\\.\\d+)?\\s*,\\s*-?\\d+(\\.\\d+)?\\s*$",
            "type": "string",
            "description": "Only businesses within <b>Radius</b> of this point, e.g. <code>40.7128,-74.0060</code> for Manhattan. Uses the coordinates the portal publishes (Chicago, New York City, Los Angeles, San Francisco, Norfolk, New Orleans, Pennsylvania); records without coordinates are skipped."
          },
          "radiusMiles": {
            "title": "Radius (miles)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Distance from the <b>Near</b> point",
            "default": 25
          },
          "excludeNames": {
            "title": "Exclude companies",
            "type": "array",
            "description": "Company names to skip — paste your existing customers or blocklist. Matched ignoring case, punctuation and legal suffixes (LLC, Inc.).",
            "items": {
              "type": "string"
            }
          },
          "mergeDuplicates": {
            "title": "Merge duplicates",
            "type": "boolean",
            "description": "One business per row: the same company appearing twice (two licenses, a registry record and a city license) is merged, contact details are combined and every source is listed in <code>sources</code>.",
            "default": true
          },
          "includeFunds": {
            "title": "Include investment funds (EDGAR)",
            "type": "boolean",
            "description": "Also return Form D filings by pooled investment funds, venture-capital and private-equity vehicles and SPVs. Off by default: these are not operating businesses.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor memory name",
            "type": "string",
            "description": "Name of the key-value store that remembers delivered records in monitor mode. Use different names to run several independent feeds (e.g. one per client).",
            "default": "us-business-filings-monitor"
          },
          "appToken": {
            "title": "Socrata app token (optional)",
            "type": "string",
            "description": "Optional Socrata app token for higher rate limits"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Not required — this Actor uses public open-data APIs.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}