Rates and Prices
Rate Calculator
Calculate crypto amount and get NGN/GHS rate. This endpoint returns Breet's actual conversion rate for NGN or GHS. Use this endpoint to determine the exact amount you'll receive when converting crypto to NGN or GHS.
post/trades/pbc/sell/rate-calculator/{assetId}
Request
- Base URLhttps://api.breet.io/v1
- AuthAPI key in header x-app-id and API key in header x-app-secret and API key in header X-Breet-Env
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
assetIdstring required
Returned by the fetch assets endpoint.
Request body
Example request
{
"amountInUSD": 1,
"currency": "ngn"
}Response
Rate calculation returned successfully
Changes
No recorded changes to this operation across all 3 revisions of this API.