Public API
No key, no signup, open CORS. Use it in your site or your research, and attribute the source.
Rates - JSON
The latest observation per source, market and city, plus the street median and the gap against the official rate. Values are normalised to new lira; what the publisher actually printed is kept in asPublished.
curl https://banksyria.com/api/rates| field | meaning |
|---|---|
| official | official rate: value, source, publication time |
| streetMedian | street median across publishers (not rows) |
| streetSources | number of independent publishers in the median |
| gap | the difference in lira and in percent |
| quotes[].asPublished | the figure as published and its currency generation |
| quotes[].observedAt | the time the publisher stated |
| quotes[].collectedAt | the time we last read it |
Every observation - CSV
The full history: one row per change in a published figure, with both values (as published and in new lira) and the source of each row.
curl https://banksyria.com/api/rates/csv| field | meaning |
|---|---|
| observed_at, collected_at | publication time and last-read time |
| market, city | official / street / international, and city where given |
| buy_as_published, sell_as_published | the original figure, unconverted |
| currency_generation | new or old (the 100:1 redenomination) |
| buy_new_lira, sell_new_lira | the normalised value |
| source, source_url | the publisher and the page link |
The institution register
Banks, microfinance banks and exchange companies/offices as published by the Central Bank of Syria. Omit kind for the whole register.
curl https://banksyria.com/api/institutions?kind=bank| field | meaning |
|---|---|
| kind | bank · microfinance · exchange-company · exchange-office · exchange-provisional |
| group | for banks: public / private-conventional / private-islamic |
| source, sourceCheckedAt | the central-bank page and the date we read it |
The data is available under CC BY 4.0: use it as you like, attributing banksyria.com and the original source named on each row. Figures refresh every thirty minutes, so one request every few minutes is plenty - write to us if you need more. We guarantee neither uptime nor perfection: we relay what others published, and the corrections policy is on the methodology page.
Methodology · /api/rates · /api/rates/csv · /api/institutions