Nexus Mutual · Schema

QuoteResponse

A premium quote for a Nexus Mutual cover purchase, including premium in NXM and cover asset, and pool allocation data.

Decentralized InsuranceDeFiEthereumSmart Contract CoverCrypto InsuranceProtocol ProtectionStakingClaims

Properties

Name Type Description
quote object The quote details for the requested cover
View JSON Schema on GitHub

JSON Schema

QuoteResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.nexusmutual.io/schemas/QuoteResponse",
  "title": "QuoteResponse",
  "description": "A premium quote for a Nexus Mutual cover purchase, including premium in NXM and cover asset, and pool allocation data.",
  "type": "object",
  "properties": {
    "quote": {
      "type": "object",
      "description": "The quote details for the requested cover",
      "properties": {
        "totalCoverAmountInAsset": {
          "type": "string",
          "description": "The total cover amount in the cover asset's smallest unit (e.g. wei for ETH)"
        },
        "annualPrice": {
          "type": "string",
          "description": "The annual price as a basis-point percentage (0-10,000). Divide by 10,000 to get a decimal rate."
        },
        "premiumInNXM": {
          "type": "string",
          "description": "The premium value denominated in NXM (smallest unit). Use when paying with NXM."
        },
        "premiumInAsset": {
          "type": "string",
          "description": "The premium value denominated in the cover asset's smallest unit. Use when paying with the cover asset."
        },
        "poolAllocationRequests": {
          "type": "array",
          "description": "Selected staking pools with allocated capacity for this cover. Required for the on-chain buy-cover transaction.",
          "items": {
            "type": "object",
            "properties": {
              "poolId": {
                "type": "string",
                "description": "The staking pool id"
              },
              "coverAmountInAsset": {
                "type": "string",
                "description": "The cover amount allocated from this pool (smallest unit of cover asset)"
              },
              "skip": {
                "type": "boolean",
                "description": "If true, skip this pool allocation in the transaction",
                "default": false
              }
            },
            "required": ["poolId", "coverAmountInAsset", "skip"]
          }
        },
        "asset": {
          "type": "object",
          "description": "Information about the cover asset",
          "properties": {
            "id": {
              "type": "integer",
              "description": "The id of the cover asset"
            },
            "symbol": {
              "type": "string",
              "description": "The symbol of the cover asset (e.g. ETH, DAI)"
            },
            "decimals": {
              "type": "integer",
              "description": "The number of decimal places for the cover asset",
              "example": 18
            }
          },
          "required": ["id", "symbol", "decimals"]
        }
      },
      "required": ["totalCoverAmountInAsset", "annualPrice", "premiumInNXM", "premiumInAsset", "poolAllocationRequests", "asset"]
    }
  },
  "required": ["quote"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/QuoteResponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.