GET
/
v1-alpha1
/
quote
curl --request GET \
  --url https://staging.crossmint.com/api/v1-alpha1/quote \
  --header 'X-CLIENT-ID: <api-key>'
{
  "currency": "usd",
  "price": 1.23
}

This is an alpha API and subject to change.

Authorizations

X-CLIENT-ID
string
header
required

Query Parameters

chain
enum<string>
default:polygon-amoy
required

The chain in which to quote on.

Available options:
apex,
aptos,
arbitrum,
arbitrum-sepolia,
arbitrumnova,
astar-zkevm,
zkyoto,
base,
base-sepolia,
bsc,
bsc-testnet,
ethereum,
ethereum-sepolia,
optimism,
optimism-sepolia,
polygon,
polygon-amoy,
solana,
skale-nebula,
skale-nebula-testnet,
sui,
zora,
zora-sepolia
nativePrice
string
required

Price in specified chain currency to quote. The chain is derived from the chain your collection is on. If your chain is on the Solana network, the parameter would be the SOL amount, not Lamports.

quoteCurrency
enum<string>
default:usd
required

Price in specified currency to quote

Available options:
usd,
eur,
gbp,
aud,
sgd,
hkd,
krw,
inr,
vnd,
jpy

Response

200
application/json
Success.
currency
string
Example:

"usd"

price
number
Example:

1.23