Developer API

Currency API

Live-växelkurser för att konvertera Steam- och marknadsplatspriser mellan 100+ valutor som stöds.

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

Varje prisendpoint i detta API tar emot en parameter ?currency= och konverterar i farten. Men ibland behöver du de råa kurserna: det är vad den här endpointen är till för.

FAQ

Vilka valutor stöds?

Fler än 100, inklusive USD, EUR, GBP, CNY, RUB, BRL, PLN, JPY. GET /currency/api/list för den kompletta listan.

Hur ofta uppdateras kurserna?

Dagligen från ECB:s upstream-data. Cachade på serversidan för prestanda.

Kan jag konvertera priser inline på andra endpoints?

Ja — varje prisendpoint tar emot ?currency=EUR (eller annan). Konverteringen tillämpas på serversidan via samma kurstabell.

Start building with the Currency API

One key, every Steam endpoint.