Developer API

Currency API

Kursy wymiany na żywo do konwersji cen Steam i marketplace między 100+ wspieranymi walutami.

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żdy endpoint cen tego API akceptuje parametr ?currency= i konwertuje w locie. Ale czasami potrzebujesz surowych kursów: do tego służy ten endpoint.

FAQ

Jakie waluty są wspierane?

Ponad 100, w tym USD, EUR, GBP, CNY, RUB, BRL, PLN, JPY. GET /currency/api/list dla pełnej listy.

Jak często kursy są odświeżane?

Codziennie z upstream ECB. Cache'owane serwerowo dla wydajności.

Czy mogę konwertować ceny inline na innych endpointach?

Tak — każdy endpoint cen akceptuje ?currency=EUR (lub inne). Konwersja jest aplikowana serwerowo przez tę samą tabelę kursów.

Start building with the Currency API

One key, every Steam endpoint.