Skip to content

AFN to PEN exchange rate API

Afghani to Sol · quoted 2026-10-01

0.05347

▲ +4.54% over 1Y

1 AFN = 0.05347 PEN · 1 PEN = 18.7017 AFN · Get this rate via the API

1 AFN buys 0.05347 PEN as of 2026-10-01, so 1 PEN buys 18.7017 AFN. Over the last year, AFN/PEN traded between 0.05037 and 0.05557, averaged 0.05226 and rose 4.54%. The API holds daily AFN/PEN 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/PEN over 1Y

AFN/PEN over 1Y: show the values
PointAFN/PEN
2025-10-010.05115
2025-10-080.05130
2025-10-150.05115
2025-10-220.05095
2025-10-290.05132
2025-11-050.05044
2025-11-120.05043
2025-11-190.05066
2025-11-260.05058
2025-12-030.05037
2025-12-110.05075
2025-12-180.05055
2025-12-250.05149
2026-01-010.05130
2026-01-080.05067
2026-01-150.05110
2026-01-220.05091
2026-01-290.05108
2026-02-050.05080
2026-02-120.05170
2026-02-190.05369
2026-02-260.05300
2026-03-050.05434
2026-03-120.05489
2026-03-190.05371
2026-03-260.05522
2026-04-020.05419
2026-04-090.05264
2026-04-160.05340
2026-04-230.05428
2026-04-300.05557
2026-05-070.05375
2026-05-150.05462
2026-05-230.05449
2026-05-300.05482
2026-06-060.05435
2026-06-150.05375
2026-06-220.05298
2026-06-290.05319
2026-07-060.05328
2026-07-130.05235
2026-07-200.05133
2026-07-270.05089
2026-08-030.05155
2026-08-100.05125
2026-08-170.05106
2026-08-250.05081
2026-09-010.05067
2026-09-080.05097
2026-09-150.05173
2026-09-220.05157
2026-09-300.05310

High

0.05557

Low

0.05037

Average

0.05226

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

AFN/PEN API questions

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

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

How far back does AFN/PEN historical data go?

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