id: api-1forge

info:
  name: 1Forge API Test
  author: daffainfo
  severity: info
  description: Forex currency market data
  reference:
    - https://1forge.com/api
    - https://github.com/daffainfo/all-about-apikey/tree/main/1forge
  metadata:
    max-request: 1
  tags: token-spray,1forge

self-contained: true

http:
  - method: GET
    path:
      - "https://api.1forge.com/quota?api_key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"quota_used":'
          - '"quota_limit":'
          - '"quota_remaining":'
        condition: and

# digest: 490a0046304402206e75f7e411aaad09158fd836607dca69948f5b02f37e6cadcdb29530c1e8f62002207c8621d83853143346ae1a43f25a1c25dfa0320d70459315b2a95ae2b6b68eed:922c64590222798bb761d5b6d8e72950
