29 lines
629 B
YAML
29 lines
629 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
|
||
|
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
|