Indicative Pricing - Get real-time, non-persisted price estimates for cryptocurrency transactions.
The price endpoint returns an indicative price that is not stored or locked. It carries no quoteId and cannot be referenced when creating a ramp transaction. For a locked quote that can be used to create a ramp, use the GET /eapi/v0/quote endpoint.
Key Features:
- Real-time market rates
- Includes all fees (processing + network)
- Lock fiat OR crypto amount
Important Notes:
- Prices are indicative and not persisted
- Prices fluctuate with market conditions
- Don't cache prices for more than 1 minute
- Use the Quote endpoint to obtain a locked, referenceable quote
Use Cases:
- Display indicative price to customer
- Transaction previews and fee breakdowns
- UI price tickers and estimates
Request an indicative, non-persisted price. The returned price is a point-in-time estimate and is not stored or locked — it carries no quoteId and cannot be referenced later.
Use this endpoint for display purposes, transaction previews, or fee breakdowns. For a locked price that can be used to create a ramp transaction, use the GET /eapi/v0/quote endpoint instead.
Prices are subject to change based on market volatility and network congestion.
A unique customer identifier provided by you. This field is required and must be unique for each customer. Please ensure you consistently reuse the same identityReference for repeat interactions with the same customer, allowing us to reliably recognize and associate their identity.
The payment method.
| Available payments |
|---|
| debit-credit-card |
| apple-pay |
| sepa-bank-transfer |
| gbp-bank-transfer |
| ach-bank-transfer |
| pix |
| zar-bank-transfer |
| interac-bank-transfer |
| ideal-bank-transfer |
| google-pay |
| payid-bank-transfer |
| wire-transfer |
| spei |
| pse |
| khipu |
| aud-bank-transfer |
| usd-bank-transfer |
| paypal |
| klarna-paynow |
Required without cryptoAmount The amount in fiat currency to convert. Amount in fiat minor precision (typically 2 decimals). This locks the fiat amount; the crypto amount will be computed and rounded to the configured crypto scale. Note: due to differing decimal scales and rounding rules, converting fiat→crypto and then crypto→fiat may not return the exact original number..
- Mock serverhttps://docs.banxa.com/_mock/products/native-api/openapi/eapi/v0/price
- Production environment serverhttps://api.banxa.com/eapi/v0/price
- Sandbox environment serverhttps://api.banxa-sandbox.com/eapi/v0/price
curl -i -X GET \
'https://docs.banxa.com/_mock/products/native-api/openapi/eapi/v0/price?identityReference=c-13344&fiat=AUD&crypto=USDT&method=payid-bank-transfer&blockchain=TRON&transactionType=ONRAMP&fiatAmount=10&cryptoAmount=0.01' \
-H 'Authorization: YOUR_API_KEY_HERE'Prices are subject to change due to market volatility and network congestion, therefore it's not recommended to cache this response for longer than 1 minute.
Indicative price response. This price is not persisted and cannot be used to create a ramp transaction.
A unique customer identifier provided by the partner. This field is required and must be unique for each customer.
Important: You must consistently reuse the same identityReference for repeat interactions with the same customer, allowing Banxa to reliably recognize and associate their identity across multiple transactions.
Format Requirements:
- Only ASCII letters (a-z, A-Z), digits (0-9), and hyphens (-) are allowed
- Must be between 1 and 255 characters
- Case-sensitive
Best Practices:
- Use a consistent format across your system
- Consider using a prefix to identify your organization (e.g., 'partner-customer-123')
- Do not include personally identifiable information (PII) in the reference
- Store the mapping between your internal customer ID and this reference securely
Current market rates for crypto and forex conversions.
Purpose: Provides transparency on the exchange rates used for the quote calculation.
Components:
crypto: Map of fiat currencies to crypto market ratesforex: Foreign exchange rates relative to reference currency
- On-Ramp Indicative Price
- Off-Ramp Indicative Price
- On-ramp quote with fiat amount locked
- On-ramp quote with crypto amount locked
- Off-ramp quote with crypto amount locked
- Off-ramp quote with fiat amount locked
{ "identityReference": "customer-12345", "source": { "fiat": { … }, "amount": "100.00" }, "target": { "crypto": { … }, "amount": "95.50" }, "processingFee": "2.50", "networkFee": "2.00", "marketRate": { "crypto": { … }, "forex": { … } } }