# Ohmyfin Treasury API

**Canonical:** https://apis.io/apis/ohmyfin-ai/ohmyfin-ai-treasury-api/  
**Provider:** Ohmyfin — https://apis.io/providers/ohmyfin-ai/  
**Base URL:** https://api.ohmyfin.ai  
**Documentation:** https://ohmyfin.ai/docs/api

Ohmyfin Treasury API is one of 5 APIs that [Ohmyfin](https://apis.io/providers/ohmyfin-ai/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. Tagged areas include Treasury. The published artifact set on APIs.io includes an OpenAPI specification and 1 JSON Schema.

FX rates and currency intelligence for agentic treasury workflows. Data sources: **European Central Bank (ECB)** official reference rates — the same rates used by EU institutions, central banks, and financial markets as a daily benchmark — published for ~30 currency pairs (EUR base) every business day at ~16:00 CET; plus a **daily market feed** for currencies outside the ECB basket (Gulf, Africa, South Asia, CIS). Neither publishes on weekends or holidays. `/fx/pairs` lists the live coverage; `source` on every response says which feed a given number came from. **Designed for AI agents**: these endpoints give treasury copilots and payment automation agents inline access to indicative FX rates without leaving the Ohmyfin tool ecosystem. An agent orchestrating a cross-border payment can call `fx/rates` alongside `validate` and `swift_lookup` in a single workflow — no context-switching to Bloomberg or bank portals. **Important**: these reference rates are *indicative* — they reflect a daily snapshot, not real-time executable quotes. They are suitable for treasury planning, invoice conversion, reporting, hedging analysis, and payment scheduling. They are **not suitable for trade execution**. Available without authentication (3 requests/day per IP). Higher limits with an API key.

## Operations (3)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/v4/fx/rates` | FX rate lookup |
| GET | `/api/v4/fx/history` | FX rate history |
| GET | `/api/v4/fx/pairs` | Available currency pairs |

## Machine-readable artifacts (2)

- **OpenAPI** — https://artifacts.apis.io/ohmyfin-ai/openapi/ohmyfin-ai-treasury-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/ohmyfin-ai/json-schema/ohmyfin-ai-fx-rate-schema.json

## Other Ohmyfin APIs (4)

- [Ohmyfin Company Search API](https://apis.io/apis/ohmyfin-ai/ohmyfin-ai-companysearch-api/)
- [Ohmyfin Reference API](https://apis.io/apis/ohmyfin-ai/ohmyfin-ai-reference-api/)
- [Ohmyfin Sanctions API](https://apis.io/apis/ohmyfin-ai/ohmyfin-ai-sanctions-api/)
- [Ohmyfin Trade Check API](https://apis.io/apis/ohmyfin-ai/ohmyfin-ai-tradecheck-api/)

## Tags

Treasury

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/ohmyfin-ai` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/ohmyfin-ai/ohmyfin-ai-treasury-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/ohmyfin-ai/.
