AINumbers.co Margin API
The margin API from AINumbers.co — 2 operation(s) for margin.
The margin API from AINumbers.co — 2 operation(s) for margin.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/ainumbers-co:ainumbers-co-margin-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: AINumbers.co Fintech Intelligence Suite Margin API
version: 1.0.0
description: '**1255 fintech intelligence tools** covering ISO 20022, A2A payments, CFPB §1033, EU AI Act, DORA, MiCA, AML/KYC, BaaS, DLT/tokenization, ESG/climate finance, agentic payments (AP2, ACP, x402, Visa TAP, Mastercard Agent Pay), PQC migration, sanctions screening, and OpenChainGraph v0.4 computation chains.
## Transport
> **The live transport is MCP JSON-RPC 2.0 at `https://mcp.ainumbers.co/mcp` — not REST.**
>
> This OpenAPI file is a **descriptive data-room artifact** — a machine-readable index of all tools and their input/output schemas. The REST paths (`POST /v1/tools/{name}`) described here are a projection; they become functional only if the optional REST shim (Area 2 Path B) is deployed.
>
> To call tools today, connect via the official MCP client SDKs. TypeScript: `@modelcontextprotocol/sdk`. Python: `mcp`.
## Architecture
All tools run **entirely client-side** (browser JavaScript). Zero PII. Zero server calls after page load. Deterministic, reproducible outputs. Licensed CC BY 4.0.
OpenChainGraph v0.4 compute-binding nodes additionally run **server-side on the MCP Worker** and emit verifiable artifacts with `execution_hash` (WebCrypto SHA-256 over RFC 8785 canonical JSON).'
contact:
name: Post Oak Labs
url: https://postoaklabs.com
email: tim@postoaklabs.com
license:
name: CC BY 4.0
url: https://creativecommons.org/licenses/by/4.0/
servers:
- url: https://ainumbers.co
description: Static browser-based tool host (DreamHost). Tools run client-side — no REST gateway is active on this origin. See x-mcp for the live MCP endpoint.
tags:
- name: margin
paths:
/v1/tools/mobilize_margin_collateral:
post:
operationId: mobilize_margin_collateral
summary: Margin Call Collateral Mobilizer
description: 'Compute initial and variation margin requirements and identify eligible collateral to mobilize. Correctly branched by instrument: UMR/BCBS d499 for derivatives; GMRA/d349 for repo/SFT. Outputs margin call amounts, eligible collateral table, and mobilization gap/surplus.
**Tool URL:** https://ainumbers.co/tools/513-margin-call-collateral-mobilizer.html
**AP2/Policy Mandate export:** yes'
tags:
- margin
requestBody:
required: true
content:
application/json:
schema:
type: object
required: []
properties:
aana:
default: 0
description: type not evidenced by kernel source
ccp_cleared:
default: false
description: type not evidenced by kernel source
collateral_rows:
description: type not evidenced by kernel source
instrument_type:
description: type not evidenced by kernel source
mta:
default: 500000
description: type not evidenced by kernel source
on_chain:
default: false
description: type not evidenced by kernel source
portfolio_mtm:
default: 0
description: type not evidenced by kernel source
responses:
'200':
description: Successful tool execution result
content:
application/json:
schema:
type: object
properties:
collateral_detail:
type: array
items:
type: object
properties:
already_posted:
type: boolean
asset_type:
type: string
eligible_value:
type: number
hc:
type: number
ineligible:
type: boolean
mobilizable:
type: boolean
notional:
type: number
required:
- already_posted
- asset_type
- eligible_value
- hc
- ineligible
- mobilizable
- notional
additionalProperties: false
gap:
type: number
im_call:
type: number
shortfall:
type: boolean
total_mobilizable:
type: number
total_required:
type: number
vm_call:
type: number
required:
- collateral_detail
- gap
- im_call
- shortfall
- total_mobilizable
- total_required
- vm_call
additionalProperties: false
x-mcp-tool-name: mobilize_margin_collateral
x-tool-url: https://ainumbers.co/tools/513-margin-call-collateral-mobilizer.html
x-source: manifest
x-ap2-export: true
/v1/tools/compute_sa_im_margin:
post:
operationId: compute_sa_im_margin
summary: SA-IM Initial Margin Calculator
description: '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'
tags:
- margin
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
position_type:
type: string
enum:
- deriv_ir
- deriv_fx
- deriv_eq
- deriv_credit
- repo
- sbl
notional:
type: number
currency:
type: string
enum:
- USD
- EUR
- GBP
tenor:
type: string
enum:
- lt_1y
- 1_5y
- gt_5y
counterparty_threshold:
type: string
enum:
- phase1_gt8bn
- phase2_gt8bn
- below_threshold
collateral_type:
type: string
enum:
- ust
- agency_mbs
- ig_corp_bond
- gilt
- cash
canton_247:
type: boolean
required:
- position_type
- notional
- currency
- collateral_type
responses:
'200':
description: Successful tool execution result
content:
application/json:
schema:
type: object
description: Tool execution result payload
x-mcp-tool-name: compute_sa_im_margin
x-tool-url: https://ainumbers.co/tools/516-sa-im-initial-margin-calculator.html
x-source: manifest
x-ap2-export: true
x-mcp:
transport: MCP JSON-RPC 2.0 (streamable HTTP)
endpoint: https://mcp.ainumbers.co/mcp
protocol_version: '2025-11-25'
authentication: none
registry: co.ainumbers/tools (official MCP registry)
note: Connect any MCP-compatible client (Claude, ChatGPT, custom agent) directly to this endpoint. The REST paths in this file are descriptive only — they do not exist on the live server unless the REST shim is deployed.