Skip to content

AFN to MXN exchange rate API

Afghani to Mexican Peso · quoted 2026-10-01

0.28575

▲ +4.26% over YTD

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 year to date, AFN/MXN traded between 0.25625 and 0.28575, averaged 0.26993 and rose 4.26%. 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 YTD

AFN/MXN over YTD: show the values
PointAFN/MXN
2025-12-310.27408
2026-01-070.27178
2026-01-140.26960
2026-01-210.26660
2026-01-280.26092
2026-02-040.26157
2026-02-110.26458
2026-02-180.27380
2026-02-250.27092
2026-03-040.28061
2026-03-110.27986
2026-03-180.28117
2026-03-250.28245
2026-04-010.28096
2026-04-080.26793
2026-04-150.27040
2026-04-220.27491
2026-04-290.27617
2026-05-060.27183
2026-05-140.26872
2026-05-210.27605
2026-05-290.27537
2026-06-050.27231
2026-06-140.26710
2026-06-210.26863
2026-06-280.27089
2026-07-050.26607
2026-07-120.26710
2026-07-190.26588
2026-07-260.26452
2026-08-020.26341
2026-08-090.26057
2026-08-160.26029
2026-08-240.25849
2026-08-310.26008
2026-09-070.25625
2026-09-140.26490
2026-09-210.26478
2026-09-280.27984

High

0.28575

Low

0.25625

Average

0.26993

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.