Skip to content

XPF to AFN exchange rate API

CFP Franc to Afghani · quoted 2026-09-30

0.61067

▼ +5.34% over YTD

1 XPF = 0.61067 AFN · 1 AFN = 1.6376 XPF · Get this rate via the API

1 XPF buys 0.61067 AFN as of 2026-09-30, so 1 AFN buys 1.6376 XPF. Over the year to date, XPF/AFN traded between 0.60572 and 0.65660, averaged 0.62785 and fell 5.34%. The API holds daily XPF/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.

XPF/AFN over YTD

XPF/AFN over YTD: show the values
PointXPF/AFN
2025-12-310.64509
2026-01-070.64852
2026-01-140.64443
2026-01-210.64236
2026-01-280.65660
2026-02-040.65526
2026-02-110.64792
2026-02-180.62009
2026-02-250.62619
2026-03-040.61091
2026-03-110.61342
2026-03-180.60878
2026-03-250.61016
2026-04-010.61459
2026-04-080.63239
2026-04-150.63085
2026-04-220.61885
2026-04-290.61738
2026-05-060.62344
2026-05-140.62741
2026-05-210.61251
2026-05-290.61413
2026-06-050.61610
2026-06-140.62339
2026-06-210.62147
2026-06-280.61783
2026-07-050.62944
2026-07-120.62705
2026-07-190.63209
2026-07-260.62999
2026-08-020.63555
2026-08-090.63734
2026-08-160.63376
2026-08-240.64080
2026-08-310.63699
2026-09-070.64343
2026-09-140.62652
2026-09-210.62456
2026-09-280.60572

High

0.65660

Low

0.60572

Average

0.62785

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

XPF/AFN API questions

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

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

How far back does XPF/AFN historical data go?

Daily XPF/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 XPF/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.