id: api-ipfind

info:
  name: IPFind API Test
  author: daffainfo
  severity: info
  description: Geographic location of an IP address or any domain name along with some other useful information
  reference:
    - https://ipfind.io/documentation
    - https://github.com/daffainfo/all-about-apikey/tree/main/ipfind
  metadata:
    max-request: 1
  tags: token-spray,ipfind

self-contained: true

http:
  - method: GET
    path:
      - "https://app.ipfind.io/api/iplocation?apikey={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"continent"'
          - '"country"'
          - '"zipCode"'
        condition: and
# digest: 4a0a00473045022059e59657a637c4f6fda3d0df57fc93aee431cc58b4644f727394ec6f48b77413022100f4c317588bf6fd3344bb28fe28177fe23fe470e8ca472fb19d2aa7e962396356:922c64590222798bb761d5b6d8e72950