Skip to content

PEN to LYD exchange rate API

Sol to Libyan Dinar · quoted 2026-10-02

1.8632

▲ +14.99% over YTD

1 PEN = 1.8632 LYD · 1 LYD = 0.53670 PEN · Get this rate via the API

1 PEN buys 1.8632 LYD as of 2026-10-02, so 1 LYD buys 0.53670 PEN. Over the year to date, PEN/LYD traded between 1.6204 and 1.9126, averaged 1.8523 and rose 14.99%. The API holds daily PEN/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.

PEN/LYD over YTD

PEN/LYD over YTD: show the values
PointPEN/LYD
2025-12-311.6204
2026-01-071.6204
2026-01-141.6275
2026-01-211.6353
2026-01-281.9012
2026-02-041.8860
2026-02-111.8904
2026-02-181.8903
2026-02-251.8971
2026-03-041.8748
2026-03-111.8695
2026-03-181.8697
2026-03-251.8476
2026-04-011.8600
2026-04-081.8962
2026-04-151.8540
2026-04-221.8511
2026-04-291.8084
2026-05-061.8375
2026-05-141.8591
2026-05-211.8739
2026-05-291.8638
2026-06-051.8586
2026-06-141.8822
2026-06-211.8844
2026-06-281.8820
2026-07-051.8903
2026-07-121.8904
2026-07-191.8827
2026-07-261.8874
2026-08-021.8866
2026-08-091.8866
2026-08-161.8944
2026-08-241.9126
2026-08-311.9032
2026-09-071.8977
2026-09-141.8828
2026-09-211.9021
2026-09-281.8726

High

1.9126

Low

1.6204

Average

1.8523

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

PEN/LYD API questions

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

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

How far back does PEN/LYD historical data go?

Daily PEN/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 PEN/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.