Vextorium Fx API
The fx API from Vextorium — 4 operation(s) for fx.
The fx API from Vextorium — 4 operation(s) for fx.
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/vextorium-com:vextorium-com-fx-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: Vextorium Com Fx API
version: 1.0.0
contact:
email: bru1noia@gmail.com
url: https://vextorium.com
x-guidance: 'Start here by task: crypto prices → /v1/crypto-price, /v1/crypto-convert and /v1/portfolio-valuation; compliance / KYB → /v1/sanctions-screening, /v1/wallet-sanctions-check, /v1/lei-search and /v1/eu-vat-vies; macro → /v1/economic-calendar, /v1/fed-rates, /v1/us-treasury-yield-curve and /v1/ecb-interest-rates; US companies → /v1/company-fundamentals and /v1/company-filings. Full workflows: https://api.vextorium.com/llms.txt. Every operation is a POST with a JSON body (see each requestBody example). The first call returns HTTP 402 with the x402 v2 challenge; pay in USDC on Base, Solana, Polygon, Stellar, Optimism or Arc, or RLUSD or XRP on the XRP Ledger and retry the same request. The same 402 response also carries an MPP challenge (WWW-Authenticate: Payment, method="tempo", intent="charge") for the same price in USDC.e or OUSD on Tempo mainnet (chain 4217). Pay with any MPP client, such as the mppx SDK, and retry with Authorization: Payment; the receipt comes in the Payment-Receipt header. Only pull mode (signed transaction) is accepted, and it is broadcast only if the call succeeds. Only successful (200) responses are charged; invalid input (4xx) or an unavailable upstream source (5xx) is never charged. Machine-readable catalog with real example outputs: https://api.vextorium.com/catalog.json. MCP server: https://api.vextorium.com/mcp'
description: 'Operations tagged fx across 2 of this provider''s published API definitions: vextorium-openapi.json, vextorium-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.vextorium.com
tags:
- name: FX
paths:
/v1/us-treasury-fx-rates:
post:
operationId: v1/us_treasury_fx_rates
summary: Official USD rates for 170 currencies
description: Official US Treasury reporting rates of exchange (quarterly) for about 170 currencies against the US dollar, including many the ECB does not publish (Argentine peso, naira, bolivar...), with history per country.
tags:
- FX
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
country:
type: string
description: Country in English, e.g. Argentina (omit for all)
currency:
type: string
description: Currency name in English, e.g. Peso (optional)
required: []
example:
country: Argentina
responses:
'200':
description: JSON result (charged only on success). If the data source is down but the data we hold is still current (before the source's next update), the result also carries data_as_of and data_valid_until (ISO 8601, UTC).
content:
application/json:
schema:
type: object
properties:
country:
type:
- string
- 'null'
currency:
type:
- string
- 'null'
last:
type:
- object
- 'null'
properties:
date:
type:
- string
- 'null'
units_per_usd:
type:
- number
- 'null'
historical:
type:
- array
- 'null'
items:
type:
- 'null'
- object
properties:
date:
type:
- 'null'
- string
units_per_usd:
type:
- 'null'
- number
source:
type:
- string
- 'null'
example:
country: Argentina
currency: Peso
last:
date: '2026-06-30'
units_per_usd: 1495
historical:
- date: '2026-06-30'
units_per_usd: 1495
- date: '2026-03-31'
units_per_usd: 1420
source: U.S. Treasury, Treasury Reporting Rates of Exchange (public domain)
'402':
description: 'Payment Required: x402 v2 challenge in the PAYMENT-REQUIRED header (USDC on Base, Solana, Polygon, Stellar, Optimism or Arc, or RLUSD or XRP on the XRP Ledger); MPP challenge (tempo/charge, USDC.e or OUSD on Tempo) in the WWW-Authenticate header'
'404':
description: No data for this query (not charged)
'422':
description: Invalid input (not charged)
'503':
description: Data source unavailable and no current data held; retry later (not charged)
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
'504':
description: Data source too slow; retry later (not charged)
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.003000'
protocols:
- x402:
version: 2
networks:
- Base
- Solana
- XRPL (RLUSD)
- XRPL (XRP)
- Stellar
- Polygon
- Optimism (Circle Gateway)
- Arc (Circle Gateway)
asset: USDC
- mpp:
method: tempo
intent: charge
network: tempo:4217
asset: USDC.e or OUSD
offers:
- amount: '3000'
currency: '0x20C000000000000000000000b9537d11c60E8b50'
description: Vextorium /v1/us-treasury-fx-rates
intent: charge
method: tempo
- amount: '3000'
currency: '0x20c0000000000000000000006a37DA5C996874BE'
description: Vextorium /v1/us-treasury-fx-rates
intent: charge
method: tempo
servers:
- url: https://api.vextorium.com
/v1/eur-fx-history:
post:
operationId: v1/eur_fx_history
summary: EUR exchange rate history (ECB)
description: 'Daily ECB reference exchange rate of a currency against the euro for up to 5 years: latest, change, high, low, average and annualized volatility, with the series.'
tags:
- FX
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
currency:
type: string
description: ISO code, e.g. USD, GBP, JPY
days:
type: integer
description: 5-1825, default 90
minimum: 5
maximum: 1825
default: 90
required: []
example:
currency: USD
days: 30
responses:
'200':
description: JSON result (charged only on success). If the data source is down but the data we hold is still current (before the source's next update), the result also carries data_as_of and data_valid_until (ISO 8601, UTC).
content:
application/json:
schema:
type: object
properties:
pair:
type:
- string
- 'null'
units_per_eur:
type:
- number
- 'null'
date:
type:
- string
- 'null'
since:
type:
- string
- 'null'
change_pct:
type:
- number
- 'null'
max:
type:
- number
- 'null'
min:
type:
- number
- 'null'
avg:
type:
- number
- 'null'
annual_volatility_pct:
type:
- number
- 'null'
series:
type:
- array
- 'null'
items:
type:
- 'null'
- object
properties:
date:
type:
- 'null'
- string
value:
type:
- 'null'
- number
source:
type:
- string
- 'null'
example:
pair: EUR/USD
units_per_eur: 1.1225
date: '2026-10-02'
since: '2026-09-02'
change_pct: -3.049
max: 1.1652
min: 1.1225
avg: 1.1488
annual_volatility_pct: 4.37
series:
- date: '2026-09-02'
value: 1.1578
- date: '2026-09-03'
value: 1.1615
source: European Central Bank, reference exchange rates
'402':
description: 'Payment Required: x402 v2 challenge in the PAYMENT-REQUIRED header (USDC on Base, Solana, Polygon, Stellar, Optimism or Arc, or RLUSD or XRP on the XRP Ledger); MPP challenge (tempo/charge, USDC.e or OUSD on Tempo) in the WWW-Authenticate header'
'404':
description: No data for this query (not charged)
'422':
description: Invalid input (not charged)
'503':
description: Data source unavailable and no current data held; retry later (not charged)
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
'504':
description: Data source too slow; retry later (not charged)
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.004000'
protocols:
- x402:
version: 2
networks:
- Base
- Solana
- XRPL (RLUSD)
- XRPL (XRP)
- Stellar
- Polygon
- Optimism (Circle Gateway)
- Arc (Circle Gateway)
asset: USDC
- mpp:
method: tempo
intent: charge
network: tempo:4217
asset: USDC.e or OUSD
offers:
- amount: '4000'
currency: '0x20C000000000000000000000b9537d11c60E8b50'
description: Vextorium /v1/eur-fx-history
intent: charge
method: tempo
- amount: '4000'
currency: '0x20c0000000000000000000006a37DA5C996874BE'
description: Vextorium /v1/eur-fx-history
intent: charge
method: tempo
servers:
- url: https://api.vextorium.com
/v1/fx-rates:
post:
operationId: v1/fx_rates
summary: FX rates vs USD (ECB currencies)
description: Exchange rates against the US dollar for the ~30 currencies published by the ECB (EUR, GBP, JPY, CHF, CNY, INR, BRL, MXN, TRY, ZAR...), with date and 1-month change. Cross rates calculated from ECB reference rates.
tags:
- FX
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
currencies:
type: string
description: Comma-separated ISO codes (omit for all)
required: []
example:
currencies: EUR,JPY,BRL
responses:
'200':
description: JSON result (charged only on success). If the data source is down but the data we hold is still current (before the source's next update), the result also carries data_as_of and data_valid_until (ISO 8601, UTC).
content:
application/json:
schema:
type: object
properties:
currencies:
type:
- number
- 'null'
rates:
type:
- array
- 'null'
items:
type:
- 'null'
- object
properties:
currency:
type:
- string
- 'null'
units_per_usd:
type:
- number
- 'null'
date:
type:
- string
- 'null'
monthly_change_pct:
type:
- number
- 'null'
comparison_date:
type:
- string
- 'null'
note:
type:
- string
- 'null'
source:
type:
- string
- 'null'
example:
currencies: 3
rates:
- currency: BRL
units_per_usd: 5.08282
date: '2026-10-16'
monthly_change_pct: -1.23
- currency: EUR
units_per_usd: 0.888652
date: '2026-10-16'
monthly_change_pct: 2.52
comparison_date: '2026-09-16'
note: monthly_change_pct > 0 = the currency has depreciated against the dollar. Cross rates calculated by Vextorium from ECB reference rates.
source: 'Source: ECB statistics (euro foreign exchange reference rates)'
'402':
description: 'Payment Required: x402 v2 challenge in the PAYMENT-REQUIRED header (USDC on Base, Solana, Polygon, Stellar, Optimism or Arc, or RLUSD or XRP on the XRP Ledger); MPP challenge (tempo/charge, USDC.e or OUSD on Tempo) in the WWW-Authenticate header'
'404':
description: No data for this query (not charged)
'422':
description: Invalid input (not charged)
'503':
description: Data source unavailable and no current data held; retry later (not charged)
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
'504':
description: Data source too slow; retry later (not charged)
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.005000'
protocols:
- x402:
version: 2
networks:
- Base
- Solana
- XRPL (RLUSD)
- XRPL (XRP)
- Stellar
- Polygon
- Optimism (Circle Gateway)
- Arc (Circle Gateway)
asset: USDC
- mpp:
method: tempo
intent: charge
network: tempo:4217
asset: USDC.e or OUSD
offers:
- amount: '5000'
currency: '0x20C000000000000000000000b9537d11c60E8b50'
description: Vextorium /v1/fx-rates
intent: charge
method: tempo
- amount: '5000'
currency: '0x20c0000000000000000000006a37DA5C996874BE'
description: Vextorium /v1/fx-rates
intent: charge
method: tempo
servers:
- url: https://api.vextorium.com
/v1/real-effective-fx:
post:
operationId: v1/real_effective_fx
summary: Real effective exchange rates
description: 'Real effective exchange rate index (2010 = 100) from the World Bank: rises mean the currency gets dearer and the country loses competitiveness. Ranking with the latest annual change, or one country''s yearly series.'
tags:
- FX
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
country:
type: string
description: ISO 2-letter code (US, GB, JP, CN...); omit for ranking
months:
type: integer
description: History length in months (annual data points)
required: []
example: {}
responses:
'200':
description: JSON result (charged only on success). If the data source is down but the data we hold is still current (before the source's next update), the result also carries data_as_of and data_valid_until (ISO 8601, UTC).
content:
application/json:
schema:
type: object
properties:
countries:
type:
- number
- 'null'
ranking:
type:
- array
- 'null'
items:
type:
- 'null'
- object
properties:
country:
type:
- string
- 'null'
name:
type:
- string
- 'null'
year:
type:
- string
- 'null'
index:
type:
- number
- 'null'
annual_change_pct:
type:
- number
- 'null'
note:
type:
- string
- 'null'
source:
type:
- string
- 'null'
data_as_of:
type:
- string
- 'null'
data_valid_until:
type:
- string
- 'null'
example:
countries: 94
ranking:
- country: VEN
name: Venezuela, RB
year: '2016'
index: 741.53
annual_change_pct: 139.39
- country: GHA
name: Ghana
year: '2025'
index: 86.18
annual_change_pct: 27.08
note: Index 2010 = 100, annual data.
source: 'Source: World Bank, World Development Indicators, CC BY 4.0 (https://datacatalog.worldbank.org/public-licenses#cc-by). Selected and reformatted by Vextorium.'
'402':
description: 'Payment Required: x402 v2 challenge in the PAYMENT-REQUIRED header (USDC on Base, Solana, Polygon, Stellar, Optimism or Arc, or RLUSD or XRP on the XRP Ledger); MPP challenge (tempo/charge, USDC.e or OUSD on Tempo) in the WWW-Authenticate header'
'404':
description: No data for this query (not charged)
'422':
description: Invalid input (not charged)
'503':
description: Data source unavailable and no current data held; retry later (not charged)
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
'504':
description: Data source too slow; retry later (not charged)
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.004000'
protocols:
- x402:
version: 2
networks:
- Base
- Solana
- XRPL (RLUSD)
- XRPL (XRP)
- Stellar
- Polygon
- Optimism (Circle Gateway)
- Arc (Circle Gateway)
asset: USDC
- mpp:
method: tempo
intent: charge
network: tempo:4217
asset: USDC.e or OUSD
offers:
- amount: '4000'
currency: '0x20C000000000000000000000b9537d11c60E8b50'
description: Vextorium /v1/real-effective-fx
intent: charge
method: tempo
- amount: '4000'
currency: '0x20c0000000000000000000006a37DA5C996874BE'
description: Vextorium /v1/real-effective-fx
intent: charge
method: tempo
servers:
- url: https://api.vextorium.com
x-refined-from:
- vextorium-openapi.json
- vextorium-com-openapi.json
x-service-info:
docs:
homepage: https://vextorium.com
llms: https://api.vextorium.com/llms.txt
apiReference: https://api.vextorium.com/openapi.json
x-provenance:
method: harvested
publisher: Vextorium
source: https://vextorium.com/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)