Developer API

Currency API

Živé směnné kurzy pro převod cen Steamu a marketplace mezi 100+ podporovanými měnami.

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

Každý cenový endpoint tohoto API přijímá parametr ?currency= a převádí za běhu. Někdy ale potřebujete syrové kurzy: k tomu slouží tento endpoint.

FAQ

Které měny jsou podporovány?

Více než 100, včetně USD, EUR, GBP, CNY, RUB, BRL, PLN, JPY. GET /currency/api/list pro kompletní seznam.

Jak často se kurzy obnovují?

Denně z upstream dat ECB. Cachováno na straně serveru kvůli výkonu.

Mohu převádět ceny inline na jiných endpointech?

Ano — každý cenový endpoint přijímá ?currency=EUR (nebo jinou). Konverze se aplikuje na straně serveru přes stejnou tabulku kurzů.

Start building with the Currency API

One key, every Steam endpoint.