Offchain API
This API is used to query information about policies and other components of the protocol.
You can navigate our offchain API at these URLs:
Polygon Mainnet: https://offchain-v2.ensuro.co/api/
Sepolia Testnet: https://offchain-sepolia.ensuro.co/api/
e_token
block_number
timestamp_from
timestamp_to
Number of results to return per page.
The initial index from which to return the results.
GET /api/etokenblockshots/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"count": 1,
"next": "https://example.com",
"previous": "https://example.com",
"results": [
{
"id": 1,
"e_token": "https://example.com",
"block_number": 1,
"timestamp": "2025-07-01T08:58:07.773Z",
"total_supply": "text",
"scr": "text",
"token_interest_rate": "text",
"current_scale": "text"
}
]
}
e_token
block_number
timestamp_from
timestamp_to
Number of results to return per page.
The initial index from which to return the results.
GET /api/etokenblockshots/by_day/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"count": 1,
"next": "https://example.com",
"previous": "https://example.com",
"results": [
{
"id": 1,
"e_token": "https://example.com",
"block_number": 1,
"timestamp": "2025-07-01T08:58:07.773Z",
"total_supply": "text",
"scr": "text",
"token_interest_rate": "text",
"current_scale": "text"
}
]
}
e_token
block_number
timestamp_from
timestamp_to
Number of results to return per page.
The initial index from which to return the results.
GET /api/etokenblockshots/by_week/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"count": 1,
"next": "https://example.com",
"previous": "https://example.com",
"results": [
{
"id": 1,
"e_token": "https://example.com",
"block_number": 1,
"timestamp": "2025-07-01T08:58:07.773Z",
"total_supply": "text",
"scr": "text",
"token_interest_rate": "text",
"current_scale": "text"
}
]
}
A unique integer value identifying this e token block shot.
GET /api/etokenblockshots/{id}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"id": 1,
"e_token": "https://example.com",
"block_number": 1,
"timestamp": "2025-07-01T08:58:07.773Z",
"total_supply": "text",
"scr": "text",
"token_interest_rate": "text",
"current_scale": "text"
}
name
pool
symbol
GET /api/etokens/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
[
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
]
name
pool
symbol
GET /api/etokens/apy_range/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
[
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
]
A unique value identifying this e token.
GET /api/etokens/{address}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/apr/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/apr_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/block_shots/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/composition_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/liquidity_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/lockup/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/lps_breakdown/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/net_deposits/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/net_deposits_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/pa_scr_breakdown/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/scr_breakdown/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/scr_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this e token.
GET /api/etokens/{address}/ur_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text",
"pool": "https://example.com",
"description": "text",
"jr_for_pas": [
"https://example.com"
],
"sr_for_pas": [
"https://example.com"
],
"jr_etks": "text",
"sr_etks": "text",
"whitelist": {
"address": "text",
"name": "text",
"implementation": "text"
},
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
name
tx__block_number
contract_address
Tx timestamp is after
Tx timestamp is before
Number of results to return per page.
The initial index from which to return the results.
GET /api/events/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"count": 1,
"next": "https://example.com",
"previous": "https://example.com",
"results": [
{
"tx": {
"block_number": 1,
"hash": "text",
"timestamp": "2025-07-01T08:58:07.773Z"
},
"log_index": 1,
"name": "text",
"contract_address": "text",
"args": {}
}
]
}
A unique integer value identifying this event.
GET /api/events/{id}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"tx": {
"block_number": 1,
"hash": "text",
"timestamp": "2025-07-01T08:58:07.773Z"
},
"log_index": 1,
"name": "text",
"contract_address": "text",
"args": {}
}
lp
e_token
Ordering
Number of results to return per page.
The initial index from which to return the results.
GET /api/lpevents/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"count": 1,
"next": "https://example.com",
"previous": "https://example.com",
"results": [
{
"url": "https://example.com",
"lp": "https://example.com",
"event": {
"tx": {
"block_number": 1,
"hash": "text",
"timestamp": "2025-07-01T08:58:07.773Z"
},
"log_index": 1,
"name": "text"
},
"e_token": "https://example.com",
"event_type": "deposit",
"amount": "text"
}
]
}
A unique value identifying this lp event.
GET /api/lpevents/{event}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"lp": "https://example.com",
"event": {
"tx": {
"block_number": 1,
"hash": "text",
"timestamp": "2025-07-01T08:58:07.773Z"
},
"log_index": 1,
"name": "text"
},
"e_token": "https://example.com",
"event_type": "deposit",
"amount": "text"
}
Number of results to return per page.
The initial index from which to return the results.
GET /api/lps/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"count": 1,
"next": "https://example.com",
"previous": "https://example.com",
"results": [
{
"address": "text",
"net_deposits": [
{
"e_token": {
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text"
},
"net_deposits": "text"
}
]
}
]
}
A unique value identifying this lp.
GET /api/lps/{address}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"net_deposits": [
{
"e_token": {
"url": "https://example.com",
"address": "text",
"name": "text",
"symbol": "text"
},
"net_deposits": "text"
}
]
}
rm
status
ensuro_id
Quote ID
Policy start is after
Policy start is before
Policy expiration is after
Policy expiration is before
Ordering
Number of results to return per page.
The initial index from which to return the results.
GET /api/policies/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"count": 1,
"next": "https://example.com",
"previous": "https://example.com",
"results": [
{
"id": 1,
"url": "https://example.com",
"ensuro_id": "text",
"rm": "https://example.com",
"quote": "https://example.com",
"premium": "text",
"payout": "text",
"loss_prob": "text",
"jr_scr": "text",
"sr_scr": "text",
"pure_premium": "text",
"ensuro_commission": "text",
"partner_commission": "text",
"jr_coc": "text",
"sr_coc": "text",
"start": "2025-07-01T08:58:07.773Z",
"expiration": "2025-07-01T08:58:07.773Z",
"status": "pending",
"actual_payout": "text",
"events": [
{
"tx_hash": "text",
"timestamp": "text",
"event_type": "creation",
"log_index": "text"
}
],
"replaces": "https://example.com",
"replaced_by": "https://example.com"
}
]
}
A unique integer value identifying this policy.
GET /api/policies/{id}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"id": 1,
"url": "https://example.com",
"ensuro_id": "text",
"rm": "https://example.com",
"quote": "https://example.com",
"premium": "text",
"payout": "text",
"loss_prob": "text",
"jr_scr": "text",
"sr_scr": "text",
"pure_premium": "text",
"ensuro_commission": "text",
"partner_commission": "text",
"jr_coc": "text",
"sr_coc": "text",
"start": "2025-07-01T08:58:07.773Z",
"expiration": "2025-07-01T08:58:07.773Z",
"status": "pending",
"actual_payout": "text",
"events": [
{
"tx_hash": "text",
"timestamp": "text",
"event_type": "creation",
"log_index": "text"
}
],
"replaces": "https://example.com",
"replaced_by": "https://example.com"
}
GET /api/pools/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
[
{
"url": "https://example.com",
"address": "text",
"name": "text",
"currency_addr": "text",
"access_addr": "text",
"chain": {
"id": 1,
"name": "text"
}
}
]
A unique value identifying this pool.
GET /api/pools/{address}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"currency_addr": "text",
"access_addr": "text",
"chain": {
"id": 1,
"name": "text"
}
}
name
pool
GET /api/premiumsaccounts/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
[
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
]
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/active_policies/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/active_policies_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/active_premiums/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/active_premiums_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/cashflow/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/composition_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/gwp/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/gwp_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/matured_surplus/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/matured_surplus_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/rm_breakdown/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/scr/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/scr_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/surplus/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/surplus_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this premiums account.
GET /api/premiumsaccounts/{address}/wonpremiumsinout/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"address": "text",
"url": "https://example.com",
"name": "text",
"pool": "https://example.com",
"description": "text",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
pool
premiums_account
GET /api/riskmodules/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
[
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
]
pool
premiums_account
GET /api/riskmodules/total_premiums/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
No content
A unique value identifying this risk module.
GET /api/riskmodules/{address}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/active_policies/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/active_premiums/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/cashflow/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/gwp/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/gwp_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/matured_surplus/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/matured_surplus_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/scr/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/scr_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/surplus/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/surplus_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
A unique value identifying this risk module.
GET /api/riskmodules/{address}/wonpremiumsinout/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
{
"url": "https://example.com",
"address": "text",
"name": "text",
"pool": "https://example.com",
"premiums_account": "https://example.com",
"jr_etk": "https://example.com",
"sr_etk": "https://example.com",
"description": "text",
"logo": "https://example.com",
"links": "text",
"custom_data": {}
}
Last updated