Skip to content

AFN to CUP exchange rate API

Afghani to Cuban Peso · quoted 2026-10-01

0.37368

▲ +1.22% over 6M

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

1 AFN buys 0.37368 CUP as of 2026-10-01, so 1 CUP buys 2.6761 AFN. Over the last 6 months, AFN/CUP traded between 0.36916 and 0.42742, averaged 0.40525 and rose 1.22%. The API holds daily AFN/CUP 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.

AFN/CUP over 6M

AFN/CUP over 6M: show the values
PointAFN/CUP
2026-04-040.36916
2026-04-110.41083
2026-04-180.41083
2026-04-250.42742
2026-05-020.41406
2026-05-090.41406
2026-05-170.37611
2026-05-250.37929
2026-06-010.42063
2026-06-100.42453
2026-06-170.41988
2026-06-240.41741
2026-07-010.41481
2026-07-080.41399
2026-07-150.39902
2026-07-220.39761
2026-07-290.40405
2026-08-050.40436
2026-08-120.40518
2026-08-200.40482
2026-08-270.40570
2026-09-030.40283
2026-09-100.40355
2026-09-170.40845
2026-09-240.41436

High

0.42742

Low

0.36916

Average

0.40525

For developers

Get this rate via the API

One GET request returns the AFN/CUP 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=AFN&currencies=CUP"
JavaScript
const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=AFN&currencies=CUP");
const data = await response.json();
Python
import requests

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

Replace YOUR_API_KEY with the key from your dashboard.

AFN/CUP API questions

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

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

How far back does AFN/CUP historical data go?

Daily AFN/CUP 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 AFN/CUP 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.