synthetic
Get Price
🚧 Deprecation notice
This endpoint will be deprecated on 4 November 2026.
Calculates the exchange rate between synthetic (pegged) tokens and protocol tokens. It accepts a specified synthetic token amount and returns the equivalent number of protocol tokens based on current market conditions, providing accurate and reliable pricing data for Synthetix operations.
💡 Compute Unit Value: 40 (Fixed)
get/defi/v1/synthetic/getprice
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/synthetic/getprice
- AuthAPI key in header X-API-Key
Query parameters
syntheticId'6000'
The unique ID to specify the synthetic protocol for queries or transactions.
Example:6000
amountstring required
Amount of Synth tokens, specified in the token's smallest denomination (18 decimal wei). Do not send human-readable decimal values. Example: 1 sUSD = "1000000000000000000".
Example:1000000000000000000
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"peggedToProtocolToken": "22177"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.