{
  "openapi": "3.0.1",
  "info": {
    "title": "No-Website Qualified Leads",
    "description": "Phone-first US no-website & bad-website leads for web/SEO agencies. Try free example tasks (Austin dentists / Miami plumbers / Dallas nails), then $0.07/qualified lead; high_value ≈$0.11. No phone → not charged.",
    "version": "1.0",
    "x-build-id": "cj05UfGSjPgZJcaGe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/natural_lease~no-website-qualified-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-natural_lease-no-website-qualified-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/natural_lease~no-website-qualified-leads/runs": {
      "post": {
        "operationId": "runs-sync-natural_lease-no-website-qualified-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/natural_lease~no-website-qualified-leads/run-sync": {
      "post": {
        "operationId": "run-sync-natural_lease-no-website-qualified-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": [
          "cities"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "no_website",
              "social_only",
              "high_value",
              "bad_website"
            ],
            "type": "string",
            "description": "no_website (default, cheapest) | social_only | high_value (rating≥4.2, reviews≥30) | bad_website (light HTTP probe of real sites).",
            "default": "no_website"
          },
          "nichePreset": {
            "title": "Niche preset",
            "enum": [
              "default",
              "home_services"
            ],
            "type": "string",
            "description": "Used when categories is empty. default = nail salon/barber/plumber. home_services = plumber/electrician/hvac/roofing/landscaping/cleaning.",
            "default": "default"
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "US cities (e.g. Austin, TX).",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories (override)",
            "type": "array",
            "description": "Overrides niche preset when non-empty.",
            "items": {
              "type": "string"
            }
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "high_value forces ≥4.2.",
            "default": 3.5
          },
          "minReviews": {
            "title": "Minimum reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Default 2 for yield; high_value forces ≥30.",
            "default": 2
          },
          "maxReviews": {
            "title": "Maximum reviews",
            "minimum": 1,
            "type": "integer",
            "description": "Skip oversized listings.",
            "default": 120
          },
          "maxResultsPerCity": {
            "title": "Max places per city × category",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Nested scan depth. Default 10 with withoutWebsite for better qualified %.",
            "default": 10
          },
          "scrapeContactFromWebsite": {
            "title": "Enrich emails (social_only only)",
            "type": "boolean",
            "description": "Only applied when mode=social_only. Ignored in other modes to avoid wasted nested contact fees.",
            "default": false
          },
          "enrichEmailsOnSocial": {
            "title": "Alias: enrich emails on social_only",
            "type": "boolean",
            "description": "Same as scrapeContactFromWebsite for social_only mode.",
            "default": false
          },
          "badWebsiteTimeoutMs": {
            "title": "Bad website probe timeout (ms)",
            "minimum": 1000,
            "maximum": 15000,
            "type": "integer",
            "description": "Per-URL timeout for bad_website mode.",
            "default": 3500
          },
          "maxBadWebsiteProbes": {
            "title": "Max bad-website probes per run",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Caps HTTP checks to control cost.",
            "default": 25
          },
          "includeSocialOnly": {
            "title": "Legacy includeSocialOnly",
            "type": "boolean",
            "description": "Deprecated — use mode.",
            "default": false
          },
          "countryCode": {
            "title": "Country code",
            "type": "string",
            "description": "Use us for US.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Maps language.",
            "default": "en"
          },
          "skipClosedPlaces": {
            "title": "Skip closed places",
            "type": "boolean",
            "description": "Skip closed listings.",
            "default": true
          },
          "requirePhone": {
            "title": "Require phone (PPE guarantee)",
            "type": "boolean",
            "description": "If true (default), phoneless places are never written — you are not charged PPE for them.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy UX; nested Maps uses its own proxies.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}