id: api-zerobounce

info:
  name: Zerobounce API Test
  author: 0xpugazh
  severity: info
  reference:
    - https://www.zerobounce.net/docs/email-validation-api-quickstart
  metadata:
    verified: true
    max-request: 1
  tags: token-spray,zerobounce

self-contained: true

http:
  - method: GET
    path:
      - "https://api.zerobounce.net/v2/getapiusage?api_key={{token}}&start_date=2018-01-01&end_date=2019-12-12"

    matchers:
      - type: word
        part: body
        words:
          - '"total":'
          - '"start_date":'
          - '"end_date":'
        condition: and

# digest: 4a0a0047304502206c18cf5d42e12eb3f3510a1863d447afabb0217911c4a51f69f9f65157a1d90d022100da8e42f7a75dd698c83e5318ba0fcf6fefb3ecdf023d40ce08c39eeda8f5d18e:922c64590222798bb761d5b6d8e72950
