id: api-host-io

info:
  name: host.io API Test
  author: daffainfo
  severity: info
  description: Domains Data API for Developers
  reference:
    - https://host.io/docs
    - https://github.com/daffainfo/all-about-apikey/tree/main/host-io
  metadata:
    max-request: 1
  tags: token-spray,hostio

self-contained: true

http:
  - method: GET
    path:
      - "https://host.io/api/full/facebook.com?token=${{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"domain"'
          - '"rank"'
          - '"url"'
        condition: and
# digest: 490a00463044022021836b99a5408aeccb6e6284a21d075300d3bf20f0ca9fdb80c3e8481df715960220259800ca294b14799a4afbf8a6785c7fcc2f3dfac077337ddeb6ea94fc0bafab:922c64590222798bb761d5b6d8e72950