Skip to content

YER to AFN exchange rate API

Yemeni Rial to Afghani · quoted 2026-10-01

0.27192

▼ +1.14% over YTD

1 YER = 0.27192 AFN · 1 AFN = 3.6776 YER · Get this rate via the API

1 YER buys 0.27192 AFN as of 2026-10-01, so 1 AFN buys 3.6776 YER. Over the year to date, YER/AFN traded between 0.26220 and 0.27847, averaged 0.27096 and fell 1.14%. The API holds daily YER/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.

YER/AFN over YTD

YER/AFN over YTD: show the values
PointYER/AFN
2025-12-310.27505
2026-01-070.27753
2026-01-140.27714
2026-01-210.27492
2026-01-280.27611
2026-02-040.27653
2026-02-110.27246
2026-02-180.26220
2026-02-250.26544
2026-03-040.26277
2026-03-110.26434
2026-03-180.26436
2026-03-250.26362
2026-04-010.26629
2026-04-080.27220
2026-04-150.26832
2026-04-220.26401
2026-04-290.26399
2026-05-060.26613
2026-05-140.26822
2026-05-210.26341
2026-05-290.26386
2026-06-050.26577
2026-06-140.26973
2026-06-210.27062
2026-06-280.27097
2026-07-050.27592
2026-07-120.27566
2026-07-190.27746
2026-07-260.27707
2026-08-020.27617
2026-08-090.27696
2026-08-160.27558
2026-08-240.27625
2026-08-310.27636
2026-09-070.27847
2026-09-140.27188
2026-09-210.27442
2026-09-280.26832

High

0.27847

Low

0.26220

Average

0.27096

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

YER/AFN API questions

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

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

How far back does YER/AFN historical data go?

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