List USD exchange rates
/v1/currency/rateReturns exchange rates against the US dollar for every supported fiat and crypto symbol.
Each rate is how many units of that currency equal one US dollar: EUR: 0.86 means
1 USD = 0.86 EUR, and BTC: 0.0000126 means 1 USD = 0.0000126 BTC. To convert an
amount from A to B, multiply by rate[B] / rate[A].
The response is an array with one element per requested timestamp, in request order,
or a single element for the current time when time is omitted. Each element has a
fiat map, a crypto map, or both, depending on type.
No authentication is required.
Query Parameters
fiat or crypto to return only that map. Omit it, or pass all, to receive both.
"all"Value in
- "all"
- "fiat"
- "crypto"
Comma-separated timestamps, each an ISO 8601 UTC datetime with milliseconds (2024-09-24T00:00:00.000Z) or 13-digit epoch milliseconds. Defaults to the current time.
^((([0-9]{4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}\.[0-9]{1,3}Z)|([0-9]{13})),?)+$length <= 1024Response Body
application/json
application/json
curl --request GET \ --url 'https://gateway.bit2me.com/v1/currency/rate?type=fiat&time=2024-09-24T00%3A00%3A00.000Z%2C1727136000000'[ { "crypto": { "BTC": 0.00001268655549688644, "ETH": 0.0004118570053675658 }, "fiat": { "EUR": 0.860151, "USD": 1 } }]List asset prices by interval GET
Returns the current price of every crypto asset in one quote currency, plus the price one interval ago for each requested interval (for `one_day`, the price 24 hours earlier). `time` is the epoch-millisecond timestamp of each point. The service caches these results, so the live quote can be slightly behind the current time. The outer key is the asset symbol. Each value is an array whose first entry is always the live quote, without an `interval` field. One entry per requested `interval` follows, in the order the intervals were requested, each carrying its `interval`. Use the pairs to compute price changes over those periods. `price` is a decimal string: the price of one unit of the asset in `currency`. `"0"` means no price is available for that asset at that point, which is common for testnet symbols. No authentication is required.
List all assets GET
Returns metadata for every asset the platform knows, keyed by symbol. Fiat and crypto assets share the same shape. Testnet variants (`testnet: true`) are **included by default**; pass `includeTestnet=false` to drop them. Delisted assets are also returned and carry `removedAt`, so filter on it before offering an asset to users. No authentication is required.