id: api-abstract-company-enrichment

info:
  name: Abstract Api Company Enrichment Test
  author: daffainfo
  severity: info
  description: Enrich any domain or email with accurate company data, including headcount, location and industry.
  reference:
    - https://www.abstractapi.com/api/company-enrichment
    - https://github.com/daffainfo/all-about-apikey/tree/main/abstract-company-enrichment
  metadata:
    max-request: 1
  tags: token-spray,abstractapi

self-contained: true

http:
  - method: GET
    path:
      - "https://companyenrichment.abstractapi.com/v1/?api_key={{token}}&domain=airbnb.com"

    matchers:
      - type: word
        part: body
        words:
          - '"name":'
          - '"domain":'
          - '"year_founded":'
        condition: and
# digest: 4a0a00473045022062990d4fa02125d0100edb0b88ee48269dee90db18c3614f056fd35da093c37e022100d2f669984474655feb9ceb110d1503742f0264a780a4f527a6627bf003230bb4:922c64590222798bb761d5b6d8e72950