circle-3Track coverage

Tracking coverage across all supported chains is easier than ever with OpenCover's API. Provide users with essential information about their protection, including:

  • Active coverage for specific products and asset combinations;

  • Cover purchase history;

  • Expiry notifications.

Endpoint

GET https://opencover.com/api/quotes?ownerAddress=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

Refer to the OpenCover API reference for the full specification, error handling, and further examples.

diagram-projectAPI referencechevron-right

Response

The response includes a list of quotes and their current status in the quoteStatus field:

  • QUOTE_AWAITING_SETTLEMENT The quote has been submitted, awaiting settlement by OpenCover.

  • COVER_ACTIVE Coverage is active and protection is live.

  • COVER_EXPIRED The coverage period has ended.

  • QUOTE_EXPIRED The quote was not settled within 24 hours, refund is available.

  • QUOTE_REFUNDED The premium payment was returned to the payer.

For more details on the possible statuses please see the Quote lifecycle page.

The example API response below shows 3 quotes in various states:

  1. Pending 60-day vfat cover for 1,900 USDC

  2. Active 30-day ExtraFi cover for 27,500 USDC

  3. Expired 30-day ExtraFi cover for 47,000 USDC

Examples

The examples below show simple implementations to answer the most common questions related to coverage purchased through a native integration.

Get multi-chain cover history

Get active USDC cover amount

Filtering on quoteStatus allows for displaying only active covers. Combine this with product and/or integrator filters to refine the data shown to users.

The next step illustrates how your users could subscribe to notifications related to their purchased cover.

Last updated