Get historic price chart
/v3/currency/chartReturns a time series for a currency pair, ready to draw a price chart.
Each row is [time, baseRate, quoteRate]: Unix epoch milliseconds, then the rate of
each currency against the US dollar (units per 1 USD, as in GET /v1/currency/rate).
The price of the base in the quote currency is quoteRate / baseRate. Either rate is
null when there is no data at that timestamp; skip those rows instead of plotting
zero.
temporality selects both the time range and the spacing between points. Rows are
ordered oldest first.
all-time is not available between two fiat currencies and returns a 400 with a
different body shape (errorCode instead of statusCode).
No authentication is required.
Query Parameters
Currency pair as BASE/QUOTE, for example BTC/EUR. Both symbols must be known to the service. URL-encode the slash as %2F if your client does not do it.
^[\w\d]{1,}\/[\w\d]{1,}$Time range covered by the chart.
Value in
- "one-hour"
- "four-hours"
- "twelve-hours"
- "one-day"
- "one-week"
- "one-month"
- "three-months"
- "six-months"
- "one-year"
- "all-time"
Response Body
application/json
application/json
curl --request GET \ --url 'https://gateway.bit2me.com/v3/currency/chart?ticker=BTC%2FEUR&temporality=one-day'[ [ 1788443280000, 0.000012686031591522499, 0.860151 ], [ 1788443640000, 0.00001268453495745528, 0.860151 ]]Get asset metadata GET
Returns metadata for a single asset. The shape matches one entry of `GET /v2/currency/assets`. The lookup is an exact, case-sensitive match on the symbol: `BTC` works, `btc` returns `404`. Testnet and delisted assets are returned like any other; check `testnet` and `removedAt`. No authentication is required.
Get ticker data for one asset GET
Returns the price and market statistics of one crypto asset in a chosen currency. The response is a two-level map: the outer key is `rateCurrency` (or `USD` when it is omitted) and the inner key is the path `symbol`. The array under it depends on `interval`: - Without `interval`, one entry with the live quote and no `interval` field. - With `interval`, one entry per requested interval holding the price one interval ago, and no live quote. Request the endpoint twice if you need both. Market statistics (`marketCap`, `totalVolume`, `fullyDilutedMarketCap`, `maxSupply`, `totalSupply`) are always the current values, converted to `rateCurrency`, and are omitted when the service has no data for them. The service does not reject unknown symbols. An unknown `symbol` returns `[null]` (without `interval`) or `[]` (with it), and an unknown `rateCurrency` returns `price: "0"`. No authentication is required.