{
  "openapi": "3.0.1",
  "info": {
    "title": "Work Email Finder & Verifier: Name + Domain to Email",
    "description": "Email finder and verifier: first name, last name and company domain in, work email out. Generates corporate patterns, resolves MX, flags catch-all domains and verifies the mailbox with your own free Abstract API key (Apify blocks port 25). Unverified patterns are free; pay only on finds.",
    "version": "0.2",
    "x-build-id": "1ySA3aPFJyPN8yZcp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cleanrowdata~work-email-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cleanrowdata-work-email-finder",
        "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/cleanrowdata~work-email-finder/runs": {
      "post": {
        "operationId": "runs-sync-cleanrowdata-work-email-finder",
        "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/cleanrowdata~work-email-finder/run-sync": {
      "post": {
        "operationId": "run-sync-cleanrowdata-work-email-finder",
        "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": {
          "firstName": {
            "title": "First name",
            "type": "string",
            "description": "Person's first name (single lookup). Prefer people[] or csv for batches."
          },
          "lastName": {
            "title": "Last name",
            "type": "string",
            "description": "Person's last name."
          },
          "domain": {
            "title": "Company domain",
            "type": "string",
            "description": "Company email domain, e.g. figma.com (not gmail.com)."
          },
          "people": {
            "title": "People (batch)",
            "type": "array",
            "description": "List of {firstName, lastName, domain}. Overrides single fields when set."
          },
          "csv": {
            "title": "CSV (first,last,domain per line)",
            "type": "string",
            "description": "Optional CSV/TSV blob. Header row optional."
          },
          "catchAllPolicy": {
            "title": "Catch-all domains",
            "enum": [
              "flag",
              "skip",
              "accept"
            ],
            "type": "string",
            "description": "How to handle domains that accept any local part. Never reported as verification=valid.",
            "default": "flag"
          },
          "smtpVerify": {
            "title": "SMTP verify (MX + RCPT TO)",
            "type": "boolean",
            "description": "Legacy toggle for direct SMTP. Prefer verifyProvider. Ignored when verifyProvider=https, or auto with an Abstract key (HTTPS is used because Apify blocks outbound TCP/25).",
            "default": true
          },
          "maxProbes": {
            "title": "Max mailbox checks per person",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "How many pattern candidates to check per person after catch-all detection. With verifyProvider auto/https each check uses one request from your Abstract key (plus one for the catch-all probe).",
            "default": 8
          },
          "onlyFinds": {
            "title": "Only return finds",
            "type": "boolean",
            "description": "When on (default), invalid/unknown misses are omitted and free. Turn off to also see those rows (still free). Unverified best-guess rows (no usable Abstract key) are always returned and charged as email_guess ($0.005, from Nov 11, 2026).",
            "default": true
          },
          "limit": {
            "title": "Max charged rows per run",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Stops the run after this many charged rows (email_found + email_guess). Misses do not count. The run also stops at your maximum charge per run.",
            "default": 100
          },
          "smtpTimeout": {
            "title": "SMTP timeout (seconds)",
            "minimum": 3,
            "maximum": 20,
            "type": "number",
            "description": "Per-connection timeout. Session is reused across catch-all + pattern probes; multiple MX hosts are tried on connect failure.",
            "default": 8
          },
          "sourceDatasetId": {
            "title": "Source dataset ID (people)",
            "type": "string",
            "description": "Optional Apify dataset ID of people rows ({firstName,lastName,domain}) or hiring-contacts items with a people[] list. Chains after hiring-intent-contacts / custom enrichment."
          },
          "verifyProvider": {
            "title": "Verification provider",
            "enum": [
              "auto",
              "https",
              "smtp"
            ],
            "type": "string",
            "description": "How to verify mailbox existence. Apify firewalls outbound port 25, so direct SMTP times out on platform. Auto uses Abstract HTTPS when you paste your own key in abstractApiKey (below). valid = deliverable + SMTP ok + not catch-all.",
            "default": "auto"
          },
          "abstractApiKey": {
            "title": "Your own Abstract Email Reputation API key (needed for verification)",
            "type": "string",
            "description": "Verification needs your own free Abstract Email Reputation API key: get one at https://www.abstractapi.com/api/email-reputation-api and paste it in the abstractApiKey input. Free plan: 100 one-time requests, no card. Each catch-all probe + each pattern candidate costs one request. Without a working key, the Actor still returns candidate email patterns marked verification_status=unverified_no_key, charged as email_guess ($0.005, from Nov 11, 2026) instead of email_found ($0.018)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}