Ensuro Docs
  • Introduction
    • General Questions
    • Risk Management
  • Liquidity Providers
    • FAQ - Liquidity Providers
    • Onboarding process
  • Risk Partners
    • FAQ - Risk Partners
    • Onboarding process
    • Flow
  • Deployments
  • Audits
  • Smart Contracts
    • Architecture
    • Roles and permissions
    • Governance
    • Policy Lifecycle
    • Policies
    • Liquidity pools
    • Premiums Accounts
    • Reserves
    • Asset Management
    • Contracts
      • PolicyPool
      • EToken
      • RiskModule
        • TrustfulRiskModule
        • SignedQuoteRiskModule
        • SignedBucketRiskModule
        • FlightDelayRiskModule
        • PriceRiskModule
      • PremiumsAccount
      • AccessManager
      • IAssetManager
        • LiquidityThresholdAssetManager
        • ERC4626AssetManager
        • AAVEv3AssetManager
      • ILPWhitelist
        • LPManualWhitelist
      • Extensions
        • ERC4626CashFlowLender
        • ETokensBundleVault
        • MultiStrategyERC4626
  • Offchain APIs
    • Introduction
    • Callback notifications
    • API Reference
      • Pricing API
      • Offchain API
  • Frontend
    • Security and Monitoring
  • Legal & Compliance
    • Trust & Security in Ensuro's Ecosystem
  • Ensuro Risk Disclosures
  • Fees & Charges
  • Specific Responsibilities and Expectations of Retail Investors
  • Confirmation of Acceptance of Participation Agreement and Token Holder Terms & Conditions
  • Ensuro Terms of Service
  • Restricted Jurisdictions
  • Participation Agreement for Token Holders
  • Ensuro Anti-Money Laundering & Anti-Terrorism Financing Policy Statement
  • Privacy Policy
  • Ensuro Data Protection Policy
  • Cybersecurity Guide for Ensuro Protocol Investors
  • Tax Guide for Ensuro Protocol Investors
Powered by GitBook
On this page
  1. Offchain APIs
  2. API Reference

Offchain API

This API is used to query information about policies and other components of the protocol.

PreviousPricing APINextSecurity and Monitoring

Last updated 12 months ago

You can navigate our offchain API at these URLs:

  • Polygon Mainnet:

  • Sepolia Testnet:

https://offchain-v2.ensuro.co/api/
https://offchain-sepolia.ensuro.co/api/
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-05-17T07:01:29.171Z",
      "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-05-17T07:01:29.171Z",
      "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-05-17T07:01:29.171Z",
      "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-05-17T07:01:29.171Z",
  "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-05-17T07:01:29.171Z"
      },
      "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-05-17T07:01:29.171Z"
  },
  "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-05-17T07:01:29.171Z"
        },
        "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-05-17T07:01:29.171Z"
    },
    "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-05-17T07:01:29.171Z",
      "expiration": "2025-05-17T07:01:29.171Z",
      "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-05-17T07:01:29.171Z",
  "expiration": "2025-05-17T07:01:29.171Z",
  "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": {}
}
  • GET/etokenblockshots/
  • GET/etokenblockshots/by_day/
  • GET/etokenblockshots/by_week/
  • GET/etokenblockshots/{id}/
  • GET/etokens/
  • GET/etokens/apy_range/
  • GET/etokens/{address}/
  • GET/etokens/{address}/apr/
  • GET/etokens/{address}/apr_history/
  • GET/etokens/{address}/block_shots/
  • GET/etokens/{address}/composition_history/
  • GET/etokens/{address}/liquidity_history/
  • GET/etokens/{address}/lockup/
  • GET/etokens/{address}/lps_breakdown/
  • GET/etokens/{address}/net_deposits/
  • GET/etokens/{address}/net_deposits_history/
  • GET/etokens/{address}/pa_scr_breakdown/
  • GET/etokens/{address}/scr_breakdown/
  • GET/etokens/{address}/scr_history/
  • GET/etokens/{address}/ur_history/
  • GET/events/
  • GET/events/{id}/
  • GET/lpevents/
  • GET/lpevents/{event}/
  • GET/lps/
  • GET/lps/{address}/
  • GET/policies/
  • GET/policies/{id}/
  • GET/pools/
  • GET/pools/{address}/
  • GET/premiumsaccounts/
  • GET/premiumsaccounts/{address}/
  • GET/premiumsaccounts/{address}/active_policies/
  • GET/premiumsaccounts/{address}/active_policies_history/
  • GET/premiumsaccounts/{address}/active_premiums/
  • GET/premiumsaccounts/{address}/active_premiums_history/
  • GET/premiumsaccounts/{address}/cashflow/
  • GET/premiumsaccounts/{address}/composition_history/
  • GET/premiumsaccounts/{address}/gwp/
  • GET/premiumsaccounts/{address}/gwp_history/
  • GET/premiumsaccounts/{address}/matured_surplus/
  • GET/premiumsaccounts/{address}/matured_surplus_history/
  • GET/premiumsaccounts/{address}/rm_breakdown/
  • GET/premiumsaccounts/{address}/scr/
  • GET/premiumsaccounts/{address}/scr_history/
  • GET/premiumsaccounts/{address}/surplus/
  • GET/premiumsaccounts/{address}/surplus_history/
  • GET/premiumsaccounts/{address}/wonpremiumsinout/
  • GET/riskmodules/
  • GET/riskmodules/total_premiums/
  • GET/riskmodules/{address}/
  • GET/riskmodules/{address}/active_policies/
  • GET/riskmodules/{address}/active_premiums/
  • GET/riskmodules/{address}/cashflow/
  • GET/riskmodules/{address}/gwp/
  • GET/riskmodules/{address}/gwp_history/
  • GET/riskmodules/{address}/matured_surplus/
  • GET/riskmodules/{address}/matured_surplus_history/
  • GET/riskmodules/{address}/scr/
  • GET/riskmodules/{address}/scr_history/
  • GET/riskmodules/{address}/surplus/
  • GET/riskmodules/{address}/surplus_history/
  • GET/riskmodules/{address}/wonpremiumsinout/