id: api-bravenewcoin

info:
  name: Brave New Coin API Test
  author: daffainfo
  severity: info
  description: Real-time and historic crypto data from more than 200+ exchanges
  reference:
    - https://bravenewcoin.com/developers
    - https://github.com/daffainfo/all-about-apikey/tree/main/brave-new-coin
  metadata:
    max-request: 1
  tags: token-spray,bravenewcoin

self-contained: true

http:
  - raw:
      - |
        GET https://bravenewcoin.p.rapidapi.com/market HTTP/1.1
        X-Rapidapi-Host: bravenewcoin.p.rapidapi.com
        X-Rapidapi-Key: {{token}}
        Host: bravenewcoin.p.rapidapi.com

    matchers:
      - type: word
        part: body
        words:
          - '"content":'
          - '"id":'
          - '"baseAssetId":'
          - '"quoteAssetId":'
        condition: and
# digest: 4a0a0047304502206cfd5fb45a5b3171fbd943c9f3ff6665f8397199cd86e2762dddac4d82c0cb57022100c7c3dc28fc0f9acd666dcc342a44f55bb2e52c5749addaca9e0ad6481fb69b22:922c64590222798bb761d5b6d8e72950