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: 490a0046304402201b8b696a2960ec01a0ceab0b1606223c37eedea80d0e2b8d0412a999227023f302205c8e2c51ff3f05b2b101b3b28b7f12aed9047ae1f3f310c02c2b1f9cdd124b30:922c64590222798bb761d5b6d8e72950
