Add 4 templates token-spray
parent
3e12441f6d
commit
f4ca5c6512
|
@ -0,0 +1,23 @@
|
|||
id: api-covalent
|
||||
|
||||
info:
|
||||
name: Covalent API Test
|
||||
author: daffainfo
|
||||
severity: info
|
||||
reference:
|
||||
- https://www.covalenthq.com/docs/api/
|
||||
- https://github.com/daffainfo/all-about-apikey/blob/main/Blockchain/Covalent.md
|
||||
tags: token-spray,covalent
|
||||
|
||||
self-contained: true
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "https://api.covalenthq.com/v1/3/address/balances_v2/?&key={{token}}"
|
||||
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
negative: true
|
||||
words:
|
||||
- 'Invalid API key'
|
|
@ -0,0 +1,23 @@
|
|||
id: api-etherscan
|
||||
|
||||
info:
|
||||
name: Etherscan API Test
|
||||
author: daffainfo
|
||||
severity: info
|
||||
reference:
|
||||
- https://docs.etherscan.io/
|
||||
- https://github.com/daffainfo/all-about-apikey/blob/main/Blockchain/Etherscan.md
|
||||
tags: token-spray,etherscan
|
||||
|
||||
self-contained: true
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "https://api.etherscan.io/api?module=account&action=balance&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&tag=latest&apikey={{token}}"
|
||||
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
negative: true
|
||||
words:
|
||||
- 'Invalid API Key'
|
|
@ -0,0 +1,28 @@
|
|||
id: api-nownodes
|
||||
|
||||
info:
|
||||
name: Nownodes API Test
|
||||
author: daffainfo
|
||||
severity: info
|
||||
reference:
|
||||
- https://nownodes.io/
|
||||
- https://github.com/daffainfo/all-about-apikey/blob/main/Blockchain/Nownodes.md
|
||||
tags: token-spray,nownodes
|
||||
|
||||
self-contained: true
|
||||
requests:
|
||||
- raw:
|
||||
- |
|
||||
GET /api HTTP/1.1
|
||||
Host: bsc-blockbook.nownodes.io
|
||||
api-key: {{token}}
|
||||
Content-Type: application/json
|
||||
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"coin":'
|
||||
- '"host":'
|
||||
- '"version":'
|
||||
condition: and
|
|
@ -4,7 +4,9 @@ info:
|
|||
name: TheCatApi API Test
|
||||
author: daffainfo
|
||||
severity: info
|
||||
reference: https://docs.thecatapi.com/
|
||||
reference:
|
||||
- https://docs.thecatapi.com/
|
||||
- https://github.com/daffainfo/all-about-apikey/blob/main/Animals/TheCatApi.md
|
||||
tags: token-spray,thecatapi
|
||||
|
||||
self-contained: true
|
||||
|
@ -16,7 +18,10 @@ requests:
|
|||
x-api-key: "{{token}}"
|
||||
|
||||
matchers:
|
||||
- type: status
|
||||
negative: true
|
||||
status:
|
||||
- 401
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- 'id":'
|
||||
- 'image_id":'
|
||||
- 'sub_id":'
|
||||
condition: and
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
id: api-thedogapi
|
||||
|
||||
info:
|
||||
name: TheDogApi API Test
|
||||
author: daffainfo
|
||||
severity: info
|
||||
reference:
|
||||
- https://docs.thedogapi.com/
|
||||
- https://github.com/daffainfo/all-about-apikey/blob/main/Animals/TheDogApi.md
|
||||
tags: token-spray,thedogapi
|
||||
|
||||
self-contained: true
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "https://api.thedogapi.com/v1/votes"
|
||||
headers:
|
||||
x-api-key: "{{token}}"
|
||||
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- 'id":'
|
||||
- 'image_id":'
|
||||
- 'sub_id":'
|
||||
condition: and
|
Loading…
Reference in New Issue