{
  "openapi": "3.0.1",
  "info": {
    "title": "LeadLint Revenue Kits - Proof-to-Pitch Packs",
    "description": "Turn verified local-business website gaps into complete private Revenue Kits with proof, a concept preview, proposal, prepared outreach, and seller-entered deal math.",
    "version": "0.4",
    "x-build-id": "iUllDnOa2njzyoKbe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/may-i-ai~leadlint-revenue-kits/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-may-i-ai-leadlint-revenue-kits",
        "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/may-i-ai~leadlint-revenue-kits/runs": {
      "post": {
        "operationId": "runs-sync-may-i-ai-leadlint-revenue-kits",
        "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/may-i-ai~leadlint-revenue-kits/run-sync": {
      "post": {
        "operationId": "run-sync-may-i-ai-leadlint-revenue-kits",
        "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": {
          "searchTerms": {
            "title": "Business types or search terms",
            "maxItems": 10,
            "type": "array",
            "description": "Enter up to 10 business types. LeadLint searches every term across every location below. Use this direct-search source or one of the dataset sources below, not both.",
            "items": {
              "type": "string",
              "minLength": 2,
              "maxLength": 120
            }
          },
          "location": {
            "title": "Single location",
            "maxLength": 200,
            "type": "string",
            "description": "Optional single city, state, or country for direct search. For bulk work, use Locations below. If both are supplied, LeadLint combines and deduplicates them."
          },
          "locations": {
            "title": "Locations for bulk search",
            "maxItems": 25,
            "type": "array",
            "description": "Enter up to 25 cities, states, or countries. LeadLint runs every business type in every location, then deduplicates the combined records.",
            "items": {
              "type": "string",
              "minLength": 2,
              "maxLength": 200
            }
          },
          "maxResultsPerSearch": {
            "title": "Maximum results per term and location",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Bounds source-data cost and run time for each business-type and location combination.",
            "default": 100
          },
          "countryCode": {
            "title": "Country code",
            "pattern": "^[A-Za-z]{2}$",
            "type": "string",
            "description": "Two-letter country code used by the source search.",
            "default": "US"
          },
          "language": {
            "title": "Result language",
            "pattern": "^[A-Za-z]{2,3}(-[A-Za-z]{2,4})?$",
            "type": "string",
            "description": "Language code used by the source search.",
            "default": "en"
          },
          "sourceActorMaxChargeUsd": {
            "title": "Maximum combined source-data charge in USD",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "One hard spending ceiling shared across every location source run. LeadLint divides this budget across locations. This is separate from LeadLint's result fee.",
            "default": 5
          },
          "sourceLocationConcurrency": {
            "title": "Parallel location searches",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many location searches may run at once. Higher values finish bulk runs faster but do not increase the combined source-data charge cap.",
            "default": 3
          },
          "sourceDatasetId": {
            "title": "Source dataset ID or name",
            "type": "string",
            "description": "An existing Apify dataset containing Google Maps business records. Use this or one other source, not both."
          },
          "records": {
            "title": "Records",
            "type": "array",
            "description": "Existing business records as JSON. Use this or one other source, not both. Compatible with common Google Maps fields.",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "sellerBrandName": {
            "title": "Your brand name",
            "minLength": 1,
            "maxLength": 120,
            "type": "string",
            "description": "Required for Revenue Kits. This appears on the private preview and proposal."
          },
          "sellerContact": {
            "title": "Your reply contact",
            "maxLength": 240,
            "type": "string",
            "description": "Optional email, phone, or booking URL placed in prepared copy. LeadLint never sends it."
          },
          "serviceOfferName": {
            "title": "What you sell",
            "minLength": 1,
            "maxLength": 120,
            "type": "string",
            "description": "Required for Revenue Kits. Example categories include website redesign, SEO, or booking setup; enter your actual offer."
          },
          "serviceOfferSummary": {
            "title": "What your offer includes",
            "minLength": 1,
            "maxLength": 1200,
            "type": "string",
            "description": "Required for Revenue Kits. Used verbatim as your proposed scope; LeadLint will not invent deliverables."
          },
          "offerPriceUsd": {
            "title": "Your offer price in USD",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Optional. If supplied, the proposal shows this exact seller-entered amount. No price is estimated."
          },
          "estimatedFulfillmentCostUsd": {
            "title": "Your fulfillment cost in USD",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Optional. When price is also supplied, LeadLint calculates contribution per won deal using only your numbers."
          },
          "verifyWebsites": {
            "title": "Verify business websites",
            "type": "boolean",
            "description": "Safely check public HTTP/HTTPS sites for reachability. Private-network and local addresses are blocked.",
            "default": true
          },
          "minimumRevenueKitQuality": {
            "title": "Minimum Revenue Kit quality",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "A strict completeness threshold. A business must also have a public phone, enough reviews, and a definite website problem regardless of this score.",
            "default": 80
          },
          "minimumReviewsForRevenueKit": {
            "title": "Minimum public reviews",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Requires observable activity before a prospect can become a Revenue Kit.",
            "default": 5
          },
          "rememberDeliveredBusinesses": {
            "title": "Remember delivered businesses",
            "type": "boolean",
            "description": "Keep account-level delivery history so repeat runs do not return the same business again.",
            "default": true
          },
          "redeliverPreviouslyDelivered": {
            "title": "Allow repeat delivery",
            "type": "boolean",
            "description": "Off by default. Turn on only when you deliberately want previously delivered businesses again.",
            "default": false
          },
          "maxRecords": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 25000,
            "type": "integer",
            "description": "Hard combined processing limit across every location. Supports up to 25,000 records when raised deliberately.",
            "default": 5000
          },
          "websiteConcurrency": {
            "title": "Website-check concurrency",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "Lower this if target websites rate-limit checks.",
            "default": 10
          },
          "requestTimeoutSecs": {
            "title": "Website timeout in seconds",
            "minimum": 3,
            "maximum": 45,
            "type": "integer",
            "description": "Stop each website check after this many seconds so slow sites cannot stall the run.",
            "default": 15
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}