34 lines
858 B
YAML
34 lines
858 B
YAML
id: api-coinapi
|
|
|
|
info:
|
|
name: CoinAPI API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: All Currency Exchanges integrate under a single api
|
|
reference:
|
|
- https://docs.coinapi.io/
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/coinapi
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,coinapi
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET https://rest.coinapi.io/v1/exchanges HTTP/1.1
|
|
Host: rest.coinapi.io
|
|
X-CoinAPI-Key: {{token}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"exchange_id":'
|
|
- '"website":'
|
|
- '"name":'
|
|
condition: and
|
|
|
|
# digest: 4b0a00483046022100a574100efec77cf185d51fc83943f788217c9e1ad8e7a40c0180da3559fb1bb9022100fc3450c1ba3a0494de47b64ec3f0d6da00d95a293b5d7a8f1f804c6668a9d31a:922c64590222798bb761d5b6d8e72950
|