Skip to content

MXN to LYD exchange rate API

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

0.34910

▲ +39.89% over 5Y

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 last 5 years, MXN/LYD traded between 0.23352 and 0.37529, averaged 0.30056 and rose 39.89%. 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 5Y

MXN/LYD over 5Y: show the values
PointMXN/LYD
2024-08-240.24955
2024-10-070.24751
2024-11-060.23352
2024-12-060.24174
2025-01-050.23816
2025-02-040.24112
2025-03-060.23864
2025-04-060.23574
2025-05-060.27758
2025-06-070.28571
2025-07-070.28746
2025-08-060.28983
2025-09-050.29037
2025-10-060.29395
2025-11-050.29276
2025-12-050.29938
2026-01-050.30125
2026-02-040.36550
2026-03-060.35826
2026-04-050.35699
2026-05-050.36322
2026-06-060.36383
2026-07-080.36577
2026-08-070.37228
2026-09-070.37529

High

0.37529

Low

0.23352

Average

0.30056

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.