# Ljubljana Stock Exchange (LJSE) API
> Live Slovenian equity data from the Ljubljana Stock Exchange (LJSE): real-time quotes for any listed stock by ticker (price, % change, intraday OHLC, volume, market cap in EUR), a ranking screener for gainers, losers, most-active and top market-cap local primary listings, and the SBITOP blue-chip index. Foreign depositary receipts are filtered out so you get only genuine Slovenian companies such as Krka, Nova Ljubljanska banka, Petrol, Zavarovalnica Triglav and Luka Koper.

## Authentication
All requests require your oanor API key in the `x-oanor-key` header. Get one at https://www.oanor.com/developer/keys.

```bash
curl -H "x-oanor-key: oanor_live_…" "https://api.oanor.com/slovenia-stock-api/..."
```

## Pricing
- **Free** (Free) — 1,350 calls/Mo, 2 req/s
- **Basic** ($11/Mo) — 41,200 calls/Mo, 6 req/s
- **Pro** ($33/Mo) — 173,000 calls/Mo, 16 req/s
- **Business** ($70/Mo) — 728,000 calls/Mo, 43 req/s

## Endpoints

### Quotes

#### `GET /v1/quote` — Live quote for one or more LJSE stocks

**Parameters:**
- `symbols` (query, required, string) — Comma-separated LJSE tickers (up to 20) Example: `KRKG,NLBR,PETG`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/slovenia-stock-api/v1/quote?symbols=KRKG%2CNLBR%2CPETG"
```

**Response:**
```json
{
    "data": {
        "count": 3,
        "market": "LJSE",
        "quotes": [
            {
                "low": 261,
                "high": 266,
                "last": 265,
                "name": "Krka, d. d., Novo mesto",
                "open": 262,
                "pe_ttm": 21.6606,
                "sector": "Health Technology",
                "symbol": "KRKG",
                "ticker": "LJSE:KRKG",
                "volume": 2863,
                "currency": "EUR",
                "change_abs": 5,
                "change_pct": 1.9231,
                "market_cap": 8099436798
            },
            {
                "low": 228,
                "high": 233,
                "last": 233,
                "name": "Nova Ljubljanska banka d.d.",
                "open": 229,
                "pe_ttm": 9.3852,
                "sector": "Finance",
                "symbol": "NLBR",
                "ticker": "LJSE:NLBR",
                "volume": 4030,
                "currency": "EUR",
                "change_abs": 7,
                "change_pct": 3.0973,
                "market_cap": 4520000000
            },
            {
                "low": 55,
                "high": 56.6,
                "last": 56.2,
                "name": "Petrol dd Ljubljana",
                "open": 55,
                "pe_ttm": 15.2651,
                "sector": "Energy Minerals",
                "symbol": "PETG",
                "ticker": "LJSE:PETG",
                "volume": 9966,
      
…(truncated, see openapi.json for full schema)
```

### Screener

#### `GET /v1/screener` — Rank local primary listings

**Parameters:**
- `sort` (query, optional, string) — Sort field: market_cap, change or volume Example: `market_cap`
- `order` (query, optional, string) — asc or desc Example: `desc`
- `limit` (query, optional, string) — Number of results (1-100) Example: `25`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/slovenia-stock-api/v1/screener?sort=market_cap&order=desc&limit=25"
```

**Response:**
```json
{
    "data": {
        "sort": "market_cap",
        "count": 14,
        "order": "desc",
        "market": "LJSE",
        "results": [
            {
                "low": 261,
                "high": 266,
                "last": 265,
                "name": "Krka, d. d., Novo mesto",
                "open": 262,
                "pe_ttm": 21.6606,
                "sector": "Health Technology",
                "symbol": "KRKG",
                "ticker": "LJSE:KRKG",
                "volume": 2863,
                "currency": "EUR",
                "change_abs": 5,
                "change_pct": 1.9231,
                "market_cap": 8099436798
            },
            {
                "low": 228,
                "high": 233,
                "last": 233,
                "name": "Nova Ljubljanska banka d.d.",
                "open": 229,
                "pe_ttm": 9.3852,
                "sector": "Finance",
                "symbol": "NLBR",
                "ticker": "LJSE:NLBR",
                "volume": 4030,
                "currency": "EUR",
                "change_abs": 7,
                "change_pct": 3.0973,
                "market_cap": 4520000000
            },
            {
                "low": 55,
                "high": 56.6,
                "last": 56.2,
                "name": "Petrol dd Ljubljana",
                "open": 55,
                "pe_ttm": 15.2651,
                "sector": "Energy Minerals",
                "symbol": "PETG",
                "tic
…(truncated, see openapi.json for full schema)
```

### Indices

#### `GET /v1/index` — Ljubljana index (SBITOP)

**Parameters:**
- `symbol` (query, optional, string) — Optional specific index symbol(s) Example: `SBITOP`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/slovenia-stock-api/v1/index?symbol=SBITOP"
```

**Response:**
```json
{
    "data": {
        "count": 1,
        "market": "LJSE",
        "indices": [
            {
                "low": 2993.97,
                "high": 3046.69,
                "name": "SBITOP",
                "open": 2993.97,
                "index": "SBITOP",
                "label": "SBITOP",
                "value": 3046.69,
                "change_abs": 59.77,
                "change_pct": 2.0011
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T11:16:05.004Z",
        "request_id": "6a7eea12-373f-4780-bcbf-f1f6718aeab5"
    },
    "status": "ok",
    "message": "Index retrieved successfully",
    "success": true
}
```

### Meta

#### `GET /v1/meta` — Market metadata & endpoint guide

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/slovenia-stock-api/v1/meta"
```

**Response:**
```json
{
    "data": {
        "market": "Ljubljana Stock Exchange (LJSE)",
        "source": "TradingView screener (slovenia market), keyless",
        "country": "Slovenia",
        "indices": [
            "SBITOP"
        ],
        "currency": "EUR",
        "examples": {
            "index": "/v1/index",
            "quote": "/v1/quote?symbols=KRKG,NLBR,PETG",
            "screener": "/v1/screener?sort=change&order=desc&limit=10"
        },
        "endpoints": {
            "/v1/index": "Ljubljana blue-chip index (SBITOP)",
            "/v1/quote": "live quote for one or more LJSE stocks by ticker (symbols=KRKG,NLBR,PETG)",
            "/v1/screener": "rank local primary listings by market_cap | change | volume (sort, order, limit)"
        },
        "cache_ttl_ms": 20000
    },
    "meta": {
        "timestamp": "2026-06-15T11:16:05.099Z",
        "request_id": "d6fadf53-f18e-42a9-a497-e3ada6c96a4e"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


---
Marketplace page: https://www.oanor.com/api/slovenia-stock-api
OpenAPI spec: https://www.oanor.com/api/slovenia-stock-api/openapi.json
