Developer API

Currency API

Steam ve marketplace fiyatlarını 100+ desteklenen para birimi arasında dönüştürmek için canlı döviz kurları.

Endpoints

All endpoints return JSON, accept the same auth header, and degrade with a normalised error envelope.

GET /currency/api/list
GET /currency/api/exchange

Currency API — quickstart

Same auth header as every other endpoint we ship. Get an API key from the dashboard and you're querying inside two minutes.

  • Single auth header, JSON response.
  • Rate limits scale with your plan tier.
  • Full schema in the API reference.
API Request
# curl with API key
curl "https://www.steamwebapi.com/currency/api/list?key=$KEY"
# PHP
$res = file_get_contents('https://www.steamwebapi.com/currency/api/list?key=' . $KEY);
$data = json_decode($res, true);
# Node.js
const r = await fetch(`https://www.steamwebapi.com/currency/api/list?key=${KEY}`);
const data = await r.json();

About this API

Bu API'deki her fiyat endpoint'i ?currency= parametresini kabul eder ve anında dönüştürür. Ama bazen ham kurlara ihtiyacın var: bu endpoint bunun içindir.

FAQ

Hangi para birimleri destekleniyor?

USD, EUR, GBP, CNY, RUB, BRL, PLN, JPY dahil 100'den fazla. Tam liste için GET /currency/api/list.

Kurlar ne sıklıkta yenileniyor?

Günlük upstream ECB verilerinden. Performans için server-side cache'leniyor.

Diğer endpoint'lerde fiyatları inline dönüştürebilir miyim?

Evet — her fiyat endpoint'i ?currency=EUR (veya başka) kabul eder. Dönüşüm aynı kur tablosu kullanılarak sunucu tarafında uygulanır.

Start building with the Currency API

One key, every Steam endpoint.