id: api-ipdata

info:
  name: IP Data API Test
  author: 0xpugazh
  severity: info
  reference:
    - https://docs.ipdata.co/docs
  metadata:
    verified: true
    max-request: 1
  tags: token-spray,ipdata

self-contained: true

http:
  - method: GET
    path:
      - "https://api.ipdata.co/?api-key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"ip":'
          - '"name":'
          - '"asn":'
          - '"route":'
          - '"time_zone":'
        condition: and

# digest: 4b0a004830460221008dbcb92492cacfbe35ca123e5351a5d6861aa4bc5c6bdc55dc3f7a9affb4c455022100ceeced862a8f0bf4ed0bd80cd2a647f755a164709bddb57c22d57b6936ac00f1:922c64590222798bb761d5b6d8e72950
