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: 4b0a00483046022100dc9b30d72ae2ac0d6cb24c23738bb807d394e1f5fc63c1323a2a97c1f9d5ad27022100864f401dd88ea6fddf74e86642955f847f80aee0498c8686871773f6251bbf3d:922c64590222798bb761d5b6d8e72950