id: api-zerobounce

info:
  name: Zerobounce API Test
  author: 0xpugal
  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: 4a0a00473045022002408e6d7d16370678ef83efdc5ee9ca1d14e4690902923fe10b2ab80afd42d902210080da82b9e097db31c3834bd60df2ce8bb575c785c99ef497da91d9a274470ded:922c64590222798bb761d5b6d8e72950