Skip to content

AFN to MXN exchange rate API

Afghani to Mexican Peso · quoted 2026-10-01

0.28575

▲ +5.94% over 5Y

1 AFN = 0.28575 MXN · 1 MXN = 3.4996 AFN · Get this rate via the API

1 AFN buys 0.28575 MXN as of 2026-10-01, so 1 MXN buys 3.4996 AFN. Over the last 5 years, AFN/MXN traded between 0.25625 and 0.30809, averaged 0.27701 and rose 5.94%. The API holds daily AFN/MXN 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/MXN over 5Y

AFN/MXN over 5Y: show the values
PointAFN/MXN
2024-08-240.26974
2024-10-070.28219
2024-11-060.30809
2024-12-060.29279
2025-01-050.29240
2025-02-040.27119
2025-03-060.27956
2025-04-060.28623
2025-05-060.27849
2025-06-070.27421
2025-07-070.26824
2025-08-060.27359
2025-09-050.27301
2025-10-060.27431
2025-11-050.28057
2025-12-050.27716
2026-01-050.27430
2026-02-040.26157
2026-03-060.28242
2026-04-050.27544
2026-05-050.27469
2026-06-060.27349
2026-07-080.27468
2026-08-070.26190
2026-09-070.25625

High

0.30809

Low

0.25625

Average

0.27701

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

AFN/MXN API questions

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

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

How far back does AFN/MXN historical data go?

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