DealHub Foreign Exchange API

The Foreign Exchange API from DealHub — 4 operation(s) for foreign exchange.

Operations 4

POST /fx/transactional/refresh Refresh transactional exchange rates #
GET /fx/transactional/latest Get latest transactional exchange rates #
GET /fx/transactional/asof Get as of transactional exchange rate for a currency pair #
POST /fx/transactional/refreshPair Refresh transactional exchange rate by currency pair #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dealhub-foreign-exchange-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 email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dealhub-foreign-exchange-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Subskribe Foreign Exchange API
servers:
- url: https://api.app.subskribe.com
security:
- ApiKeyAuth: []
tags:
- name: Foreign Exchange
paths:
  /fx/transactional/refresh:
    post:
      tags:
      - Foreign Exchange
      summary: Refresh transactional exchange rates
      description: Refresh transactional exchange rates for all supported currencies to functional currencies for the given effective date
      operationId: refreshExchangeRates
      parameters:
      - name: effectiveDate
        in: query
        required: true
        schema:
          type: integer
          format: int64
      responses:
        default:
          description: successful operation
  /fx/transactional/latest:
    get:
      tags:
      - Foreign Exchange
      summary: Get latest transactional exchange rates
      description: Get latest transactional exchange rates for all currency pairs of supported currencies to functional currencies
      operationId: getLatestExchangeRates
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TransactionalExchangeRate'
  /fx/transactional/asof:
    get:
      tags:
      - Foreign Exchange
      summary: Get as of transactional exchange rate for a currency pair
      description: Get transactional exchange rate for a currency pair as of a specific date
      operationId: getExchangeRateAsOf
      parameters:
      - name: fromCurrency
        in: query
        required: false
        schema:
          type: string
      - name: toCurrency
        in: query
        required: false
        schema:
          type: string
      - name: asOf
        in: query
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionalExchangeRate'
  /fx/transactional/refreshPair:
    post:
      tags:
      - Foreign Exchange
      summary: Refresh transactional exchange rate by currency pair
      description: Fetch and store transactional exchange rate for given currency pair and effective date from exchange rate provider
      operationId: refreshExchangeRatePair
      parameters:
      - name: fromCurrency
        in: query
        required: false
        schema:
          type: string
      - name: toCurrency
        in: query
        required: false
        schema:
          type: string
      - name: effectiveDate
        in: query
        required: true
        schema:
          type: integer
          format: int64
      responses:
        default:
          description: successful operation
components:
  schemas:
    TransactionalExchangeRate:
      type: object
      required:
      - effectiveDate
      - exchangeRate
      - exchangeSource
      - fromCurrency
      - isOverridden
      - toCurrency
      properties:
        id:
          type: string
          readOnly: true
        fromCurrency:
          type: string
          readOnly: true
        toCurrency:
          type: string
          readOnly: true
        effectiveDate:
          type: integer
          format: int64
          readOnly: true
        exchangeRate:
          type: number
          readOnly: true
        exchangeSource:
          type: string
          readOnly: true
          enum:
          - QUODD
          - SAME_CURRENCY
          - USER
          - TEST_RANDOM
        updatedBy:
          type: string
          readOnly: true
        isOverridden:
          type: boolean
          readOnly: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key