Skip to content

GET /v1/estimate

Get an estimated conversion amount between currencies. No authentication required.

GET /v1/estimate?amount={amount}&currency_from={from}&currency_to={to}
ParameterTypeRequiredDescription
amountstringYesAmount to convert
currency_fromstringYesSource currency
currency_tostringYesTarget currency
Terminal window
curl "https://api.nearpayments.io/v1/estimate?amount=100&currency_from=usd&currency_to=btc"
{
"currency_from": "usd",
"currency_to": "btc",
"amount_from": 100,
"estimated_amount": "0.00105263"
}