Skip to content

AFN to MXN exchange rate API

Afghani to Mexican Peso · quoted 2026-10-01

0.28575

▲ +5.56% over 1Y

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 year, AFN/MXN traded between 0.25761 and 0.28575, averaged 0.27272 and rose 5.56%. 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 1Y

AFN/MXN over 1Y: show the values
PointAFN/MXN
2025-10-010.27070
2025-10-080.27537
2025-10-150.27840
2025-10-220.27715
2025-10-290.28085
2025-11-050.28057
2025-11-120.27529
2025-11-190.27615
2025-11-260.27772
2025-12-030.27487
2025-12-110.27555
2025-12-180.27188
2025-12-250.27421
2026-01-010.27485
2026-01-080.27224
2026-01-150.27203
2026-01-220.26683
2026-01-290.26363
2026-02-050.26373
2026-02-120.26626
2026-02-190.27734
2026-02-260.27279
2026-03-050.28015
2026-03-120.28350
2026-03-190.28010
2026-03-260.28505
2026-04-020.28226
2026-04-090.27243
2026-04-160.26983
2026-04-230.27325
2026-04-300.27803
2026-05-070.26879
2026-05-150.27800
2026-05-230.27600
2026-05-300.27986
2026-06-060.27349
2026-06-150.27485
2026-06-220.27273
2026-06-290.27396
2026-07-060.27500
2026-07-130.27046
2026-07-200.26526
2026-07-270.26260
2026-08-030.26443
2026-08-100.26179
2026-08-170.25981
2026-08-250.25907
2026-09-010.25761
2026-09-080.25899
2026-09-150.26437
2026-09-220.26616
2026-09-300.28198

High

0.28575

Low

0.25761

Average

0.27272

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.