Inventory Manager API · fx

The published rate converting currency into the organization's home currency on date

GET /fx/reference-rate

The published rate converting currency into the organization's home currency on date (YYYY-MM-DD): rate units of the home currency per one unit of currency, the central bank's figure for the last day it published on or before date, at most a fortnight back.

The bank local to the home currency is asked first (the RBA for AUD, the RBNZ for NZD, the ECB for EUR, the Bank of England for GBP, the Fed for USD, the Bank of Canada for CAD, Norges Bank for NOK, Danmarks Nationalbank for DKK); then the ECB, the Fed, the Bank of England, the Bank of Canada, Norges Bank, Danmarks Nationalbank, the RBA and the RBNZ in turn, each directly when the currency is its own or as a cross through it (via). source and rateDate say whose figure and which day; the home currency itself answers rate 1 with no source. The rates are the banks' own figures, kept from 1999-12 and refreshed every few hours from Frankfurter's relay of each bank's series; the RBNZ's end 2026-10-15 (its terms forbid automated access), after which NZD converts through the ECB's cross. 409 ReferenceRateUnavailable when no bank publishes the currency (unquoted) or none did in the fortnight before date (no-rate). Read-only.

Access

Requires settings:read.

How scopes come from roles: Scopes and roles. Getting a token: Authentication and app tokens.

AI agent tool

No agent tool. The services ask it to convert a document in another currency, and each conversion is captured on the document; an agent reads the rate a document used on that document.

Connecting an agent: AI agents.

Example

US dollars into the home currency (AUD), at the Reserve Bank of Australia's figure.

curl
curl -X GET 'https://inventory.getmanifold.io/fx/reference-rate?currency=USD&date=2026-10-21' \
  -H "Authorization: Bearer $MANIFOLD_TOKEN"
JavaScript (fetch)
const response = await fetch("https://inventory.getmanifold.io/fx/reference-rate?currency=USD&date=2026-10-21", {
  method: "GET",
  headers: { Authorization: `Bearer ${process.env.MANIFOLD_TOKEN}` },
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const answer = await response.json();
Response · 200 · application/json
{
  "currency": "USD",
  "homeCurrency": "AUD",
  "date": "2026-10-21",
  "rate": 1.5384,
  "rateDate": "2026-10-21",
  "source": "rba"
}

The panel writes this call in other languages. It does not send it: Manifold's APIs do not take calls from a web page on another site, so run the call from your own code or terminal. The whole API as OpenAPI: inventory-manager.openapi.json. Base URL https://inventory.getmanifold.io.

Errors

Every refusal is a status and a JSON body whose _tag names it. A refused call changes nothing.

401

RefusalWhat it meansWhat to do
Unauthorized reason The token is missing, expired or not one Manifold issued.Get a fresh token and send the call again.
TokenAlreadyUsed tokenId A single-use app token was already spent.Mint a new token for this call.

402

RefusalWhat it meansWhat to do
SubscriptionRequired status The organization's subscription has lapsed, so writes are refused.An owner settles billing. Reads still work meanwhile.

403

RefusalWhat it meansWhat to do
TenantRequired userId The token names no organization.Choose the organization, then get a new token.
ScopeRequired required The token's roles do not grant the scope this call needs.Ask an owner or admin for a role that grants it.

409

RefusalWhat it meansWhat to do
ReferenceRateUnavailable currency, homeCurrency, date, reason No exchange rate was published for the currency near that date.Send the rate yourself, or pick another date.
MirroredFromSource source This area is fed by your source system until the organization goes live.Make the change in the source system, or go live first.

503

RefusalWhat it meansWhat to do
RequestLogUnavailable tokenId, reason The service could not record the request, so it did nothing.Try again shortly.

How refusals work everywhere: Errors.