Repository avatar
Other Tools
v1.0.1
active

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ı.

PriceFree — free key in one minute: https://mehis.com.tr/fiyat-api/kayit
EndpointGET https://api.mehis.com.tr/v1/fiyatlar (filters: ?kalemler= ?grup=)
AuthX-Mehis-Anahtar: <key> header or ?anahtar=<key>
DataGold 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
Limit10 requests/min per IP — cache on your side
ConditionVisible link "Kaynak: Mehis Kuyumculuk" next to displayed prices (rel="nofollow" allowed)
SpecsOpenAPI · llms.txt · Docs
AI assistantsMCP server https://api.mehis.com.tr/mcp
SDKsnpm 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.shcurl + jq
ornekler/node.mjsNode.js with altin-fiyati
ornekler/fetch.mjsPlain fetch, no package
ornekler/python.pyPython with altin-fiyati
ornekler/php.phpPHP, file cache
ornekler/nextjs-route.tsNext.js App Router (key stays server-side)
ornekler/telegram_bot.pyTelegram bot /altin command
ornekler/widget.htmlEmbeddable 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_ANAHTAR env variable on the server, cache 20 seconds, and render the attribution link from kaynak.atifHtml next 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.

Remote