Skip to content

LYD to MAD exchange rate API

Libyan Dinar to Moroccan Dirham · quoted 2026-10-02

1.5322

▼ +8.93% over 1Y

1 LYD = 1.5322 MAD · 1 MAD = 0.65266 LYD · Get this rate via the API

1 LYD buys 1.5322 MAD as of 2026-10-02, so 1 MAD buys 0.65266 LYD. Over the last year, LYD/MAD traded between 1.4418 and 1.7078, averaged 1.5349 and fell 8.93%. The API holds daily LYD/MAD 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.

LYD/MAD over 1Y

LYD/MAD over 1Y: show the values
PointLYD/MAD
2025-10-021.6824
2025-10-091.6834
2025-10-161.6901
2025-10-231.7048
2025-10-301.7034
2025-11-061.7044
2025-11-131.6979
2025-11-201.7078
2025-11-271.6952
2025-12-041.6947
2025-12-121.6952
2025-12-191.6929
2025-12-261.6848
2026-01-021.6862
2026-01-091.7032
2026-01-161.6982
2026-01-231.4595
2026-01-301.4463
2026-02-061.4492
2026-02-131.4485
2026-02-201.4482
2026-02-271.4497
2026-03-061.4626
2026-03-131.4716
2026-03-201.4711
2026-03-271.4658
2026-04-031.4749
2026-04-101.4632
2026-04-171.4614
2026-04-241.4594
2026-05-011.4530
2026-05-081.4418
2026-05-161.4606
2026-05-241.4512
2026-05-311.4468
2026-06-091.4542
2026-06-161.4510
2026-06-231.4576
2026-06-301.4642
2026-07-071.4624
2026-07-141.4523
2026-07-211.4629
2026-07-281.4664
2026-08-041.4618
2026-08-111.4598
2026-08-181.4634
2026-08-261.4631
2026-09-021.4717
2026-09-091.4826
2026-09-161.4943
2026-09-231.5031

High

1.7078

Low

1.4418

Average

1.5349

For developers

Get this rate via the API

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

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

Replace YOUR_API_KEY with the key from your dashboard.

LYD/MAD API questions

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

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

How far back does LYD/MAD historical data go?

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