2022-04-17 07:01:34 +00:00
|
|
|
id: api-coinmarketcap
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: CoinMarketCap API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Cryptocurrencies Prices
|
2022-04-17 07:01:34 +00:00
|
|
|
reference:
|
|
|
|
- https://coinmarketcap.com/api/documentation/v1
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/coinmarketcap
|
2022-04-17 07:01:34 +00:00
|
|
|
tags: token-spray,coinmarketcap
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2022-04-17 07:01:34 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-04-17 07:01:34 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
2022-04-17 22:34:52 +00:00
|
|
|
GET https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest HTTP/1.1
|
2022-04-17 07:01:34 +00:00
|
|
|
Host: pro-api.coinmarketcap.com
|
|
|
|
X-CMC_PRO_API_KEY: {{token}}
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"name"'
|
|
|
|
- '"symbol"'
|
|
|
|
- '"cmc_rank"'
|
|
|
|
condition: and
|