Skip to content

MXN to LYD exchange rate API

Mexican Peso to Libyan Dinar · quoted 2026-10-02

0.34910

▲ +15.82% over YTD

1 MXN = 0.34910 LYD · 1 LYD = 2.8645 MXN · Get this rate via the API

1 MXN buys 0.34910 LYD as of 2026-10-02, so 1 LYD buys 2.8645 MXN. Over the year to date, MXN/LYD traded between 0.30126 and 0.37598, averaged 0.36034 and rose 15.82%. The API holds daily MXN/LYD 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.

MXN/LYD over YTD

MXN/LYD over YTD: show the values
PointMXN/LYD
2025-12-310.30142
2026-01-070.30126
2026-01-140.30521
2026-01-210.31211
2026-01-280.36811
2026-02-040.36550
2026-02-110.36718
2026-02-180.36790
2026-02-250.36919
2026-03-040.36253
2026-03-110.36175
2026-03-180.36008
2026-03-250.35825
2026-04-010.35849
2026-04-080.36675
2026-04-150.36624
2026-04-220.36602
2026-04-290.36468
2026-05-060.36679
2026-05-140.36746
2026-05-210.36654
2026-05-290.36484
2026-06-050.36955
2026-06-140.37073
2026-06-210.36654
2026-06-280.36605
2026-07-050.36696
2026-07-120.36565
2026-07-190.36420
2026-07-260.36665
2026-08-020.36878
2026-08-090.37116
2026-08-160.37432
2026-08-240.37598
2026-08-310.37450
2026-09-070.37529
2026-09-140.37064
2026-09-210.36913
2026-09-280.36011

High

0.37598

Low

0.30126

Average

0.36034

For developers

Get this rate via the API

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

data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=MXN&currencies=LYD").json()

Replace YOUR_API_KEY with the key from your dashboard.

MXN/LYD API questions

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

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

How far back does MXN/LYD historical data go?

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