Skip to main content
GET
/
guarantees
/
coverages
Get coverages data
curl --request GET \
  --url https://sandbox-api.anzi.finance/v1/guarantees/coverages \
  --header 'X-API-KEY: <api-key>'
{
"coverage": 50000,
"premium": 1750,
"premiumPercentage": 3.5
}
This endpoint is used to calculate the coverage and premium values that Anzi will provide for your loan. It is particularly useful when your premium conditions are variable (for example, within a range such as 0.5%–7.5%) or when the premium percentage depends on the loan term (e.g., 0.5% at 30 days and 1% at 60 days).

Authorizations

X-API-KEY
string
header
required

Query Parameters

license
string
required

License UID (string)

loanAmount
number
required

Loan principal amount. Must be within the license's allowed range.

premiumPercentage
number

Optional. This field is required only when both license.isVariablePremium and license.isPremiumDefinedByClient are set to true. In this case, the premium must be defined by you as a percentage, and it must fall within the range specified by license.minimumPremium and license.maximumPremium.

loanTerms
object

Optional. Required when the license.isVariablePremium is true and license.isPremiumDefinedByClient is false. Provides date context for premium calculation.

Response

Coverage and premium

coverage
number

Calculated coverage amount. For SURETY licenses, this is loanAmount * coveragePercentage; for FIRST_LOSS licenses, it equals the loanAmount.

premium
number

Calculated premium value for the provided loan amount.

premiumPercentage
number

Percentage used to compute the premium. Derived from the license rate table or provided by the client when allowed.