
ucretsiz-altin-fiyati
tr.com.mehis/ucretsiz-altin-fiyati
Free gold price API for Turkey: live gram gold & çeyrek prices in TRY (JSON). Free key, attribution.
Documentation
Free Gold Price API (Turkey) — Ücretsiz Altın Fiyatı API'si
A free gold price API for Turkey: live gram gold (22/14 ayar), çeyrek, yarım, tam, ata, gremse and bullion (külçe) buy/sell prices in TRY, as JSON. Free key, no card, no paid tier.
Ücretsiz altın fiyatı API'si. Canlı gram altın, çeyrek, yarım, tam ve külçe alış/satış fiyatları (TL, JSON). Kart yok, ücretli paket yok. Tek şart: fiyatı gösterdiğiniz yerde kaynak bağlantısı.
| Price | Free — free key in one minute: https://mehis.com.tr/fiyat-api/kayit |
| Endpoint | GET https://api.mehis.com.tr/v1/fiyatlar (filters: ?kalemler= ?grup=) |
| Auth | X-Mehis-Anahtar: <key> header or ?anahtar=<key> |
| Data | Gold only: 22/14 karat gram gold, bracelets, çeyrek/yarım/tam/ata/gremse (old & new), bullion 1 g–1 kg. No currency or silver rates. |
| Freshness | ~20 s |
| Limit | 10 requests/min per IP — cache on your side |
| Condition | Visible link "Kaynak: Mehis Kuyumculuk" next to displayed prices (rel="nofollow" allowed) |
| Specs | OpenAPI · llms.txt · Docs |
| AI assistants | MCP server https://api.mehis.com.tr/mcp |
| SDKs | npm i altin-fiyati · pip install altin-fiyati |
Data source: the live price board of Mehis Kuyumculuk, a jeweller in Burhaniye, Türkiye.
Quick start
curl -H "X-Mehis-Anahtar: $MEHIS_ANAHTAR" "https://api.mehis.com.tr/v1/fiyatlar?kalemler=islenmis-gram22,zyeni-ceyrek"
{
"kaynak": { "ad": "Mehis Kuyumculuk", "url": "https://mehis.com.tr/fiyatlar",
"atifHtml": "<a href=\"https://mehis.com.tr/fiyatlar\">Kaynak: Mehis Kuyumculuk</a>" },
"guncelleme": "2026-11-30T09:00:00+03:00",
"durum": "canli",
"kalemler": [
{ "kod": "islenmis-gram22", "ad": "22 Ayar Gram Altın", "grup": "islenmis", "birim": "gram",
"url": "https://mehis.com.tr/islenmisgram22", "alis": 3010.5, "satis": 3050.25, "paraBirimi": "TRY", "degisimYuzde": 0.42 },
{ "kod": "zyeni-ceyrek", "ad": "Yeni Çeyrek", "grup": "ziynet-yeni", "birim": "adet",
"url": "https://mehis.com.tr/zyeniceyrek", "alis": 4900, "satis": 5000, "paraBirimi": "TRY", "degisimYuzde": -0.1 }
]
}
alis = buy price (the shop buys), satis = sell price (the shop sells). Groups: kulce, islenmis, ziynet-eski,
ziynet-yeni. All codes: GET https://api.mehis.com.tr/v1/kalemler.
Examples
| ornekler/curl.sh | curl + jq |
| ornekler/node.mjs | Node.js with altin-fiyati |
| ornekler/fetch.mjs | Plain fetch, no package |
| ornekler/python.py | Python with altin-fiyati |
| ornekler/php.php | PHP, file cache |
| ornekler/nextjs-route.ts | Next.js App Router (key stays server-side) |
| ornekler/telegram_bot.py | Telegram bot /altin command |
| ornekler/widget.html | Embeddable widget (no code) |
Use with AI assistants (MCP)
Listed in the official MCP Registry as tr.com.mehis/ucretsiz-altin-fiyati (mcp/server.json).
Claude Code:
claude mcp add --transport http altin https://api.mehis.com.tr/mcp --header "X-Mehis-Anahtar: $MEHIS_ANAHTAR"
Cursor / Claude Desktop / any MCP client (mcp.json):
{ "mcpServers": { "altin": { "url": "https://api.mehis.com.tr/mcp", "headers": { "X-Mehis-Anahtar": "mhs_..." } } } }
Codex (~/.codex/config.toml):
[mcp_servers.altin]
url = "https://api.mehis.com.tr/mcp"
http_headers = { "X-Mehis-Anahtar" = "mhs_..." }
Tools: get_gold_prices, get_price, list_items, attribution_snippet, get_api_key_info.
Prompt to paste into Claude / Codex:
Use this free gold price API (https://api.mehis.com.tr/openapi.json) to show live 22 ayar gram altın and çeyrek prices on my site. Read the key from the
MEHIS_ANAHTARenv variable on the server, cache 20 seconds, and render the attribution link fromkaynak.atifHtmlnext to the prices.
Attribution (the only condition)
Wherever prices are displayed, keep a visible plain-HTML link:
<a href="https://mehis.com.tr/fiyatlar">Kaynak: Mehis Kuyumculuk</a>
rel="nofollow" is fine. Removing or hiding the link is not. Registered sites are checked weekly; if the link is
missing you get an email and 7 days to restore it, otherwise the key is paused (it reopens automatically once the
link is back). Full terms: https://mehis.com.tr/fiyat-api/sartlar
License
Examples and SDKs: MIT. Price data © Mehis Kuyumculuk, provided free under the terms above.
No installation packages available.