Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/stonex-fx-rates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: StoneX Payments FX Rates API
description: 'The StoneX Payments REST API enables cross-border payment processing in 140+ currencies with local currency acceptance and settlement. Uses Bearer token authentication over HTTPS with TLS 1.3. ISO standards are used throughout: ISO 4217 currency codes, ISO 3166 country codes, ISO 8601 timestamps.'
version: '1.0'
contact:
url: https://docs.payments.stonex.io/
servers:
- url: https://fx-api.payments.stonex.com
description: StoneX Payments Production
- url: https://api.sandbox.payments.stonex.com
description: StoneX Payments Sandbox (UAT)
security:
- BearerAuth: []
tags:
- name: FX Rates
description: Foreign exchange rate queries.
paths:
/rates:
get:
operationId: getFxRates
summary: Get FX Rates
description: Get indicative foreign exchange rates for supported currency pairs.
tags:
- FX Rates
parameters:
- name: sell_currency
in: query
required: true
schema:
type: string
description: Source currency (ISO 4217 code).
- name: buy_currency
in: query
required: true
schema:
type: string
description: Target currency (ISO 4217 code).
- name: amount
in: query
required: false
schema:
type: number
description: Amount to convert.
responses:
'200':
description: FX rate returned successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/FxRate'
'401':
description: Unauthorized.
'404':
description: Currency pair not supported.
components:
schemas:
FxRate:
type: object
properties:
sell_currency:
type: string
description: Source currency code.
buy_currency:
type: string
description: Destination currency code.
rate:
type: number
description: Indicative exchange rate.
timestamp:
type: string
format: date-time
description: Rate timestamp.
sell_amount:
type: number
description: Source amount (if provided).
buy_amount:
type: number
description: Equivalent destination amount.
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: JWT token obtained from the /auth/token endpoint. Valid for 10 hours.