---
title: Convert Currency API
slug: convert-currency-pair-for-date
url: https://apyhub.com/apyhub/service/convert-currency-pair-for-date
provider: ApyHub
categories: [Finance]
auth: api_key
---

# Convert Currency API

Get the exchange rate for a source and target currency pair on a given date. Useful for pricing, reporting, and historical FX checks.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/data/convert/currency` | What it does Converts a currency pair for a given date by taking a source currency, a target curren… | 5 |

## About

## What it does
Currency Converter returns the exchange rate for a source and target currency pair on a given date. Send `source` and `target`, and optionally `date`; if `date` is omitted or blank, it defaults to today.

Use it when you need a point-in-time FX rate for pricing, reporting, invoicing, or historical reconciliation. The request is simple: provide the currency codes you want to compare, and get the rate back in the `data` field.

The response is intentionally minimal. `data` contains either a numeric exchange rate or a boolean value, so you can wire the result directly into downstream calculations or validation logic without parsing a larger payload.

Currency Converter fits well in finance workflows, product pricing tools, and back-office systems that need a quick lookup for a specific currency pair and date rather than a full market-data feed.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/convert-currency-pair-for-date
