---
title: "Kursi i kembimit"
operation_id: "api.v1.exchange-rates"
method: GET
path: "/api/v1/exchange-rates"
group: "Monedhat"
api_version: "v1"
authenticated: true
canonical: "https://fature.al/api-reference/endpoints/api-v1-exchange-rates.html"
---

# Kursi i kembimit

Part of the [fature.al API](/api-reference/index.html) documentation.

## GET /api/v1/exchange-rates

Kthen kursin e shitjes se dites per cdo monedhe, sipas burimit te zgjedhur. Te dhenat
vijne nga `https://api.kursi.al/api/rates` dhe ruhen ne cache per nje ore ne server,
prandaj klienti mund ta mbaje snapshot-in e fundit lokalisht dhe te punoje edhe pa internet.

Burimet e mbeshtetura (vlera `source` ne kerkese):
  - `BOA`      -> Banka e Shqiperise (kursi zyrtar)
  - `BKT`      -> Banka Kombetare Tregtare
  - `Iliria98` -> Kembim Valutor "Iliria '98"
  - `ADON`     -> Kembim Valutor "Adon"

Nje burim i papercaktuar kthehet automatikisht ne `BOA`. Fusha `source` ne pergjigje
eshte gjithmone vlera e normalizuar.

Full URL: `https://fature.al/api/v1/exchange-rates`

API version: `v1`.

Authentication: required (bearer token).

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `source` | string | no | Burimi i kursit: BOA, BKT, Iliria98 ose ADON. Defaults to `BOA`. |

### Example request

```bash
curl -X GET 'https://fature.al/api/v1/exchange-rates' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'X-Client-Id: YOUR_CLIENT_ID' \
  -H 'X-Client-Secret: YOUR_CLIENT_SECRET' \
  -H 'Accept: application/json'
```

### Responses

**200** — OK

| Field | Type | Description |
| --- | --- | --- |
| `status` | boolean |  |
| `data` | object |  |
| `data.rates` | object |  |
| `data.source` | string |  |
| `data.fetchedAt` | string |  |

```json
{
    "status": true,
    "data": {
        "rates": [],
        "source": "source",
        "fetchedAt": "fetchedAt"
    }
}
```
