Get Price

Returns the USD* price. Without a time parameter, returns the latest recorded price. With a time parameter, returns the price at or before the specified timestamp.

GET /api/usdstar/price

Get Price

get

Returns the USD* price. Without a time parameter, returns the latest recorded price. With a time parameter, returns the price at or before the specified timestamp.

Query parameters
timestringOptional

ISO 8601 timestamp. Returns the price at or before this time. Defaults to the latest price.

Supported formats:

  • 2025-10-29 → UTC 00:00:00 on that day
  • 2025-10-29T12:00:00Z → UTC 12:00:00
  • 2025-10-29T20:00:00-07:00 → converted to UTC
Example: 2025-10-06T00:00:00Z
Responses
chevron-right
200

Successful response

application/json
pricenumberOptional

USD* price ratio relative to USD

Example: 1.054169
timestampstring · date-timeOptional

ISO 8601 timestamp of the price record

Example: 2026-03-17T08:14:52.659Z
get
/api/usdstar/price
200

Successful response

Last updated