Skip to content

CUP to AFN exchange rate API

Cuban Peso to Afghani · quoted 2026-10-01

2.6761

▼ +1.98% over YTD

1 CUP = 2.6761 AFN · 1 AFN = 0.37368 CUP · Get this rate via the API

1 CUP buys 2.6761 AFN as of 2026-10-01, so 1 AFN buys 0.37368 CUP. Over the year to date, CUP/AFN traded between 2.3757 and 2.7582, averaged 2.5551 and fell 1.98%. The API holds daily CUP/AFN rates from 2024-08-24 — 2 years of history — so any past day, or a whole series, is one request away.

Converting an invoice? Convert an amount on a specific date.

CUP/AFN over YTD

CUP/AFN over YTD: show the values
PointCUP/AFN
2025-12-312.7302
2026-01-072.7582
2026-01-142.7503
2026-01-212.7316
2026-01-282.7501
2026-02-042.7553
2026-02-112.7048
2026-02-182.6078
2026-02-252.6398
2026-03-042.6064
2026-03-112.6267
2026-03-182.6344
2026-03-252.6255
2026-04-012.6492
2026-04-082.7210
2026-04-152.4151
2026-04-222.3774
2026-04-292.3774
2026-05-062.3962
2026-05-142.6671
2026-05-212.6185
2026-05-292.3757
2026-06-052.3931
2026-06-142.4282
2026-06-212.4378
2026-06-282.4386
2026-07-052.4781
2026-07-122.4725
2026-07-192.4885
2026-07-262.4909
2026-08-022.4826
2026-08-092.4817
2026-08-162.4665
2026-08-242.4701
2026-08-312.4676
2026-09-072.4908
2026-09-142.4316
2026-09-212.4503
2026-09-282.6423

High

2.7582

Low

2.3757

Average

2.5551

For developers

Get this rate via the API

One GET request returns the CUP/AFN rate as JSON. The free plan includes 1,000 requests a month, with no credit card required.

cURL
curl -X GET "https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=CUP&currencies=AFN"
JavaScript
const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=CUP&currencies=AFN");
const data = await response.json();
Python
import requests

data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=CUP&currencies=AFN").json()

Replace YOUR_API_KEY with the key from your dashboard.

CUP/AFN API questions

How do I get the CUP/AFN exchange rate from an API?

Send one GET request to https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=CUP&currencies=AFN, replacing YOUR_API_KEY with your own key. The JSON response carries the date and the latest CUP/AFN rate in rates.AFN.

How far back does CUP/AFN historical data go?

Daily CUP/AFN rates are available from 2024-08-24. Request one day with the /historical endpoint and a date, or a range of days with /timeseries.

Is there a free CUP/AFN exchange rate API?

Yes. The free plan includes 1,000 requests a month, with no credit card required; paid plans raise the limit.

Put these rates in your application

One endpoint, JSON responses, 160+ currencies and history back to 1999. Start on the free plan.