From 3f72d6e58d672a24383bd665e3b94ceb763628f5 Mon Sep 17 00:00:00 2001 From: Geeknik Labs <466878+geeknik@users.noreply.github.com> Date: Thu, 28 Oct 2021 13:37:43 -0500 Subject: [PATCH] Create binance-rest-api.yaml --- token-spray/binance-rest-api.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 token-spray/binance-rest-api.yaml diff --git a/token-spray/binance-rest-api.yaml b/token-spray/binance-rest-api.yaml new file mode 100644 index 0000000000..fcacd484de --- /dev/null +++ b/token-spray/binance-rest-api.yaml @@ -0,0 +1,25 @@ +id: binance-rest-api + +info: + name: Binance REST API Test + author: geeknik + severity: info + reference: https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md + tags: token-spray,binance + +self-contained: true +requests: + - method: GET + path: + - "https://api.binance.com/api/v3/historicalTrades" + headers: + X-MBX-APIKEY: "{{token}}" + + matchers: + - type: word + part: body + words: + - "Invalid API-key" + - "key format invalid" + condition: or + negative: true