32 lines
858 B
YAML
32 lines
858 B
YAML
id: api-currencyscoop
|
|
|
|
info:
|
|
name: CurrencyScoop API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Real-time and historical currency rates JSON API
|
|
reference:
|
|
- https://currencyscoop.com/api-documentation
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/currencyscoop
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,currencyscoop
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.currencyscoop.com/v1/historical?api_key={{token}}&date=2022-01-01"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"date"'
|
|
- '"base"'
|
|
- '"rates"'
|
|
condition: and
|
|
|
|
# digest: 4a0a00473045022100a251b998395360e281200f5c4083c3634c6953d4d692c2926164fa3f97bf3b390220594bfd8b5953b879fc8e4e7e9d5b243db8158227e7b745170784e0e9627aa420:922c64590222798bb761d5b6d8e72950
|