{
  "openapi": "3.0.1",
  "info": {
    "title": "Hunter.io Email Finder, Verifier & Enrichment",
    "description": "Find, verify, enrich, and analyze professional email data with Hunter.io's API for sales, lead generation, and agent workflows.",
    "version": "1.0",
    "x-build-id": "mkC9Jw7An4a5Jlue9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/muhammadafzal~hunter-io-api-actor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-muhammadafzal-hunter-io-api-actor",
        "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/muhammadafzal~hunter-io-api-actor/runs": {
      "post": {
        "operationId": "runs-sync-muhammadafzal-hunter-io-api-actor",
        "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/muhammadafzal~hunter-io-api-actor/run-sync": {
      "post": {
        "operationId": "run-sync-muhammadafzal-hunter-io-api-actor",
        "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": [
          "apiKey"
        ],
        "properties": {
          "apiKey": {
            "title": "Hunter API key",
            "type": "string",
            "description": "Use this when calling Hunter.io. Enter the API key from your Hunter dashboard, for example 'your-hunter-api-key'. It is sent only to api.hunter.io and is never written to logs or output."
          },
          "operation": {
            "title": "Hunter operation",
            "enum": [
              "domainSearch",
              "emailFinder",
              "emailVerifier",
              "domainFinder",
              "emailCount",
              "emailEnrichment",
              "companyEnrichment",
              "account"
            ],
            "type": "string",
            "description": "Use this to choose one read-only Hunter.io endpoint. The batch field for the selected operation must also be supplied. Defaults to domainSearch.",
            "default": "domainSearch"
          },
          "domains": {
            "title": "Domains or companies",
            "maxItems": 100,
            "type": "array",
            "description": "Use this for domainSearch, emailCount, or companyEnrichment. Enter domains such as 'stripe.com', or company names when the selected endpoint supports company lookup. One value per line; maximum 100 values.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255
            }
          },
          "emails": {
            "title": "Email addresses",
            "maxItems": 100,
            "type": "array",
            "description": "Use this for emailVerifier or emailEnrichment. Enter one professional email address per line, for example 'patrick@stripe.com'. Maximum 100 values.",
            "items": {
              "type": "string",
              "minLength": 3,
              "maxLength": 320
            }
          },
          "companies": {
            "title": "Company names",
            "maxItems": 100,
            "type": "array",
            "description": "Use this for domainFinder. Enter company names with at least 3 characters, such as 'Stripe' or 'Y Combinator'. Maximum 100 values.",
            "items": {
              "type": "string",
              "minLength": 3,
              "maxLength": 255
            }
          },
          "contacts": {
            "title": "Email finder contacts",
            "maxItems": 100,
            "type": "array",
            "description": "Use this for emailFinder. Each object needs a domain, company, or linkedinHandle plus firstName and lastName, fullName, or linkedinHandle. Example: {\"domain\":\"stripe.com\",\"firstName\":\"Patrick\",\"lastName\":\"Collison\"}. Maximum 100 contacts.",
            "items": {
              "type": "object",
              "properties": {
                "domain": {
                  "type": "string",
                  "title": "Company domain",
                  "description": "Hunter company domain, such as stripe.com."
                },
                "company": {
                  "type": "string",
                  "title": "Company name",
                  "description": "Hunter company name when a domain is unavailable."
                },
                "linkedinHandle": {
                  "type": "string",
                  "title": "LinkedIn handle",
                  "description": "LinkedIn profile handle accepted by Hunter."
                },
                "firstName": {
                  "type": "string",
                  "title": "First name",
                  "description": "Person's first name."
                },
                "lastName": {
                  "type": "string",
                  "title": "Last name",
                  "description": "Person's last name."
                },
                "fullName": {
                  "type": "string",
                  "title": "Full name",
                  "description": "Person's full name when first and last names are not supplied."
                },
                "maxDuration": {
                  "type": "integer",
                  "title": "Maximum finder duration",
                  "description": "Hunter Email Finder refinement duration in seconds, from 3 to 20."
                }
              },
              "additionalProperties": false
            }
          },
          "limit": {
            "title": "Results per request",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Use this to limit results for domainSearch or domainFinder. Domain Search accepts 1-100; Domain Finder accepts 1-10. Defaults to 10 for domainSearch and 5 for domainFinder.",
            "default": 10
          },
          "offset": {
            "title": "Domain Search offset",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Use this with domainSearch to skip previously returned emails for pagination. Defaults to 0 and is capped at 100000.",
            "default": 0
          },
          "type": {
            "title": "Email type filter",
            "enum": [
              "personal",
              "generic"
            ],
            "type": "string",
            "description": "Use this with domainSearch or emailCount to keep only personal or generic addresses. Leave unset for both."
          },
          "seniority": {
            "title": "Seniority filter",
            "maxLength": 40,
            "type": "string",
            "description": "Use this with domainSearch to filter by a Hunter seniority value such as 'executive', 'senior', 'middle', or 'junior'. Leave unset for all."
          },
          "department": {
            "title": "Department filter",
            "maxLength": 60,
            "type": "string",
            "description": "Use this with domainSearch to filter by a Hunter department such as 'sales', 'marketing', 'executive', or 'it'. Leave unset for all."
          },
          "decisionMaker": {
            "title": "Decision-maker filter",
            "type": "boolean",
            "description": "Use this with domainSearch to return only likely decision makers when true or only non-decision makers when false. Leave unset for all."
          },
          "aggregations": {
            "title": "Include domain aggregations",
            "type": "boolean",
            "description": "Use this with domainSearch to include department, decision-maker, personal, and generic counts in each record's payload. Defaults to false.",
            "default": false
          },
          "perfectMatch": {
            "title": "Domain Finder perfect match",
            "type": "boolean",
            "description": "Use this with domainFinder to request only high-similarity company-domain matches. Defaults to false.",
            "default": false
          },
          "includeRawData": {
            "title": "Include raw endpoint data",
            "type": "boolean",
            "description": "Use this to retain Hunter's endpoint-specific data under payload. Set false to omit payload for a smaller dataset. Defaults to true.",
            "default": true
          },
          "requestDelayMs": {
            "title": "Delay between requests (milliseconds)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Use this to pace batches and stay below Hunter rate limits. Enter 0-10000 milliseconds. Defaults to 100.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}