---
title: "SA-IM Initial Margin Calculator"
method: POST
path: "/v1/tools/compute_sa_im_margin"
tags: ["margin", "collateral", "umr", "gmra", "sftr", "derivatives", "repo", "canton", "sa-im"]
---

# SA-IM Initial Margin Calculator

`POST /v1/tools/compute_sa_im_margin`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/compute_sa_im_margin`
- Auth: none declared

Compute Standardised Approach Initial Margin (SA-IM, BCBS-IOSCO d499) for non-centrally-cleared derivatives via the regulatory tenor add-on schedule, with UMR phase thresholds and the €50M IM / €500k MTA tests; GMRA haircut framework for repo/SFT. Variation margin and Canton 24/7 collateral mobilization.

**Tool URL:** https://ainumbers.co/tools/516-sa-im-initial-margin-calculator.html
**AP2/Policy Mandate export:** yes

## Request body

- object
  - `position_type` 'deriv_ir' | 'deriv_fx' | 'deriv_eq' | 'deriv_credit' | 'repo' | 'sbl', required
  - `notional` number, required
  - `currency` 'USD' | 'EUR' | 'GBP', required
  - `tenor` 'lt_1y' | '1_5y' | 'gt_5y'
  - `counterparty_threshold` 'phase1_gt8bn' | 'phase2_gt8bn' | 'below_threshold'
  - `collateral_type` 'ust' | 'agency_mbs' | 'ig_corp_bond' | 'gilt' | 'cash', required
  - `canton_247` boolean

## Response `200`

Successful tool execution result

- object: Tool execution result payload

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
