2022-06-18 03:54:41 +00:00
|
|
|
id: api-currencyscoop
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: CurrencyScoop API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Real-time and historical currency rates JSON API
|
2022-06-18 03:54:41 +00:00
|
|
|
reference:
|
|
|
|
- https://currencyscoop.com/api-documentation
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/currencyscoop
|
2022-06-18 03:54:41 +00:00
|
|
|
tags: token-spray,currencyscoop
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-06-21 05:06:26 +00:00
|
|
|
- "https://api.currencyscoop.com/v1/historical?api_key={{token}}&date=2022-01-01"
|
2022-06-18 03:54:41 +00:00
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"date"'
|
|
|
|
- '"base"'
|
|
|
|
- '"rates"'
|
|
|
|
condition: and
|