Skip to content
HALOWERK

Financial Market Data

coupon bond constant spread

Bond spread calculation solves the constant spread over supplied nominal spot rates that reproduces a target price. Use it when an agent needs comparing a bond with a benchmark curve.

POST https://finanz.halowerk.com/v1/coupon-bond-constant-spread

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
periodsintegerYes
frequencyintegerYes
coupon_pctnumberYes
spot_pctarrayYes
pricenumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "periods": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "frequency": {
      "type": "integer",
      "enum": [
        1,
        2,
        4,
        12
      ]
    },
    "coupon_pct": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "spot_pct": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -5,
        "maximum": 100
      },
      "maxItems": 200,
      "minItems": 1
    },
    "price": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 10000
    }
  },
  "required": [
    "periods",
    "frequency",
    "coupon_pct",
    "spot_pct",
    "price"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "periods": 20,
  "frequency": 2,
  "coupon_pct": 4.25,
  "spot_pct": [
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147,
    4.147
  ],
  "price": 99.220075
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’