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:

get
Authorizations
Query parameters
e_tokenstringOptional

e_token

block_numberstringOptional

block_number

timestamp_fromstringOptional

timestamp_from

timestamp_tostringOptional

timestamp_to

limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

Responses
200Success
application/json
get
GET /api/etokenblockshots/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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"
    }
  ]
}
get
Authorizations
Query parameters
e_tokenstringOptional

e_token

block_numberstringOptional

block_number

timestamp_fromstringOptional

timestamp_from

timestamp_tostringOptional

timestamp_to

limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

Responses
200Success
application/json
get
GET /api/etokenblockshots/by_day/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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"
    }
  ]
}
get
Authorizations
Query parameters
e_tokenstringOptional

e_token

block_numberstringOptional

block_number

timestamp_fromstringOptional

timestamp_from

timestamp_tostringOptional

timestamp_to

limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

Responses
200Success
application/json
get
GET /api/etokenblockshots/by_week/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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"
    }
  ]
}
get
Authorizations
Path parameters
idanyRequired

A unique integer value identifying this e token block shot.

Responses
200Success
application/json
get
GET /api/etokenblockshots/{id}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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"
}
get
Authorizations
Query parameters
namestringOptional

name

poolstringOptional

pool

symbolstringOptional

symbol

Responses
200Success
application/json
get
GET /api/etokens/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
[
  {
    "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": {}
  }
]
get
Authorizations
Query parameters
namestringOptional

name

poolstringOptional

pool

symbolstringOptional

symbol

Responses
200Success
application/json
get
GET /api/etokens/apy_range/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
[
  {
    "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": {}
  }
]
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/apr/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/apr_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/block_shots/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/composition_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/liquidity_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/lockup/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/lps_breakdown/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/net_deposits/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/net_deposits_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/pa_scr_breakdown/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/scr_breakdown/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/scr_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this e token.

Responses
200Success
application/json
get
GET /api/etokens/{address}/ur_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Query parameters
namestringOptional

name

tx__block_numberstringOptional

tx__block_number

contract_addressstringOptional

contract_address

tx__timestamp_fromstringOptional

Tx timestamp is after

tx__timestamp_tostringOptional

Tx timestamp is before

limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

Responses
200Success
application/json
get
GET /api/events/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
    }
  ]
}
get
Authorizations
Path parameters
idanyRequired

A unique integer value identifying this event.

Responses
200Success
application/json
get
GET /api/events/{id}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "tx": {
    "block_number": 1,
    "hash": "text",
    "timestamp": "2025-07-01T08:58:07.773Z"
  },
  "log_index": 1,
  "name": "text",
  "contract_address": "text",
  "args": {}
}
get
Authorizations
Query parameters
lpstringOptional

lp

e_tokenstringOptional

e_token

ostring · enumOptional

Ordering

Possible values:
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

Responses
200Success
application/json
get
GET /api/lpevents/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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"
    }
  ]
}
get
Authorizations
Path parameters
eventanyRequired

A unique value identifying this lp event.

Responses
200Success
application/json
get
GET /api/lpevents/{event}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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"
}
get
Authorizations
Query parameters
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

Responses
200Success
application/json
get
GET /api/lps/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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"
        }
      ]
    }
  ]
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this lp.

Responses
200Success
application/json
get
GET /api/lps/{address}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "address": "text",
  "net_deposits": [
    {
      "e_token": {
        "url": "https://example.com",
        "address": "text",
        "name": "text",
        "symbol": "text"
      },
      "net_deposits": "text"
    }
  ]
}
get
Authorizations
Query parameters
rmstringOptional

rm

statusstring · enumOptional

status

Possible values:
ensuro_idstringOptional

ensuro_id

quote_idstringOptional

Quote ID

start_fromstringOptional

Policy start is after

start_tostringOptional

Policy start is before

expiration_fromstringOptional

Policy expiration is after

expiration_tostringOptional

Policy expiration is before

ostring · enumOptional

Ordering

Possible values:
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

Responses
200Success
application/json
get
GET /api/policies/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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"
    }
  ]
}
get
Authorizations
Path parameters
idanyRequired

A unique integer value identifying this policy.

Responses
200Success
application/json
get
GET /api/policies/{id}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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
Authorizations
Responses
200Success
application/json
get
GET /api/pools/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
[
  {
    "url": "https://example.com",
    "address": "text",
    "name": "text",
    "currency_addr": "text",
    "access_addr": "text",
    "chain": {
      "id": 1,
      "name": "text"
    }
  }
]
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this pool.

Responses
200Success
application/json
get
GET /api/pools/{address}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "url": "https://example.com",
  "address": "text",
  "name": "text",
  "currency_addr": "text",
  "access_addr": "text",
  "chain": {
    "id": 1,
    "name": "text"
  }
}
get
Authorizations
Query parameters
namestringOptional

name

poolstringOptional

pool

Responses
200Success
application/json
get
GET /api/premiumsaccounts/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
[
  {
    "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": {}
  }
]
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/active_policies/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/active_policies_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/active_premiums/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/active_premiums_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/cashflow/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/composition_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/gwp/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/gwp_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/matured_surplus/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/matured_surplus_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/rm_breakdown/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/scr/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/scr_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/surplus/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/surplus_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this premiums account.

Responses
200Success
application/json
get
GET /api/premiumsaccounts/{address}/wonpremiumsinout/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Query parameters
poolstringOptional

pool

premiums_accountstringOptional

premiums_account

Responses
200Success
application/json
get
GET /api/riskmodules/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
[
  {
    "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": {}
  }
]
get
Authorizations
Query parameters
poolstringOptional

pool

premiums_accountstringOptional

premiums_account

Responses
200Success
get
GET /api/riskmodules/total_premiums/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success

No content

get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/active_policies/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/active_premiums/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/cashflow/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/gwp/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/gwp_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/matured_surplus/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/matured_surplus_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/scr/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/scr_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/surplus/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/surplus_history/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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": {}
}
get
Authorizations
Path parameters
addressanyRequired

A unique value identifying this risk module.

Responses
200Success
application/json
get
GET /api/riskmodules/{address}/wonpremiumsinout/ HTTP/1.1
Host: offchain-v2.ensuro.co
Authorization: Basic username:password
Accept: */*
200Success
{
  "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