# Nasdaq Riga (OMX Riga) API
> Live Latvian equity data from Nasdaq Riga (OMX Riga): 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 OMX Riga Gross index. Foreign depositary receipts are filtered out so you get only genuine Latvian companies such as Eleving Group, IPAS Indexo, DelfinGroup, MADARA Cosmetics and SAF Tehnika.

## 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/latvia-stock-api/..."
```

## Pricing
- **Free** (Free) — 1,180 calls/Mo, 2 req/s
- **Basic** ($10/Mo) — 36,800 calls/Mo, 6 req/s
- **Pro** ($29/Mo) — 151,000 calls/Mo, 15 req/s
- **Business** ($62/Mo) — 638,000 calls/Mo, 40 req/s

## Endpoints

### Quotes

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

**Parameters:**
- `symbols` (query, required, string) — Comma-separated Riga tickers (up to 20) Example: `ELEVR,MDARA,SAF1R`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/latvia-stock-api/v1/quote?symbols=ELEVR%2CMDARA%2CSAF1R"
```

**Response:**
```json
{
    "data": {
        "count": 3,
        "market": "OMXRSE",
        "quotes": [
            {
                "low": 1.67,
                "high": 1.675,
                "last": 1.675,
                "name": "Eleving Group",
                "open": 1.67,
                "pe_ttm": 8.5155,
                "sector": "Technology Services",
                "symbol": "ELEVR",
                "ticker": "OMXRSE:ELEVR",
                "volume": 2372,
                "currency": "EUR",
                "change_abs": 0.005,
                "change_pct": 0.2994,
                "market_cap": 194761389
            },
            {
                "low": 11.95,
                "high": 11.95,
                "last": 11.95,
                "name": "MADARA Cosmetics AS",
                "open": 11.95,
                "pe_ttm": null,
                "sector": "Consumer Non-Durables",
                "symbol": "MDARA",
                "ticker": "OMXRSE:MDARA",
                "volume": 103,
                "currency": "EUR",
                "change_abs": -0.05,
                "change_pct": -0.4167,
                "market_cap": 45426407
            },
            {
                "low": 10.9,
                "high": 11,
                "last": 10.9,
                "name": "SAF Tehnika A/S",
                "open": 11,
                "pe_ttm": 6.4858,
                "sector": "Electronic Technology",
                "symbol": "SAF1R",
                "ticker": "OMXRSE:SAF1R",
         
…(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/latvia-stock-api/v1/screener?sort=market_cap&order=desc&limit=25"
```

**Response:**
```json
{
    "data": {
        "sort": "market_cap",
        "count": 11,
        "order": "desc",
        "market": "OMXRSE",
        "results": [
            {
                "low": 1.67,
                "high": 1.675,
                "last": 1.675,
                "name": "Eleving Group",
                "open": 1.67,
                "pe_ttm": 8.5155,
                "sector": "Technology Services",
                "symbol": "ELEVR",
                "ticker": "OMXRSE:ELEVR",
                "volume": 2372,
                "currency": "EUR",
                "change_abs": 0.005,
                "change_pct": 0.2994,
                "market_cap": 194761389
            },
            {
                "low": 8.58,
                "high": 8.62,
                "last": 8.58,
                "name": "IPAS Indexo",
                "open": 8.58,
                "pe_ttm": null,
                "sector": "Finance",
                "symbol": "IDX1R",
                "ticker": "OMXRSE:IDX1R",
                "volume": 490,
                "currency": "EUR",
                "change_abs": -0.02,
                "change_pct": -0.2326,
                "market_cap": 88894176
            },
            {
                "low": 1.52,
                "high": 1.54,
                "last": 1.53,
                "name": "DelfinGroup AS",
                "open": 1.525,
                "pe_ttm": 6.5329,
                "sector": "Finance",
                "symbol": "DGR1R",
                "ticker": "OMX
…(truncated, see openapi.json for full schema)
```

### Indices

#### `GET /v1/index` — Riga index (OMX Riga Gross)

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

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

**Response:**
```json
{
    "data": {
        "count": 1,
        "market": "OMXRSE",
        "indices": [
            {
                "low": 900.0038,
                "high": 903.8669,
                "name": "OMX Riga Gross Index",
                "open": 901.4246,
                "index": "OMXRGI",
                "label": "OMX Riga Gross",
                "value": 902.3254,
                "change_abs": 1.3274,
                "change_pct": 0.1473
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T11:16:07.343Z",
        "request_id": "c01dce86-6cd2-4bb1-8572-96d856f36529"
    },
    "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/latvia-stock-api/v1/meta"
```

**Response:**
```json
{
    "data": {
        "market": "Nasdaq Riga (OMX Riga)",
        "source": "TradingView screener (latvia market), keyless",
        "country": "Latvia",
        "indices": [
            "OMXRGI"
        ],
        "currency": "EUR",
        "examples": {
            "index": "/v1/index",
            "quote": "/v1/quote?symbols=ELEVR,MDARA,SAF1R",
            "screener": "/v1/screener?sort=change&order=desc&limit=10"
        },
        "endpoints": {
            "/v1/index": "Riga index (OMX Riga Gross = OMXRGI)",
            "/v1/quote": "live quote for one or more Riga stocks by ticker (symbols=ELEVR,MDARA,SAF1R)",
            "/v1/screener": "rank local primary listings by market_cap | change | volume (sort, order, limit)"
        },
        "cache_ttl_ms": 20000
    },
    "meta": {
        "timestamp": "2026-06-15T11:16:07.433Z",
        "request_id": "c6184669-6976-4447-b798-966671f66387"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


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