Skip to content

AFN to XPF exchange rate API

Afghani to CFP Franc · quoted 2026-11-21

1.6929

▲ +2.76% over 30D

1 AFN = 1.6929 XPF · 1 XPF = 0.59071 AFN · Get this rate via the API

1 AFN buys 1.6929 XPF as of 2026-11-21, so 1 XPF buys 0.59071 AFN. Over the last 30 days, AFN/XPF traded between 1.6350 and 1.6929, averaged 1.6573 and rose 2.76%. The API holds daily AFN/XPF 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/XPF over 30D

Daily observations · gaps mean no published rate

Download CSV
AFN/XPF over 30D: show the values
Rates per 1 AFN. Missing rates are shown as a dash.
DateXPF
2026-10-221.647398
2026-10-231.641049
2026-10-241.670011
2026-10-251.637163
2026-10-261.64958
2026-10-271.643142
2026-10-281.660506
2026-10-291.652362
2026-10-301.654694
2026-10-311.646057
2026-11-011.641178
2026-11-021.6527
2026-11-031.640132
2026-11-041.635047
2026-11-051.658812
2026-11-061.664721
2026-11-071.685421
2026-11-081.637925
2026-11-091.642404
2026-11-101.650798
2026-11-111.639135
2026-11-121.652263
2026-11-131.686086
2026-11-141.665455
2026-11-151.650291
2026-11-161.659664
2026-11-171.666315
2026-11-181.668844
2026-11-191.692442
2026-11-201.691385
2026-11-211.692877

High

1.6929

Low

1.6350

Average

1.6573

Statistics use all 31 daily observations in the selected period.

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

AFN/XPF API questions

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

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

How far back does AFN/XPF historical data go?

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