Hasfiyat Altın API is an MCP server published by com.hasfiyat, hosted at altinapi.hasfiyat.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 4 tools, including list_sources, get_prices, get_price_history, calculate_value.
Official MCP server of Hasfiyat Altın API: live Turkish gold & FX prices (TRY), history, calc.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Hasfiyat Altın API'nin desteklediği fiyat kaynağı kodlarını listeler (get_prices için `source`). API anahtarı gerektirmez, kota harcamaz. Lists the price source codes accepted by get_prices. No API key needed.
No parameters.
{
"name": "list_sources",
"title": "Fiyat kaynaklarını listele",
"description": "Hasfiyat Altın API'nin desteklediği fiyat kaynağı kodlarını listeler (get_prices için `source`). API anahtarı gerektirmez, kota harcamaz. Lists the price source codes accepted by get_prices. No API key needed.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"annotations": {
"title": "Fiyat kaynaklarını listele",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Türkiye piyasası için canlı altın, gümüş, döviz ve parite alış/satış fiyatlarını döndürür (TL). `symbols` boşsa kaynaktaki tüm kalemler gelir. Örnek semboller: HAS, GRAM, CEYREK, YARIM, TAM, ATA, 22 AYAR, ONS, USD, EUR. Her çağrı 1 REST isteği sayılır. Returns live Turkish market gold/FX buy & sell prices in TRY.
| Parameter | Type | Description |
|---|---|---|
| source | string | Fiyat kaynağı kodu (varsayılan harem). |
| symbols | array | İstenen semboller, ör. ["HAS","GRAM","CEYREK","USD"]. Boş bırakılırsa tüm kalemler. |
{
"name": "get_prices",
"title": "Canlı altın ve döviz fiyatları",
"description": "Türkiye piyasası için canlı altın, gümüş, döviz ve parite alış/satış fiyatlarını döndürür (TL). `symbols` boşsa kaynaktaki tüm kalemler gelir. Örnek semboller: HAS, GRAM, CEYREK, YARIM, TAM, ATA, 22 AYAR, ONS, USD, EUR. Her çağrı 1 REST isteği sayılır. Returns live Turkish market gold/FX buy & sell prices in TRY.",
"inputSchema": {
"type": "object",
"properties": {
"source": {
"enum": [
"harem",
"harem-canli",
"hakan",
"mayda",
"myakche",
"metal",
"nadir",
"anlik",
"saglamoglu",
"fikri",
"sahap",
"doviz"
],
"type": "string",
"default": "harem",
"description": "Fiyat kaynağı kodu (varsayılan harem)."
},
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40,
"description": "İstenen semboller, ör. [\"HAS\",\"GRAM\",\"CEYREK\",\"USD\"]. Boş bırakılırsa tüm kalemler."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Canlı altın ve döviz fiyatları",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Bir kalemin günlük (1d) veya saatlik (1h) açılış/yüksek/düşük/kapanış geçmişini döndürür (harem kaynağı). Günlük veri 4 Ekim 2026'dan, saatlik veri son 45 günden itibaren vardır. Tarihler YYYY-MM-DD. Returns daily or hourly OHLC history (Europe/Istanbul).
| Parameter | Type | Description |
|---|---|---|
| to | string | Bitiş tarihi (YYYY-MM-DD). |
| from | string | Başlangıç tarihi (YYYY-MM-DD). |
| period | string | 1d = günlük, 1h = saatlik. |
| symbol | string | Kalem adı veya kısaltması, ör. "HAS ALTIN", "GRAM", "USD". |
{
"name": "get_price_history",
"title": "Geçmiş fiyat (OHLC)",
"description": "Bir kalemin günlük (1d) veya saatlik (1h) açılış/yüksek/düşük/kapanış geçmişini döndürür (harem kaynağı). Günlük veri 4 Ekim 2026'dan, saatlik veri son 45 günden itibaren vardır. Tarihler YYYY-MM-DD. Returns daily or hourly OHLC history (Europe/Istanbul).",
"inputSchema": {
"type": "object",
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Bitiş tarihi (YYYY-MM-DD)."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Başlangıç tarihi (YYYY-MM-DD)."
},
"period": {
"enum": [
"1d",
"1h"
],
"type": "string",
"default": "1d",
"description": "1d = günlük, 1h = saatlik."
},
"symbol": {
"type": "string",
"default": "HAS ALTIN",
"description": "Kalem adı veya kısaltması, ör. \"HAS ALTIN\", \"GRAM\", \"USD\"."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Geçmiş fiyat (OHLC)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Bir kalemin canlı fiyatıyla miktar × fiyat hesabı yapar. Ör. 15 gram 22 ayar, 3 çeyrek, 1000 USD kaç TL. `side`: satış (sell, müşterinin alırken ödediği) veya alış (buy). Computes quantity × live price in TRY.
| Parameter | Type | Description |
|---|---|---|
| side | string | sell = satış fiyatı, buy = alış fiyatı. |
| source | string | Fiyat kaynağı kodu. |
| symbol * | string | Kalem, ör. "GRAM", "22 AYAR", "CEYREK", "USD". |
| quantity * | number | Miktar (gram, adet veya döviz birimi). |
{
"name": "calculate_value",
"title": "Altın/döviz tutarı hesapla",
"description": "Bir kalemin canlı fiyatıyla miktar × fiyat hesabı yapar. Ör. 15 gram 22 ayar, 3 çeyrek, 1000 USD kaç TL. `side`: satış (sell, müşterinin alırken ödediği) veya alış (buy). Computes quantity × live price in TRY.",
"inputSchema": {
"type": "object",
"required": [
"symbol",
"quantity"
],
"properties": {
"side": {
"enum": [
"sell",
"buy"
],
"type": "string",
"default": "sell",
"description": "sell = satış fiyatı, buy = alış fiyatı."
},
"source": {
"enum": [
"harem",
"harem-canli",
"hakan",
"mayda",
"myakche",
"metal",
"nadir",
"anlik",
"saglamoglu",
"fikri",
"sahap",
"doviz"
],
"type": "string",
"default": "harem",
"description": "Fiyat kaynağı kodu."
},
"symbol": {
"type": "string",
"description": "Kalem, ör. \"GRAM\", \"22 AYAR\", \"CEYREK\", \"USD\"."
},
"quantity": {
"type": "number",
"description": "Miktar (gram, adet veya döviz birimi).",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Altın/döviz tutarı hesapla",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Türkiye piyasası canlı altın ve döviz fiyatları (Hasfiyat Altın API). Fiyatlar TL, alış (buy) ve satış (sell) olarak gelir. Önce list_sources ile kaynakları görün; get_prices canlı fiyat, get_price_history geçmiş, calculate_value tutar hesabı verir. Yanıtlarda kaynak olarak "Hasfiyat Altın API" belirtin.
Names, descriptions and schemas were written by the server and are shown as data.