Skip to content
API Reference

Search is only available in production builds. Try building and previewing the site to test it out locally.

Prices

Read the USD price of each chain's native asset and of the quote tokens launches trade against.

One endpoint returns every price the app needs to value balances: the native asset of each chain, and the quote tokens (stablecoins and other quote assets) grouped by chain.

All prices are integers in micro-USD: 1000002 means $1.000002. Divide by 1000000 to get dollars. The web app polls this endpoint every 15 seconds for the bottom-bar tickers and every USD conversion.

Retrieve prices

Bearer JWT
GET /get-prices

Returns native asset prices per chain and quote token prices per chain, in micro-USD.

Token
Upgraded session token, bound to a license.
Read-only tokens
Allowed.
Retry
Safe to retry

Top-level keys are chain IDs; the current backend sends all seven below, read from its price cache. quotes maps each chain ID to an object keyed by token mint (Solana) or contract address (EVM).

Parameters

No parameters.

Returns 200 OK · application/json

  • sol integer
    SOL price in micro-USD.
  • eth integer
    Ethereum native asset price in micro-USD.
  • bsc integer
    BNB Chain native asset price in micro-USD.
  • base integer
    Base native asset price in micro-USD.
  • robinhood integer
    Robinhood Chain native asset price in micro-USD.
  • arc integer
    Arc native asset price in micro-USD. Arc's native asset is a dollar stablecoin, served at its peg (1000000).
  • xlayer integer
    X Layer native asset price in micro-USD.
  • quotes object
    Quote token prices: { [chain_id]: { [mint_or_address]: micro_usd } }. A quote the backend cannot value is absent rather than 0. The chain's own native asset is never listed here.

Errors

Only the common errors: 401 for a missing or expired session or a base token (license_required) and 429 when rate limited.

Web client proxima.prices.getPrices() src/lib/proxima/endpoints/prices.ts