AINumbers.co Currency Basket API
The currency-basket API from AINumbers.co — 1 operation(s) for currency-basket.
The currency-basket API from AINumbers.co — 1 operation(s) for currency-basket.
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-currency-basket-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 Currency Basket 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: currency-basket
paths:
/v1/tools/currency_basket_index:
post:
operationId: currency_basket_index
summary: Currency Basket Index
description: 'Values a currency basket by the fixed-amount method, where currency amounts are fixed at a rebase date and the live weights float daily with FX. Two modes: valuation from amounts already fixed, returning the index value, each component''s live weight and its drift from any stated target; and derivation, which turns target weights, a rebase-date index value and the rebase-date FX rates into the fixed amounts those weights imply, so amounts are an output of the rebase rather than an input to it. Target weights that do not sum to one are refused rather than silently normalized. Integer-quantity baskets are supported through an amount scale. Per-pair rates may cite the upstream oracle prints they came from. Every FX rate, fixed amount and target weight is supplied and asserted, never fetched (zero-egress); this computes what the stated method yields on the stated numbers, never that those numbers are the correct rates for the stated date.
**Tool URL:** https://ainumbers.co/chaingraph/art-561-currency-basket-index.html'
tags:
- currency-basket
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
mode:
type: string
basket_id:
type: string
as_of_date:
type: string
components:
type: array
index_value_at_rebase:
type: number
amount_scale:
type: number
prior_index_value:
type: number
parent_print_hashes:
type: array
responses:
'200':
description: Successful tool execution result
content:
application/json:
schema:
type: object
properties:
basket_id:
type:
- string
- 'null'
as_of_date:
type:
- string
- 'null'
mode:
type:
- string
- 'null'
structural_error:
type:
- string
- 'null'
index_value:
type:
- number
- 'null'
components:
type: array
items:
type: object
properties:
currency:
type:
- string
- 'null'
fixed_amount:
type:
- number
- 'null'
usd_rate:
type:
- number
- 'null'
usd_contribution:
type:
- number
- 'null'
live_weight_pct:
type:
- number
- 'null'
target_weight_pct:
type:
- number
- 'null'
drift_from_target_pct:
type:
- number
- 'null'
component_count:
type: number
dominant_contributor:
type:
- string
- 'null'
dominant_contribution_pct:
type:
- number
- 'null'
max_drift_from_target_pct:
type:
- number
- 'null'
basket_shift_pct:
type:
- number
- 'null'
target_weight_sum:
type:
- number
- 'null'
amount_scale:
type: number
parent_print_hashes:
type: array
rejected_inputs:
type: array
not_proven:
type: array
fence:
type: string
x-mcp-tool-name: currency_basket_index
x-tool-url: https://ainumbers.co/chaingraph/art-561-currency-basket-index.html
x-source: manifest
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.