Skip to content

LYD to MAD exchange rate API

Libyan Dinar to Moroccan Dirham · quoted 2026-11-21

1.5413

▲ +0.84% over 30D

1 LYD = 1.5413 MAD · 1 MAD = 0.64878 LYD · Get this rate via the API

1 LYD buys 1.5413 MAD as of 2026-11-21, so 1 MAD buys 0.64878 LYD. Over the last 30 days, LYD/MAD traded between 1.5116 and 1.5458, averaged 1.5322 and rose 0.84%. 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 30D

Daily observations · gaps mean no published rate

Download CSV
LYD/MAD over 30D: show the values
Rates per 1 LYD. Missing rates are shown as a dash.
DateMAD
2026-10-221.528494
2026-10-231.534891
2026-10-241.534501
2026-10-251.533761
2026-10-261.540095
2026-10-271.533969
2026-10-281.531822
2026-10-291.532189
2026-10-301.528979
2026-10-311.530525
2026-11-011.532319
2026-11-021.5267
2026-11-031.532153
2026-11-041.529751
2026-11-051.523059
2026-11-061.523
2026-11-071.511624
2026-11-081.518587
2026-11-091.524459
2026-11-101.524908
2026-11-111.523142
2026-11-121.520454
2026-11-131.533257
2026-11-141.545234
2026-11-151.545843
2026-11-161.543383
2026-11-171.543236
2026-11-181.543453
2026-11-191.542784
2026-11-201.539347
2026-11-211.54135

High

1.5458

Low

1.5116

Average

1.5322

Statistics use all 31 daily observations in the selected period.

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.