rate: Get price conversion rate

API: cryptomkt.com:cryptomarket-api
Endpoint: /public/price/rate
Response format: application/json
Auth: unknown
Method: GET
Last Status: 200
Latency: 174ms

Description

Returns the current exchange rate for converting one currency to another. Use this for price calculations, currency conversion, or checking current market rates without full ticker data.

From spec: Calculates the mean of best bid and ask prices between two currencies. Requires from and to parameters.

Usage Tips

- Both 'from' and 'to' parameters are required - Returns price as string for precision - Timestamp indicates when rate was last updated - Supports any currency pair available on the exchange

Parameters (2)

from (string, query, required)

Source currency code (e.g., BTC)

to (string, query, required)

Target currency code (e.g., USDT)

Examples (1)

Get BTC to USDT conversion rate probe-gate

Demonstrates fetching the current exchange rate between two currencies

curl 'https://api.exchange.cryptomkt.com/api/3/public/price/rate?from=BTC&to=USDT'
import requests

resp = requests.get(
    "https://api.exchange.cryptomkt.com/api/3/public/price/rate",
    params={
        'from': 'BTC',
        'to': 'USDT',
    },
)
data = resp.json()
import zingu_apis

api = zingu_apis.api("cryptomkt")
result = api.fetch("public/price/rate", from="BTC", to="USDT")

for item in result:
    print(item)
const resp = await fetch("https://api.exchange.cryptomkt.com/api/3/public/price/rate?from=BTC&to=USDT");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 02:33:55.359429 200 174ms
2026-04-15 02:22:44.474036 200 190ms
2026-04-14 00:31:37.936670 200 181ms
2026-04-12 16:37:26.655538 200 204ms
2026-04-10 01:29:56.676882 200 588ms
2026-04-09 01:17:46.241455 200 758ms