2022-01-04 19:40:09 +00:00
|
|
|
id: api-coinapi
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: CoinAPI API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: All Currency Exchanges integrate under a single api
|
2022-01-04 19:40:09 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.coinapi.io/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/coinapi
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,coinapi
|
2022-01-04 19:40:09 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-01-04 19:40:09 +00:00
|
|
|
- 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
|