{
  "openapi": "3.0.1",
  "info": {
    "title": "Lovable Sites Scraper - Find & Enrich lovable.app Apps",
    "description": "Discover sites built with Lovable.dev. Enumerates *.lovable.app subdomains from public sources (CT logs, RapidDNS, hackertarget) and enriches each with title, description, Open Graph tags and custom domain detection. Perfect for lead-gen, competitive intel and market research on AI-built apps.",
    "version": "1.4",
    "x-build-id": "awTw4z3oOy6kSvXyM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/makework36~lovable-sites-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-makework36-lovable-sites-scraper",
        "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/makework36~lovable-sites-scraper/runs": {
      "post": {
        "operationId": "runs-sync-makework36-lovable-sites-scraper",
        "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/makework36~lovable-sites-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-makework36-lovable-sites-scraper",
        "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": {
          "maxSites": {
            "title": "Max sites to return",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of Lovable sites to extract and enrich. Each site counts as one billable result.",
            "default": 100
          },
          "enrichHtml": {
            "title": "Enrich with HTTP metadata",
            "type": "boolean",
            "description": "If true, fetch each site and extract title, description, Open Graph tags and detect custom domain. Slower but much more useful. Turn off for pure subdomain enumeration.",
            "default": true
          },
          "onlyLive": {
            "title": "Only live sites (HTTP 200)",
            "type": "boolean",
            "description": "If true, skip sites that return 4xx/5xx or timeout. Requires enrichHtml.",
            "default": true
          },
          "includeWww": {
            "title": "Include www. variants",
            "type": "boolean",
            "description": "If false, drop duplicated www.<project>.lovable.app when the bare form is already captured.",
            "default": false
          },
          "searchQuery": {
            "title": "Keyword filter (any field)",
            "type": "string",
            "description": "Optional — only keep sites whose subdomain, title or description contains this keyword (case-insensitive). E.g. 'crypto', 'airbnb', 'saas'.",
            "default": ""
          },
          "mustHaveCustomDomain": {
            "title": "Only sites with a custom domain",
            "type": "boolean",
            "description": "If true, drop sites that still run on a bare *.lovable.app URL. Great for qualified lead-gen (custom domain = intent + budget).",
            "default": false
          },
          "subdomainContains": {
            "title": "Subdomain contains",
            "type": "string",
            "description": "Optional — only keep sites whose subdomain (slug) contains this substring. Applied BEFORE enrichment (saves cost). E.g. 'shop', 'ai', 'app', 'crypto'.",
            "default": ""
          },
          "subdomainStartsWith": {
            "title": "Subdomain starts with",
            "type": "string",
            "description": "Optional — only keep sites whose name starts with this. Use a single letter to browse alphabetically (e.g. 'n' → nova, nutrition, nextstep…) or a full prefix (e.g. 'shop-').",
            "default": ""
          },
          "subdomainEndsWith": {
            "title": "Subdomain ends with",
            "type": "string",
            "description": "Optional — only keep sites whose name ends with this. Useful for naming conventions, e.g. '-app', '-ai', '-store'.",
            "default": ""
          },
          "exactSubdomains": {
            "title": "Specific sites (exact names)",
            "type": "array",
            "description": "Optional — look up these exact sites instead of discovering. Accepts 'my-shop', 'my-shop.lovable.app' or the full URL. When set, discovery sources are SKIPPED: it's much faster and it also reaches brand-new sites the public sources haven't indexed yet. All other search filters are ignored.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "subdomainRegex": {
            "title": "Subdomain regex (power users)",
            "type": "string",
            "description": "Optional — regular expression matched against the slug, case-insensitive. E.g. '^n' (starts with n), '^(shop|store)' (starts with either), '\\\\d{2,}$' (ends in 2+ digits). An invalid pattern fails the run with a clear message instead of silently returning nothing.",
            "default": ""
          },
          "titleContains": {
            "title": "Title contains",
            "type": "string",
            "description": "Optional — only keep sites whose <title> tag contains this substring (case-insensitive). Requires enrichHtml. E.g. 'SaaS', 'Restaurant'.",
            "default": ""
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Optional — blacklist. Drop sites containing any of these keywords in subdomain/title/description (case-insensitive). E.g. ['test', 'demo', 'staging', 'example'].",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "extractContacts": {
            "title": "Extract contact info (emails, phones, social links)",
            "type": "boolean",
            "description": "If true, also extract emails, phone numbers, WhatsApp links and social media (LinkedIn, Twitter, Instagram, Facebook, YouTube, TikTok, GitHub) from each site. Adds ~1s per site.",
            "default": false
          },
          "resultOrder": {
            "title": "Result order",
            "enum": [
              "random",
              "alphabetical"
            ],
            "type": "string",
            "description": "How candidates are picked before the Max sites cap. 'Random' returns a different sample of sites on every run (recommended for lead-gen and for discovering new sites). 'Alphabetical' always returns the same first N sites — use it only when you need a reproducible list.",
            "default": "random"
          },
          "randomSeed": {
            "title": "Random seed",
            "minimum": 1,
            "type": "integer",
            "description": "Optional — only used when Result order is 'random'. Set a fixed number to reproduce the exact same random sample later. Leave empty for a truly different sample each run."
          },
          "concurrency": {
            "title": "HTTP concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Parallel HTTP requests when enriching. Higher = faster but more IP load.",
            "default": 15
          },
          "sources": {
            "title": "Discovery sources",
            "type": "array",
            "description": "Public subdomain discovery sources to query. Combine for better coverage.",
            "items": {
              "type": "string",
              "enum": [
                "crtsh",
                "hackertarget",
                "rapiddns"
              ],
              "enumTitles": [
                "crt.sh (Certificate Transparency)",
                "hackertarget.com",
                "rapiddns.io"
              ]
            },
            "default": [
              "crtsh",
              "hackertarget",
              "rapiddns"
            ]
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}