id: api-scraperapi

info:
  name: ScraperAPI API Test
  author: daffainfo
  severity: info
  description: Easily build scalable web scrapers
  reference:
    - https://www.scraperapi.com/documentation/
    - https://github.com/daffainfo/all-about-apikey/tree/main/scraperapi
  metadata:
    max-request: 1
  tags: token-spray,scraperapi

self-contained: true

http:
  - method: GET
    path:
      - "http://api.scraperapi.com/account?api_key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"concurrencyLimit"'
          - '"concurrentRequests"'
          - '"requestLimit"'
        condition: and
# digest: 4a0a0047304502203253754bec749d883cdaa9a5843ffef3b0698ac08b9d1ddea0b565a7d6b70acd022100950a6c67eb19c656ec3c7743d1c8425da43e5d19771eeec7721a7a8d4d3a0990:922c64590222798bb761d5b6d8e72950