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