Developer API

Currency API

Taxas de câmbio em direto para converter preços Steam e marketplace entre 100+ moedas suportadas.

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

Cada endpoint de preço desta API aceita um parâmetro ?currency= e converte on-the-fly. Mas às vezes precisa das taxas brutas: para isso serve este endpoint.

FAQ

Que moedas são suportadas?

Mais de 100, incluindo USD, EUR, GBP, CNY, RUB, BRL, PLN, JPY. GET /currency/api/list para a lista completa.

Com que frequência as taxas são atualizadas?

Diariamente dos dados upstream do ECB. Cacheadas no servidor para performance.

Posso converter preços inline noutros endpoints?

Sim — cada endpoint de preço aceita ?currency=EUR (ou outra). A conversão é aplicada no servidor usando a mesma tabela de taxas.

Start building with the Currency API

One key, every Steam endpoint.