Skip to main content
GET
/
crypto-prices
/
binance
Get Binance Crypto Prices
curl --request GET \
  --url https://api.domeapi.io/v1/crypto-prices/binance
{
"prices": [
{
"symbol": "btcusdt",
"value": "67500.50",
"timestamp": 1766130500000
}
],
"total": 1
}

Query Parameters

currency
string
required

The currency pair symbol. Must be lowercase alphanumeric with no separators (e.g., btcusdt, ethusdt, solusdt, xrpusdt).

Example:

"btcusdt"

start_time
integer

Start time in Unix timestamp (milliseconds). If not provided along with end_time, returns the most recent price (limit 1).

Example:

1766130000000

end_time
integer

End time in Unix timestamp (milliseconds). If not provided along with start_time, returns the most recent price (limit 1).

Example:

1766131000000

limit
integer
default:100

Maximum number of prices to return (default: 100, max: 100). When no time range is provided, limit is automatically set to 1.

Required range: 1 <= x <= 100
Example:

10

pagination_key
string

Pagination key (base64-encoded) to fetch the next page of results. Returned in the response when more data is available.

Example:

"eyJpZCI6IlBSSUNFI2J0Y3VzZHQiLCJ0aW1lc3RhbXAiOjE3NjYxMzEwMDAwMDB9"

Response

Crypto prices response

prices
object[]
required

Array of crypto price data points

pagination_key
string

Pagination key (base64-encoded) to fetch the next page of results. Only present when more data is available.

Example:

"eyJpZCI6IlBSSUNFI2J0Y3VzZHQiLCJ0aW1lc3RhbXAiOjE3NjYxMzEwMDAwMDB9"

total
integer

Total number of prices returned in this response

Example:

10