Skip to content

XPF to AFN exchange rate API

CFP Franc to Afghani · quoted 2026-09-30

0.61067

▼ +4.13% over 30D

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 last 30 days, XPF/AFN traded between 0.60572 and 0.64343, averaged 0.62777 and fell 4.13%. 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 30D

XPF/AFN over 30D: show the values
PointXPF/AFN
2026-08-310.63699
2026-09-010.64343
2026-09-020.63926
2026-09-030.64023
2026-09-040.64319
2026-09-050.63984
2026-09-060.62920
2026-09-070.64343
2026-09-080.63888
2026-09-090.63640
2026-09-100.64167
2026-09-110.63738
2026-09-120.63953
2026-09-130.62687
2026-09-140.62652
2026-09-150.62803
2026-09-160.62791
2026-09-170.62367
2026-09-180.62682
2026-09-190.61273
2026-09-200.62338
2026-09-210.62456
2026-09-220.62488
2026-09-230.62236
2026-09-240.61030
2026-09-250.61014
2026-09-260.61654
2026-09-270.61989
2026-09-280.60572
2026-09-300.61057

High

0.64343

Low

0.60572

Average

0.62777

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.