Central Bank of Libya Exchange Rates Today & Official API

Official Central Bank of Libya rates for 20 Oct 2026: 1 USD = 6.3985 LYD, 1 EUR = 7.1862 LYD. All 20 currencies published, history back to 2015. Free JSON API for tax, audits, and compliant invoicing.

By Madhushan, Founder & Lead Developer

Libya flagCentral Bank of Libya: every LYD rate the bank publishes, as JSON. 20 currencies, archive back to 2015, latest table free on every plan. Get your API key.

About Central Bank of Libya

The Central Bank of Libya publishes daily mid, buying and selling rates for 20 currencies against the Libyan dinar — the official rate that Libyan banks, customs and the state budget use, distinct from the parallel market. The bank's archive runs back to 2015, spanning the 2021 devaluation that reset the dinar from 1.4 to 4.5 per dollar.

Quick start

You need a free API key to run these. Register in under a minute — no card required.

Get a free API key Already registered? Copy your key from the dashboard.

One request for the pair you need — USD to LYD at the official Central Bank of Libya rate:

curl "https://allratestoday.com/api/v1/central-bank/cbl/latest?source=USD&target=LYD" \
  -H "Authorization: Bearer art_live_your_key"

What comes back — a real response built from the table in force (2026-10-20):

{
  "bank": "cbl",
  "name": "Central Bank of Libya",
  "rate_date": "2026-10-20",
  "source": "USD",
  "target": "LYD",
  "rate": 6.3985,
  "rate_type": "buy",
  "derived": false,
  "method": "published",
  "age_days": 1,
  "stale": false,
  "cadence": "daily",
  "disclaimer": "Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned."
}

Or the bank's full published table:

curl "https://allratestoday.com/api/v1/central-bank/cbl/latest" \
  -H "Authorization: Bearer art_live_your_key"

The full-table response has the same envelope with every published row (first rows shown):

{
  "bank": "cbl",
  "name": "Central Bank of Libya",
  "rate_date": "2026-10-20",
  "age_days": 1,
  "stale": false,
  "cadence": "daily",
  "rates": [
    {"base":"AED","quote":"LYD","type":"buy","value":1.7421},
    {"base":"AED","quote":"LYD","type":"middle","value":1.7464},
    {"base":"AED","quote":"LYD","type":"sell","value":1.7508},
    {"base":"AUD","quote":"LYD","type":"buy","value":4.4729},
    … 56 more rows
  ],
  "disclaimer": "Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned."
}

On paid plans, any historical date or a time series:

curl "https://allratestoday.com/api/v1/central-bank/cbl/history?source=USD&target=LYD&from=2025-01-01" \
  -H "Authorization: Bearer art_live_your_key"

Latest published rates (2026-10-20)

Central Bank of Libya's newest published table, verbatim — the same rows the /latest endpoint returns at this moment. Values are LYD per 1 unit of each currency:

Download this table: Excel (.xlsx) CSV

Download history:
Choose currencies: USD
Excel (.xlsx) CSV

One row per currency per publication date. Up to one year per download. Billed as one API call per currency per month of data.

BaseQuoteTypeRate
AED LYD buy 1.7421
AED LYD middle 1.7464
AED LYD sell 1.7508
AUD LYD buy 4.4729
AUD LYD middle 4.4841
AUD LYD sell 4.4953
CAD LYD buy 4.5451
CAD LYD middle 4.5564
CAD LYD sell 4.5678
CHF LYD buy 7.7549
CHF LYD middle 7.7743
CHF LYD sell 7.7937
CNY LYD buy 0.9579
CNY LYD middle 0.9603
CNY LYD sell 0.9627
DKK LYD buy 0.9614
DKK LYD middle 0.9638
DKK LYD sell 0.9662
DZD LYD buy 0.0475
DZD LYD middle 0.0477
DZD LYD sell 0.047799999999999995
EUR LYD buy 7.1862
EUR LYD middle 7.2042
EUR LYD sell 7.2222
GBP LYD buy 8.5459
GBP LYD middle 8.5673
GBP LYD sell 8.5887
JPY LYD buy 0.0405
JPY LYD middle 0.0406
JPY LYD sell 0.0407
MAD LYD buy 0.6541
MAD LYD middle 0.6558
MAD LYD sell 0.6574
MRU LYD buy 0.16
MRU LYD middle 0.16
MRU LYD sell 0.16
NOK LYD buy 0.6814
NOK LYD middle 0.6831
NOK LYD sell 0.6848
RUB LYD buy 0.0777
RUB LYD middle 0.0777
RUB LYD sell 0.0777
SAR LYD buy 1.7055
SAR LYD middle 1.7097
SAR LYD sell 1.714
SEK LYD buy 0.6467
SEK LYD middle 0.6483
SEK LYD sell 0.6499
TND LYD buy 2.1357
TND LYD middle 2.1411
TND LYD sell 2.1464
TRY LYD buy 0.1291
TRY LYD middle 0.1294
TRY LYD sell 0.1297
USD LYD buy 6.3985
USD LYD middle 6.4146
USD LYD sell 6.4306
XOF LYD buy 0.011
XOF LYD middle 0.011
XOF LYD sell 0.011

Node.js / TypeScript client

A dedicated zero-dependency npm package wraps these endpoints — central-bank-of-libya-exchange-rate:

npm install central-bank-of-libya-exchange-rate
import { getRate } from 'central-bank-of-libya-exchange-rate';

const pair = await getRate('USD', 'LYD', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.

Full reference — installation, all four functions, response shapes, error codes: central-bank-of-libya-exchange-rate documentation.

Why use the official Central Bank of Libya rate?

A market rate is a moving target; the rate Central Bank of Libya publishes is a fixed, citable figure that stays put once printed — which is why invoicing, customs, audit evidence, and statutory accounting in Libya lean on it rather than on a live feed. Every response from this API carries the bank's own rate_date, and on days with no publication you get the most recent published table — the one compliance rules tell you to apply.

If a pair isn't in the bank's published table, the API computes it from that table (inverse or cross via LYD) and marks it "derived": true — published and computed values are never silently mixed.

Endpoints

Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once per business day, so caching a published table locally makes a small quota go far.

Frequently asked questions

Does an exchange rate API exist for Central Bank of Libya data?

Yes. This endpoint returns Central Bank of Libya's official daily figures as JSON; the newest table is free on every plan.

How often are the rates updated?

Central Bank of Libya publishes once per business day; the API ingests each new table shortly after publication (latest: 2026-10-20).

Are these really Central Bank of Libya's official figures?

Yes. Every value comes from Central Bank of Libya's own publication and is served unmodified, carrying the bank's publication date; computed pairs are explicitly flagged derived.

Central Bank of Libya rates, one API key

Latest table on every plan. History back to 2015 on paid plans. No credit card to start.

Get Free API Key Read the Docs