Hunter · Arazzo Workflow

Hunter Account-Guarded Domain Search

Version 1.0.0

Check remaining search quota before running a domain search.

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

Provider

hunter

Workflows

account-guarded-domain-search
Verify remaining search quota, then run a domain search only if quota remains.
Reads the account usage counters and runs a domain search only when the number of used searches is below the available limit.
2 steps inputs: apiKey, domain outputs: pattern, searchesAvailable, searchesUsed
1
checkAccount
Read the free account endpoint and branch on remaining search quota: proceed to the domain search when used is below available, otherwise end.
2
searchDomain
Run the domain search now that remaining search quota has been confirmed.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Hunter Account-Guarded Domain Search
  summary: Check remaining search quota before running a domain search.
  description: >-
    Avoids burning a paid search request when the account is out of quota. The
    flow reads the free account endpoint to compare used versus available
    searches and branches: when searches remain it runs a domain search,
    otherwise it ends without consuming quota. 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: accountApi
  url: ../openapi/hunter-account-api-openapi.yml
  type: openapi
- name: domainSearchApi
  url: ../openapi/hunter-domain-search-api-openapi.yml
  type: openapi
workflows:
- workflowId: account-guarded-domain-search
  summary: Verify remaining search quota, then run a domain search only if quota remains.
  description: >-
    Reads the account usage counters and runs a domain search only when the
    number of used searches is below the available limit.
  inputs:
    type: object
    required:
    - apiKey
    - domain
    properties:
      apiKey:
        type: string
        description: Hunter API key passed as the api_key query parameter.
      domain:
        type: string
        description: Domain name to search once quota is confirmed.
  steps:
  - stepId: checkAccount
    description: >-
      Read the free account endpoint and branch on remaining search quota:
      proceed to the domain search when used is below available, otherwise end.
    operationId: getAccount
    parameters:
    - name: api_key
      in: query
      value: $inputs.apiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      searchesUsed: $response.body#/data/requests/searches/used
      searchesAvailable: $response.body#/data/requests/searches/available
    onSuccess:
    - name: quotaRemaining
      type: goto
      stepId: searchDomain
      criteria:
      - context: $response.body
        condition: $.data.requests.searches.used < $.data.requests.searches.available
        type: jsonpath
    - name: quotaExhausted
      type: end
      criteria:
      - context: $response.body
        condition: $.data.requests.searches.used >= $.data.requests.searches.available
        type: jsonpath
  - stepId: searchDomain
    description: >-
      Run the domain search now that remaining search quota has been
      confirmed.
    operationId: domainSearch
    parameters:
    - name: api_key
      in: query
      value: $inputs.apiKey
    - name: domain
      in: query
      value: $inputs.domain
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      pattern: $response.body#/data/pattern
      organization: $response.body#/data/organization
      emails: $response.body#/data/emails
  outputs:
    searchesUsed: $steps.checkAccount.outputs.searchesUsed
    searchesAvailable: $steps.checkAccount.outputs.searchesAvailable
    pattern: $steps.searchDomain.outputs.pattern

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-account-guarded-domain-search-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.