# Xeronance Realtime Market Data (BIST, VIOP, FX, Crypto) (`xeronance/realtime-market-data`) Actor

Real-time quotes for Borsa Istanbul (BIST) equities, VIOP futures, BIST indices, US equities, FX pairs, precious metals, commodities, CFDs and crypto. No delay, no conflation.

- **URL**: https://apify.com/xeronance/realtime-market-data.md
- **Developed by:** [Xeronance](https://apify.com/xeronance) (community)
- **Categories:** Developer tools, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Xeronance Realtime Market Data

Real-time quotes for **Borsa Istanbul (BIST)**, **VIOP** derivatives, FX pairs,
precious metals, commodities, CFDs and crypto — roughly **2,070 instruments**
in one Actor.

No 15-minute delay. No conflation. No snapshot-every-N-seconds. A quote is
published the moment the price changes.

***

### Why this Actor exists

Turkish market data is badly served. Google Finance is unreliable for BIST,
most global APIs delay quotes by 15 minutes, and many skip the Turkish market
entirely. We built this feed for our own trading systems and opened it up.

Prices come straight from a professional terminal feed — not from a delayed
aggregator and not scraped from a website.

***

### Coverage

| Market | Count | Examples |
|---|---:|---|
| US equities | 707 | `AAPL:EDGX`, `TSLA:EDGX`, `NVDA:EDGX` |
| BIST equities | 703 | `GARAN`, `THYAO`, `ASELS` |
| VIOP derivatives | 241 | `F_XU0301226`, `F_USDTRY0127`, `F_XAUUSD1226` |
| Crypto | 191 | `BTCUSDT:BNN`, `ETHUSDT:BNN` |
| FX pairs | 169 | `EURUSD`, `USDTRY`, `GBPJPY` |
| **Global index CFDs** | **20** | `DOW30F:CFD`, `GER30:CFD`, `NIKKEI225F:CFD`, `VIXF:CFD` |
| Metals & commodities | 25 | `XAUUSD`, `XAGUSD`, `XBRUSD`, `XTIUSD` |
| Commodity CFDs | 2 | `NATURALGAS:CFD`, `COPPERUS:CFD` |
| Funds | 8 | `ABE.FON`, `ARO.FON` |
| Indices | 4 | `XU100`, `XU030`, `XU050`, `USDX` |
| **Total** | **2,070** | |

Index CFDs cover the major global benchmarks: US (`DOW30F`, `US500F`,
`N100F`, `RUT2000F`), Europe (`GER30F`, `CAC40F`, `FTSE100F`, `IBEX35F`,
`FTSEMIBF`, `SMIF`, `STOXX50F`), Asia-Pacific (`NIKKEI225F`, `HSIF`,
`ASXF`, `FTSEA50F`), plus volatility (`VIXF`) and German bunds
(`FGBL`, `FGBM`).

Symbol names are case-insensitive. Use `/v1/symbols` on the REST API for the
full, current list.

***

### Try it right now

The Actor comes with a **demo key already filled in** — just hit **Start**.
No signup, no card, nothing to configure.

The demo key is limited to **5 symbols per request**, which is enough to see
the data flowing but not enough for production.

### Getting your own key

**👉 [t.me/xeronancebot](https://t.me/xeronancebot)** — send `/start`, pick a
plan, receive your key. Takes under a minute.

***

### Input

| Field | Type | Description |
|---|---|---|
| `apiKey` | string | Your Xeronance API key (starts with `XR_live_`) |
| `symbols` | array | Symbols to fetch. Case-insensitive. |
| `pollSeconds` | integer | `0` = single snapshot, then exit. Positive = repeat at this interval. |
| `maxIterations` | integer | How many rounds in polling mode. `0` = unlimited. |

```json
{
  "apiKey": "XR_live_...",
  "symbols": ["GARAN", "THYAO", "EURUSD", "XAUUSD", "BTCUSDT:BNN"],
  "pollSeconds": 0,
  "maxIterations": 0
}
```

#### Snapshot vs. continuous

- **`pollSeconds: 0`** — fetch once, write the dataset, exit. Cheapest option;
  ideal for a scheduled task that runs every N minutes.
- **`pollSeconds: 60`** — keep running and collect every minute. Use with
  `maxIterations` to bound the run.

For sub-second updates, use the WebSocket endpoint directly rather than this
Actor — Apify Actors are not designed for continuous streaming.

***

### Output

One dataset row per symbol per round:

| Field | Description |
|---|---|
| `symbol` | Symbol code |
| `category` | `shares`, `viop`, `forex`, `crypto`, … |
| `description` | Instrument name |
| `bid` | Bid price. `null` if the symbol has not traded yet. |
| `ask` | Ask price |
| `price` | Alias of `bid`, kept so older integrations keep working |
| `change` | Change versus previous close |
| `changePercent` | Percent change versus previous close |
| `digits` | Number of decimal places for this instrument |
| `quotedAt` | When the price was set (ISO-8601, +03:00) |
| `quotedAtMs` | Same, Unix milliseconds |
| `collectedAt` | When this Actor fetched it (ISO-8601, +03:00) |

```json
{
  "symbol": "GARAN",
  "category": "shares",
  "description": "GARANTI BANKASI",
  "bid": 126.9,
  "ask": 126.9,
  "price": 126.9,
  "change": 0.4,
  "changePercent": 0.32,
  "digits": 2,
  "quotedAt": "2026-10-30T10:38:17.067+03:00",
  "quotedAtMs": 1793345897067,
  "collectedAt": "2026-10-30T10:38:26.465+03:00"
}
```

***

### Behaviour worth knowing

| Situation | What happens |
|---|---|
| Symbol exists but has not traded today | Row is returned with `bid`/`ask` `null` |
| `bid` and `ask` are equal | By design. The feed publishes the last traded price on both sides so you can apply your own spread. |
| Symbol does not exist | Skipped, logged as a warning, run still succeeds |
| Duplicate symbols in input | Deduplicated; they do not count against your plan limit |
| Plan symbol limit exceeded | Request rejected with a clear error naming your plan |
| Quota exhausted | Actor waits for the interval the API returns, then retries |

Symbols are fetched in batches of 50, so 200 symbols cost 4 API requests, not
200\.

***

### Plans

| Plan | Price | Symbols per request | Requests/day | Requests/min |
|---|---:|---:|---:|---:|
| **Free** | $0 | 10 | 200 | 60 |
| **Basic** | $19/mo | 50 | 10,000 | 120 |
| **Pro** | $49/mo | 200 | 100,000 | 600 |
| **Diamond** | $149/mo | 2,500 (all) | unlimited | 3,000 |

Annual billing: pay for 10 months, get 12.

Quotas reset at midnight Europe/Istanbul. Every API response carries
`X-RateLimit-*` headers so you can track usage before hitting a limit.

Diamond has no daily cap; the per-minute ceiling exists purely as abuse
protection and no normal workload comes close to it.

***

### Also available as

- **REST API** — `https://feedapi.xeronance.com` (OpenAPI spec available)
- **WebSocket** — streaming quotes, sub-second
- **Google Sheets add-on** — live prices in a spreadsheet

***

### Contact & support

- **WhatsApp:** [+44 7537 175 451](https://wa.me/447537175451)
- **Telegram:** [@xeronance](https://t.me/xeronance)
- **API key bot:** [@xeronancebot](https://t.me/xeronancebot)
- **Website:** [xeronance.com](https://xeronance.com)

# Actor input Schema

## `apiKey` (type: `string`):

Your Xeronance API key. The pre-filled demo key works out of the box but is limited to 5 symbols per request. Get your own key at https://t.me/xeronancebot

## `symbols` (type: `array`):

Symbols to fetch quotes for. Case-insensitive.

## `pollSeconds` (type: `integer`):

Set to 0 for a single snapshot, then the Actor exits. Any positive value repeats collection at that interval.

## `maxIterations` (type: `integer`):

How many rounds to run in polling mode. 0 means unlimited; the Actor then runs until stopped or until it times out.

## Actor input object example

```json
{
  "apiKey": "XR_live_5ad6f05fda6a3357a029e4d5541438f66c9a6106",
  "symbols": [
    "GARAN",
    "THYAO",
    "EURUSD",
    "XAUUSD",
    "BTCUSDT:BNN"
  ],
  "pollSeconds": 0,
  "maxIterations": 0
}
```

# Actor output Schema

## `quotes` (type: `string`):

Real-time quotes for the requested symbols.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "apiKey": "XR_live_5ad6f05fda6a3357a029e4d5541438f66c9a6106",
    "symbols": [
        "GARAN",
        "THYAO",
        "EURUSD",
        "XAUUSD",
        "BTCUSDT:BNN"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("xeronance/realtime-market-data").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "apiKey": "XR_live_5ad6f05fda6a3357a029e4d5541438f66c9a6106",
    "symbols": [
        "GARAN",
        "THYAO",
        "EURUSD",
        "XAUUSD",
        "BTCUSDT:BNN",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("xeronance/realtime-market-data").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "apiKey": "XR_live_5ad6f05fda6a3357a029e4d5541438f66c9a6106",
  "symbols": [
    "GARAN",
    "THYAO",
    "EURUSD",
    "XAUUSD",
    "BTCUSDT:BNN"
  ]
}' |
apify call xeronance/realtime-market-data --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xeronance/realtime-market-data"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ZNXs0bG1nizvp62MQ/builds/EcNTlsvIwcXIQFVoS/openapi.json
