29 lines
662 B
YAML
29 lines
662 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
|
|
tags: token-spray,currencyscoop
|
|
metadata:
|
|
max-request: 1
|
|
|
|
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
|