Skip to content

PEN to AFN exchange rate API

Sol to Afghani · quoted 2026-10-01

18.7142

▼ +4.28% over 1Y

1 PEN = 18.7142 AFN · 1 AFN = 0.05344 PEN · Get this rate via the API

1 PEN buys 18.7142 AFN as of 2026-10-01, so 1 AFN buys 0.05344 PEN. Over the last year, PEN/AFN traded between 17.9950 and 19.8521, averaged 19.1529 and fell 4.28%. The API holds daily PEN/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.

PEN/AFN over 1Y

PEN/AFN over 1Y: show the values
PointPEN/AFN
2025-10-0119.5500
2025-10-0819.4921
2025-10-1519.5514
2025-10-2219.6264
2025-10-2919.4859
2025-11-0519.8256
2025-11-1219.8282
2025-11-1919.7389
2025-11-2619.7704
2025-12-0319.8521
2025-12-1119.7042
2025-12-1819.7817
2025-12-2519.4222
2026-01-0119.4913
2026-01-0819.7333
2026-01-1519.5679
2026-01-2219.6429
2026-01-2919.5790
2026-02-0519.6844
2026-02-1219.3433
2026-02-1918.6249
2026-02-2618.8692
2026-03-0518.4040
2026-03-1218.2170
2026-03-1918.6189
2026-03-2618.1105
2026-04-0218.4547
2026-04-0918.9976
2026-04-1618.7266
2026-04-2318.4220
2026-04-3017.9950
2026-05-0718.6062
2026-05-1518.3086
2026-05-2318.3511
2026-05-3018.2399
2026-06-0618.4002
2026-06-1518.6061
2026-06-2218.8730
2026-06-2918.8015
2026-07-0618.7691
2026-07-1319.1023
2026-07-2019.4801
2026-07-2719.6507
2026-08-0319.3996
2026-08-1019.5137
2026-08-1719.5842
2026-08-2519.6802
2026-09-0119.7367
2026-09-0819.6211
2026-09-1519.3303
2026-09-2219.3919
2026-09-3018.8331

High

19.8521

Low

17.9950

Average

19.1529

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

PEN/AFN API questions

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

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

How far back does PEN/AFN historical data go?

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