nuclei-templates/http/token-spray/api-exchangerateapi.yaml

32 lines
859 B
YAML

id: api-exchangerateapi
info:
name: ExchangeRate-API API Test
author: daffainfo
severity: info
description: Free currency conversion
reference:
- https://www.exchangerate-api.com/docs/overview
- https://github.com/daffainfo/all-about-apikey/tree/main/exchangerate-api
metadata:
max-request: 1
tags: token-spray,exchangerateapi
self-contained: true
http:
- method: GET
path:
- "https://v6.exchangerate-api.com/v6/{{token}}/latest/USD"
matchers:
- type: word
part: body
words:
- '"time_next_update_utc"'
- '"base_code"'
- '"conversion_rates"'
condition: and
# digest: 4b0a004830460221008e939efff91306a072bc0233e435e4ef3c76e1202963420a1b1dadc4c8befa360221009615dde4d2402a46fcfc09e44697c6445caf7e52241c96e565b9497f2701eb56:922c64590222798bb761d5b6d8e72950