Hunter · Arazzo Workflow

Hunter Discover, Search, and Count

Version 1.0.0

Discover a target company, search its domain, and count its emails.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Contact DiscoveryEmailEmail VerificationLead GenerationProspectingSales IntelligenceArazzoWorkflows

Provider

hunter

Workflows

discover-search-count
Discover a company, search its domain, and count available emails.
Runs a discover query to find a matching company, then uses that company's domain to run a domain search and an email count.
3 steps inputs: apiKey, query outputs: domain, pattern, totalEmails
1
discoverCompanies
Discover companies matching the supplied natural language query and capture the domain of the first matched result.
2
searchDomain
Search the discovered company's domain for email addresses and the detected address pattern.
3
countEmails
Count the email addresses available for the discovered domain, broken down by type, department, and seniority.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Hunter Discover, Search, and Count
  summary: Discover a target company, search its domain, and count its emails.
  description: >-
    Builds a top-of-funnel research flow from Hunter discovery and email
    intelligence endpoints. It discovers companies matching an ideal customer
    profile query, searches the first matched company's domain for email
    addresses, and counts the emails available for that domain broken down by
    type and department. Each step spells out its request inline, including the
    api_key query parameter, so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: discoverApi
  url: ../openapi/hunter-discover-api-openapi.yml
  type: openapi
- name: domainSearchApi
  url: ../openapi/hunter-domain-search-api-openapi.yml
  type: openapi
- name: emailCountApi
  url: ../openapi/hunter-email-count-api-openapi.yml
  type: openapi
workflows:
- workflowId: discover-search-count
  summary: Discover a company, search its domain, and count available emails.
  description: >-
    Runs a discover query to find a matching company, then uses that company's
    domain to run a domain search and an email count.
  inputs:
    type: object
    required:
    - apiKey
    - query
    properties:
      apiKey:
        type: string
        description: Hunter API key passed as the api_key query parameter.
      query:
        type: string
        description: Natural language query describing the companies to discover.
  steps:
  - stepId: discoverCompanies
    description: >-
      Discover companies matching the supplied natural language query and
      capture the domain of the first matched result.
    operationId: discover
    parameters:
    - name: api_key
      in: query
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        query: $inputs.query
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstDomain: $response.body#/data/results/0/domain
      results: $response.body#/data/results
  - stepId: searchDomain
    description: >-
      Search the discovered company's domain for email addresses and the
      detected address pattern.
    operationId: domainSearch
    parameters:
    - name: api_key
      in: query
      value: $inputs.apiKey
    - name: domain
      in: query
      value: $steps.discoverCompanies.outputs.firstDomain
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      pattern: $response.body#/data/pattern
      organization: $response.body#/data/organization
  - stepId: countEmails
    description: >-
      Count the email addresses available for the discovered domain, broken
      down by type, department, and seniority.
    operationId: emailCount
    parameters:
    - name: api_key
      in: query
      value: $inputs.apiKey
    - name: domain
      in: query
      value: $steps.discoverCompanies.outputs.firstDomain
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      total: $response.body#/data/total
  outputs:
    domain: $steps.discoverCompanies.outputs.firstDomain
    pattern: $steps.searchDomain.outputs.pattern
    totalEmails: $steps.countEmails.outputs.total

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/hunter-discover-search-count-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.