Skip to main content
GET
Get token cost

Path Parameters

identifier
string
required

The token's symbol or Solana mint address, such as MEXe, CETES or MEXeQE5UjuusUoyS2KxbUXp6o21YbbBJaNvPMMEfr4y. We match symbols without case.

Query Parameters

max_age
integer<int64>

Maximum age of a source in seconds. Sources older than this are excluded.

Required range: x >= 0

Response

The token's price.

Current pricing for one Etherfuse token: its cost in its currency and in USD, and the exchange rate from each FX provider in sources.

currency
string
required

The currency the token is priced in, as an ISO 4217 code such as MXN.

current_basis_points
integer<int32>
required

The bond's annual rate in basis points, so 554 is 5.54%. Always 0 on a principal token, because the coupon goes to the underlying bond.

current_time
string
required

When we priced the token, RFC 3339.

description
string | null
required

The token's description. Null when we haven't saved the token's metadata.

end_of_life_at
string<date-time> | null
required

When we marked the token end of life, RFC 3339. Null while the token is live.

fiat_exchange_rate_with_usd
string
required

The exchange rate between currency and USD.

image
string | null
required

The token's image URL. A principal token without saved metadata uses the image from its on-chain metadata. Null when we have neither.

sources
object
required

Each FX provider's exchange rate and the USD cost it gives, keyed by our FX provider id.

token_cost_in_fiat
string
required

The token's cost in currency. A principal token holds par with its currency, so 1 MEXe is 1.000000 MXN.

token_cost_in_usd
string
required

The token's cost in USD.

token_kind
enum<string>
required

bond for a stablebond, principal_token for a token that wraps one, such as MEXe, which wraps CETES.

Available options:
bond,
principal_token
token_mint
string
required

The token's own Solana mint address.

token_symbol
string
required

The display symbol, such as CETES or MEXe. The list endpoint keys each token by this value in uppercase.

payment_mint
string

Bonds only: the mint address of the token a purchase settles in. Absent on principal tokens.

underlying_bond_symbol
string

Principal tokens only: the symbol of the bond this token wraps. Absent on bonds.