2022-07-25 06:05:11 +00:00
|
|
|
id: api-abstract-exchange-rates
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Abstract Api Exchange Rates Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
|
|
|
description: Get live and historical data from 60+ fiat and crypto currencies via a modern REST API
|
|
|
|
reference:
|
|
|
|
- https://www.abstractapi.com/api/exchange-rate-api
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-exchange-rates
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,abstractapi
|
2022-07-25 06:05:11 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-25 06:05:11 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2022-07-26 14:51:38 +00:00
|
|
|
- "https://exchange-rates.abstractapi.com/v1/live/?api_key={{token}}&base=USD"
|
2022-07-25 06:05:11 +00:00
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"base":'
|
2022-07-26 14:51:38 +00:00
|
|
|
- '"last_updated":'
|
2022-07-25 06:05:11 +00:00
|
|
|
- '"exchange_rate":'
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402201ce9c7e456983fff96fe77945768ed8bc846a5dd6e24464cea00dd45ab71c5db02203785bd67fa3224bf0be21b162f8deb8ed8c2226bb70ec8a79dd74f5e24dada4f:922c64590222798bb761d5b6d8e72950
|