id: api-mac-address-lookup

info:
  name: MAC Address Lookup API Test
  author: daffainfo
  severity: info
  description: Retrieve vendor details and other information regarding a given MAC address or an OUI
  reference:
    - https://macaddress.io/api
    - https://github.com/daffainfo/all-about-apikey/tree/main/mac-address-lookup
  metadata:
    max-request: 1
  tags: token-spray,macaddresslookup

self-contained: true

http:
  - method: GET
    path:
      - "https://api.macaddress.io/v1?apiKey={{token}}&output=json&search=44:38:39:ff:ef:57"

    matchers:
      - type: word
        part: body
        words:
          - '"vendorDetails"'
          - '"companyName"'
          - '"companyAddress"'
        condition: and
# digest: 490a00463044022062e763a639d4e2e8c039e504259792a6de8589c3541ffd7ce48e2b6284e806b2022041ff0c9104f993797eac57a49db068316cd57c47446f6316429a49de6a177281:922c64590222798bb761d5b6d8e72950