id: api-hunter

info:
  name: Hunter API Test
  author: daffainfo
  severity: info
  description: API for domain search, professional email finder, author finder and email verifier
  reference:
    - https://hunter.io/api-documentation/v2
    - https://github.com/daffainfo/all-about-apikey/tree/main/hunter
  metadata:
    max-request: 1
  tags: token-spray,hunter

self-contained: true

http:
  - method: GET
    path:
      - "https://api.hunter.io/v2/domain-search?domain=stripe.com&api_key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"domain"'
          - '"disposable"'
          - '"webmail"'
        condition: and

# digest: 4a0a004730450221008df0a72b01ce46d5d589570d82170497333f56f9af3175914b5a8c36c129881f022060f8f9a962d71e85258f02bb50c8af278e7c4959d5afb1f1c155366ffdc1e6d6:922c64590222798bb761d5b6d8e72950
