Info
๐ฑ Retrieve Currency Exchange Rates
Baseurl: https://www.steamwebapi.com/currency/api/exchange?key=YOUR_API_KEY&change=EUR&base=USD
๐ฌ **What this endpoint does:**
- Provides the exchange rate for a specified currency.
- Allows you to specify:
- The currency to convert to using the `change` parameter.
- The base currency using the `base` parameter (default: USD).
๐ ๏ธ **Features:**
- Fetches accurate exchange rates.
- Supports all major currency codes based on the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) standard.
๐ **How to use:**
- Use the `change` parameter to specify the target currency (e.g., `EUR`, `TRY`, `RUB`).
- Optionally, use the `base` parameter to specify the base currency. If omitted, the default is `USD`.
๐ **Example:**
- `change=EUR&base=USD`: Convert USD to EUR.
get/currency/api/exchange
Request
- Base URL: https://www.steamwebapi.com
- URL: https://www.steamwebapi.com/currency/api/exchange
- Auth: API key in query parameter key
Query parameters
Your API key for authentication. Retrieve it from your Dashboard (top-right corner).
The target currency code to exchange to. Supported values follow the ISO 4217 standard (e.g., EUR, TRY, RUB).
The base currency for the exchange. Default is USD. Supported values follow the ISO 4217 standard.
formatstring
Response format: json (default), csv, xml, html, gzip, zip, ndjson, mysql, mysql_with_table, pgsql, pgsql_with_table, mongo. Example: ?format=csv
pretty'0' | '1'
Pretty-print JSON (set to 1 for json/gzip/zip formats). Example: ?format=json&pretty=1
Response
Request was successful, and the exchange rate is returned.
Changes
No recorded changes to this operation across all 1 revision of this API.