Skip to content

AFN to CUP exchange rate API

Afghani to Cuban Peso · quoted 2026-10-01

0.37368

▲ +2.02% over YTD

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 year to date, AFN/CUP traded between 0.36255 and 0.42092, averaged 0.39232 and rose 2.02%. 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 YTD

AFN/CUP over YTD: show the values
PointAFN/CUP
2025-12-310.36628
2026-01-070.36255
2026-01-140.36360
2026-01-210.36608
2026-01-280.36363
2026-02-040.36293
2026-02-110.36972
2026-02-180.38346
2026-02-250.37882
2026-03-040.38367
2026-03-110.38071
2026-03-180.37960
2026-03-250.38088
2026-04-010.37747
2026-04-080.36752
2026-04-150.41406
2026-04-220.42063
2026-04-290.42063
2026-05-060.41734
2026-05-140.37493
2026-05-210.38190
2026-05-290.42092
2026-06-050.41787
2026-06-140.41183
2026-06-210.41021
2026-06-280.41008
2026-07-050.40354
2026-07-120.40445
2026-07-190.40185
2026-07-260.40146
2026-08-020.40280
2026-08-090.40295
2026-08-160.40543
2026-08-240.40484
2026-08-310.40524
2026-09-070.40148
2026-09-140.41126
2026-09-210.40811
2026-09-280.37846

High

0.42092

Low

0.36255

Average

0.39232

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.