العربية

Syrian Pound Exchange Rates API

A free, open JSON API. All prices are in new Syrian pounds; multiply by 100 to get old pounds.

PriceFree, no API key
Rate limit60 requests/minute per IP
FormatJSON, CORS enabled
UnitNew pounds (× 100 = old)

Base URL

Every endpoint below is a GET request under this address. The city parameter is optional and defaults to damascus.

https://liraty.com/api/v1

GET /latest

Latest prices for the requested city: the US dollar and about 22 currencies (buy, sell, daily change and its percentage, and a small spark series), plus the official rate, the dollar rate in every city and fuel prices.

curl "https://liraty.com/api/v1/latest?city=damascus"
{
  "updated_at": "2026-11-15T10:30:00+03:00",
  "unit": "new",
  "redenomination_factor": 100,
  "city": "damascus",
  "official": { "code": "USD", "buy": 121.5, "sell": 122.5 },
  "usd_by_city": [
    { "city": "damascus", "buy": 148.75, "sell": 149.5, "change": 0.5, "change_pct": 0.34 }
  ],
  "rates": [
    {
      "code": "USD", "name_ar": "دولار أمريكي", "name_en": "US Dollar",
      "flag_url": "https://liraty.com/assets/flags/us.png",
      "buy": 148.75, "sell": 149.5, "change": 0.5, "change_pct": 0.34,
      "spark": [147.5, 148, 148.25, 149, 149.5]
    }
  ],
  "fuel": [
    { "code": "benzine-90", "name_en": "Gasoline 90", "unit": "litre", "price": 185, "usd": 1.24 }
  ]
}

GET /currencies

Supported currency codes with their Arabic and English names and flag image URLs.

curl "https://liraty.com/api/v1/currencies"
{
  "currencies": [
    { "code": "USD", "name_ar": "دولار أمريكي", "name_en": "US Dollar", "flag_url": "https://liraty.com/assets/flags/us.png" },
    { "code": "EUR", "name_ar": "يورو", "name_en": "Euro", "flag_url": "https://liraty.com/assets/flags/eu.png" }
  ]
}

GET /cities

The market cities we track: damascus, aleppo, idlib, hasakah. Use the slug value in the city parameter.

curl "https://liraty.com/api/v1/cities"
{
  "cities": [
    { "slug": "damascus", "name_ar": "دمشق", "name_en": "Damascus" },
    { "slug": "aleppo", "name_ar": "حلب", "name_en": "Aleppo" }
  ]
}

GET /history

Price history of a currency in a city. Ranges: 1d, 7d, 30d, 90d, 1y. Each point has a time t, buy and sell. code accepts any supported currency or the gold codes G24, G21, G18, GOZ, GLR.

curl "https://liraty.com/api/v1/history?code=USD&city=damascus&range=7d"
{
  "code": "USD",
  "city": "damascus",
  "range": "7d",
  "points": [
    { "t": "2026-11-14T10:00:00+03:00", "buy": 148.25, "sell": 149 },
    { "t": "2026-11-15T10:00:00+03:00", "buy": 148.75, "sell": 149.5 }
  ]
}

GET /gold

Gold prices in the city: gram 24K, 21K and 18K, the ounce and the gold lira, plus the world ounce price in US dollars ounce_usd.

curl "https://liraty.com/api/v1/gold?city=damascus"
{
  "updated_at": "2026-11-15T10:30:00+03:00",
  "city": "damascus",
  "ounce_usd": 2650.4,
  "items": [
    { "key": "g21", "code": "G21", "name_ar": "غرام ذهب عيار 21", "name_en": "Gold gram 21K", "buy": 11150, "sell": 11300, "change": 50, "change_pct": 0.44 }
  ]
}

GET /energy

Official energy prices: gasoline 90 and 95 and diesel (per litre), the gas cylinder (10 kg) and electricity tiers (per kWh). Fields: code, group, name_ar, name_en, price, price_old, usd, unit, updated_at.

curl "https://liraty.com/api/v1/energy"
{
  "energy": [
    { "code": "benzine-90", "group": "fuel", "name_ar": "بنزين أوكتان 90", "name_en": "Gasoline 90", "price": 185, "price_old": 18500, "usd": 1.24, "unit": "litre", "updated_at": "2026-11-01T09:00:00+03:00" },
    { "code": "diesel", "group": "fuel", "name_ar": "مازوت", "name_en": "Diesel", "price": 150, "price_old": 15000, "usd": 1, "unit": "litre", "updated_at": "2026-11-01T09:00:00+03:00" },
    { "code": "gas-cylinder", "group": "gas", "name_ar": "جرة الغاز المنزلي (10 كغ)", "name_en": "Gas cylinder (10 kg)", "price": 1600, "price_old": 160000, "usd": 10.7, "unit": "cylinder", "updated_at": "2026-11-01T09:00:00+03:00" },
    { "code": "power-home-low", "group": "electricity", "name_en": "Home: up to 300 kWh", "price": 6, "price_old": 600, "usd": 0.04, "unit": "kWh", "updated_at": "2026-11-01T09:00:00+03:00" },
    { "code": "power-home-high", "group": "electricity", "name_en": "Home: above 300 kWh", "price": 14, "price_old": 1400, "usd": 0.094, "unit": "kWh", "updated_at": "2026-11-01T09:00:00+03:00" }
  ]
}

GET /official

The official US dollar rate (buy and sell) from the Central Bank of Syria bulletin, with the bulletin time.

curl "https://liraty.com/api/v1/official"
{
  "code": "USD",
  "buy": 121.5,
  "sell": 122.5,
  "updated_at": "2026-11-15T09:00:00+03:00"
}

GET /convert

Convert an amount between two currencies. result uses the dealer side (foreign currency to SYP at the buy rate, SYP to foreign currency at the sell rate), result_mid uses the mid-market rate, rate is the rate applied, and result_old gives old pounds when SYP is involved.

curl "https://liraty.com/api/v1/convert?amount=100&from=USD&to=SYP&city=damascus"
{
  "amount": 100,
  "from": "USD",
  "to": "SYP",
  "city": "damascus",
  "rate": 148.75,
  "result": 14875,
  "result_mid": 14912.5,
  "result_old": 1487500
}

Terms of use

The API is free for websites, apps and bots. The limit is 60 requests per minute per IP address; responses can be cached for 60 seconds, so there is no need to poll faster. When you display the data, please credit Liraty (liraty.com) with a link to the site.

Prices are indicative and come without any warranty. See our methodology for how they are collected.