{
  "openapi": "3.0.1",
  "info": {
    "title": "No-Website Leads: New Businesses Without a Website (US, UK, FR)",
    "description": "No-website leads API: newly registered companies without website, from registers of UK, France and 5 US states (Oregon, Texas, New York, Colorado, Connecticut). New business leads, new company leads, web design leads, web agency leads: newly incorporated companies, businesses without website.",
    "version": "0.1",
    "x-build-id": "hU5GVSpsYpV7PHyBf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/euroscrape~no-website-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-euroscrape-no-website-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/euroscrape~no-website-leads/runs": {
      "post": {
        "operationId": "runs-sync-euroscrape-no-website-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/euroscrape~no-website-leads/run-sync": {
      "post": {
        "operationId": "run-sync-euroscrape-no-website-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",
        "properties": {
          "countries": {
            "title": "🌍 Countries",
            "type": "array",
            "description": "Registers to read. With several, leads are taken from each country in turn. United States: five states publish their new companies as open data (New York, Texas, Colorado, Connecticut, Oregon).",
            "items": {
              "type": "string",
              "enum": [
                "UK",
                "FR",
                "US"
              ],
              "enumTitles": [
                "United Kingdom (Companies House)",
                "France (official gazette BODACC)",
                "United States: New York, Texas, Colorado, Connecticut, Oregon (state open data)"
              ]
            },
            "default": [
              "UK",
              "FR",
              "US"
            ]
          },
          "registeredInLastDays": {
            "title": "🆕 Registered in the last N days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "UK and US: registration date. France: date of the official notice, published a few days after the registration. The most recent companies come first.",
            "default": 7
          },
          "registeredFrom": {
            "title": "Registered from",
            "type": "string",
            "description": "Optional exact start date (YYYY-MM-DD). Overrides the number of days."
          },
          "registeredTo": {
            "title": "Registered to",
            "type": "string",
            "description": "Optional end date (YYYY-MM-DD). Default: today."
          },
          "activityKeywords": {
            "title": "🏷️ Activity keywords",
            "type": "array",
            "description": "Keep companies whose activity or name contains one of these, e.g. \"restaurant\", \"plumbing\", \"coiffure\", \"beauty salon\". Several words in one entry must all be present. UK activities are the official SIC descriptions (in English); French activities are written in French; in the US only Connecticut publishes an activity, so the name is what counts for New York, Colorado, Texas and Oregon. Leave empty for every activity.",
            "items": {
              "type": "string"
            }
          },
          "ukLocations": {
            "title": "📍 UK: town, county or postcode",
            "type": "array",
            "description": "Registered office contains one of these, e.g. \"Leeds\", \"Manchester\", \"SW1\". Leave empty for the whole UK.",
            "items": {
              "type": "string"
            }
          },
          "ukSicCodes": {
            "title": "UK: SIC codes",
            "type": "array",
            "description": "Optional 5-digit UK SIC 2007 codes, e.g. 56101 (restaurants), 96020 (hairdressing), 43220 (plumbing).",
            "items": {
              "type": "string"
            }
          },
          "frDepartments": {
            "title": "📍 France: departments",
            "type": "array",
            "description": "Department numbers, e.g. \"75\", \"69\", \"13\", \"2A\". Leave empty for all of France.",
            "items": {
              "type": "string"
            }
          },
          "usStates": {
            "title": "📍 US: states",
            "type": "array",
            "description": "States to read. Leave empty for the five of them. Texas publishes a new company about ten days after its charter date, and Oregon updates its list once a week: set \"Registered in the last N days\" to 21 or more to get all of them.",
            "items": {
              "type": "string",
              "enum": [
                "NY",
                "CO",
                "CT",
                "TX",
                "OR"
              ],
              "enumTitles": [
                "New York",
                "Colorado",
                "Connecticut",
                "Texas",
                "Oregon"
              ]
            }
          },
          "usLocations": {
            "title": "📍 US: cities or counties",
            "type": "array",
            "description": "City names, e.g. \"Denver\", \"Hartford\", \"Boulder\". For New York, county names work too: \"Kings\" (Brooklyn), \"Queens\", \"Albany\". Leave empty for the whole state.",
            "items": {
              "type": "string"
            }
          },
          "excludeHoldingsAndPropertyCompanies": {
            "title": "Skip holding and property companies",
            "type": "boolean",
            "description": "Holding companies, property-holding companies (SCI in France) and dormant shells never need a website: they are skipped and not charged.",
            "default": true
          },
          "output": {
            "title": "🎯 Which companies to return",
            "enum": [
              "noWebsite",
              "newDomain",
              "noDomain",
              "all"
            ],
            "type": "string",
            "description": "\"Without a website\" returns every company with no site of its own, and tells whether a domain name at its name exists and when it was created. \"Domain just bought\" keeps only the companies whose domain was created around their registration and shows no site yet: they are about to need one. \"All\" also returns the companies that already have a website, with emails and phones found on it.",
            "default": "noWebsite"
          },
          "maxItems": {
            "title": "Max leads",
            "minimum": 1,
            "type": "integer",
            "description": "The run stops when this many leads are saved.",
            "default": 100
          },
          "monitorName": {
            "title": "🔔 Monitor name (only new leads at each run)",
            "type": "string",
            "description": "Name this search and schedule the Actor daily: each run then returns only companies that were not delivered before. A day with nothing new costs the run start only."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}