Developer API

Currency API

Tipos de cambio en vivo para convertir precios de Steam y de marketplaces entre más de 100 divisas soportadas.

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 precios de esta API acepta un parámetro ?currency= y convierte al vuelo. Pero a veces necesitas los tipos en bruto: para eso sirve este endpoint.

FAQ

¿Qué divisas están soportadas?

Más de 100, entre ellas USD, EUR, GBP, CNY, RUB, BRL, PLN, JPY. GET /currency/api/list para la lista completa.

¿Con qué frecuencia se actualizan los tipos?

A diario, a partir de los datos upstream del ECB. Cacheados del lado del servidor por rendimiento.

¿Puedo convertir los precios inline en otros endpoints?

Sí: cada endpoint de precios acepta ?currency=EUR (u otra). La conversión se aplica del lado del servidor mediante la misma tabla de tipos.

Start building with the Currency API

One key, every Steam endpoint.