Get Quote

https://api.nsure.network/v1/quote

get
Quote

https://api.nsure.network/v1/get_quote
Request
Response
Request
Body Parameters
product
required
integer
Insurance product id
amount
required
string
Insured ETH amount (unit: wei)
period
required
integer
Insurance period (unit: day, 30~365)
currency
required
integer
Payment asset type (0:ETH,currently only supports ETH)
Response
200: OK
{
"msg": "ok",
"code": 200,
"result": {
"list": 0.0016087671232876712,
"count": null,
"page": null
}
}
curl -X 'GET' \
'https://api.nsure.network/v1/get_quote' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"product": 1,
"amount": "1000000000000000000",
"period": 30,
"currency": 0
}'